Home
last modified time | relevance | path

Searched refs:dst_rect (Results 1 – 25 of 51) sorted by relevance

123

/OK3568_Linux_fs/external/linux-rga/samples/resize_demo/src/
H A Drga_resize_rect_demo.cpp52 im_rect dst_rect[4]; in main() local
57 memset(&dst_rect, 0, sizeof(dst_rect)); in main()
103 dst_rect[0].x = 0; in main()
104 dst_rect[0].y = 0; in main()
105 dst_rect[0].width = dst_width / 2; in main()
106 dst_rect[0].height = dst_height / 2; in main()
108 dst_rect[1].x = dst_width / 2; in main()
109 dst_rect[1].y = 0; in main()
110 dst_rect[1].width = dst_width / 2; in main()
111 dst_rect[1].height = dst_height / 2; in main()
[all …]
H A Drga_resize_uv_downsampling_demo.cpp60 im_rect src_rect, dst_rect; in local_downsampling_imcvtcolor() local
65 memset(&dst_rect, 0, sizeof(dst_rect)); in local_downsampling_imcvtcolor()
80 dst_rect.x = 0; in local_downsampling_imcvtcolor()
81 dst_rect.y = 0; in local_downsampling_imcvtcolor()
82 dst_rect.width = orig_dst.wstride; in local_downsampling_imcvtcolor()
83 dst_rect.height = orig_dst.hstride; in local_downsampling_imcvtcolor()
85 ret = improcess(src_img, dst_img, {}, src_rect, dst_rect, {}, IM_SYNC); in local_downsampling_imcvtcolor()
114 dst_rect.x = 0; in local_downsampling_imcvtcolor()
115 dst_rect.y = orig_dst.hstride; in local_downsampling_imcvtcolor()
116 dst_rect.width = orig_dst.wstride; in local_downsampling_imcvtcolor()
[all …]
/OK3568_Linux_fs/external/linux-rga/samples/crop_demo/src/
H A Drga_crop_rect_demo.cpp53 im_rect src_rect, dst_rect; in main() local
59 memset(&dst_rect, 0, sizeof(dst_rect)); in main()
111 dst_rect.x = 200; in main()
112 dst_rect.y = 200; in main()
113 dst_rect.width = 200; in main()
114 dst_rect.height = 200; in main()
116 ret = imcheck(src_img, dst_img, src_rect, dst_rect); in main()
122 ret = improcess(src_img, dst_img, {}, src_rect, dst_rect, {}, IM_SYNC); in main()
/OK3568_Linux_fs/external/linux-rga/im2d_api/
H A Dim2d_common.h90 #define imcheck(src, dst, src_rect, dst_rect, ...) \ argument
100 __ret = imcheck_t(src, dst, __pat, src_rect, dst_rect, __pat_rect, 0); \
102 __ret = imcheck_t(src, dst, __pat, src_rect, dst_rect, __pat_rect, __args[0]); \
109 #define imcheck_composite(src, dst, pat, src_rect, dst_rect, pat_rect, ...) \ argument
115 __ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, 0); \
117 __ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, __args[0]); \
125 … const im_rect src_rect, const im_rect dst_rect, const im_rect pat_rect, const int mode_usage);
128 … im_rect *src_rect, im_rect *dst_rect, im_rect *pat_rect, int mode_usage);
/OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/app/src/main/cpp/rga/
H A Dim2d_common.h90 #define imcheck(src, dst, src_rect, dst_rect, ...) \ argument
100 __ret = imcheck_t(src, dst, __pat, src_rect, dst_rect, __pat_rect, 0); \
102 __ret = imcheck_t(src, dst, __pat, src_rect, dst_rect, __pat_rect, __args[0]); \
109 #define imcheck_composite(src, dst, pat, src_rect, dst_rect, pat_rect, ...) \ argument
115 __ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, 0); \
117 __ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, __args[0]); \
125 … const im_rect src_rect, const im_rect dst_rect, const im_rect pat_rect, const int mode_usage);
128 … im_rect *src_rect, im_rect *dst_rect, im_rect *pat_rect, int mode_usage);
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK3588/include/
H A Dim2d_common.h90 #define imcheck(src, dst, src_rect, dst_rect, ...) \ argument
100 __ret = imcheck_t(src, dst, __pat, src_rect, dst_rect, __pat_rect, 0); \
102 __ret = imcheck_t(src, dst, __pat, src_rect, dst_rect, __pat_rect, __args[0]); \
109 #define imcheck_composite(src, dst, pat, src_rect, dst_rect, pat_rect, ...) \ argument
115 __ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, 0); \
117 __ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, __args[0]); \
125 … const im_rect src_rect, const im_rect dst_rect, const im_rect pat_rect, const int mode_usage);
128 … im_rect *src_rect, im_rect *dst_rect, im_rect *pat_rect, int mode_usage);
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK356X/include/
H A Dim2d_common.h90 #define imcheck(src, dst, src_rect, dst_rect, ...) \ argument
100 __ret = imcheck_t(src, dst, __pat, src_rect, dst_rect, __pat_rect, 0); \
102 __ret = imcheck_t(src, dst, __pat, src_rect, dst_rect, __pat_rect, __args[0]); \
109 #define imcheck_composite(src, dst, pat, src_rect, dst_rect, pat_rect, ...) \ argument
115 __ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, 0); \
117 __ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, __args[0]); \
125 … const im_rect src_rect, const im_rect dst_rect, const im_rect pat_rect, const int mode_usage);
128 … im_rect *src_rect, im_rect *dst_rect, im_rect *pat_rect, int mode_usage);
/OK3568_Linux_fs/external/linux-rga/samples/fill_demo/src/
H A Drga_fill_rectangle_demo.cpp48 im_rect dst_rect = {}; in main() local
94 dst_rect.x = 0; in main()
95 dst_rect.y = 0; in main()
96 dst_rect.width = 300; in main()
97 dst_rect.height = 200; in main()
99 ret = imcheck({}, dst, {}, dst_rect, IM_COLOR_FILL); in main()
105 ret = imrectangle(dst, dst_rect, 0xff00ff00, 2); in main()
H A Drga_fill_rectangle_array_demo.cpp48 im_rect dst_rect[4] = {}; in main() local
95 dst_rect[0] = {0, 0, 100, 100}; in main()
96 dst_rect[1] = {50, 50, 150, 150}; in main()
97 dst_rect[2] = {100, 100, 200, 200}; in main()
98 dst_rect[3] = {150, 150, 250, 250}; in main()
101 ret = imcheck({}, dst, {}, dst_rect[i], IM_COLOR_FILL); in main()
108 ret = imrectangleArray(dst, dst_rect, 4, 0xff00ff00, 2); in main()
H A Drga_fill_demo.cpp48 im_rect dst_rect = {}; in main() local
94 dst_rect.x = 0; in main()
95 dst_rect.y = 0; in main()
96 dst_rect.width = 300; in main()
97 dst_rect.height = 200; in main()
99 ret = imcheck({}, dst, {}, dst_rect, IM_COLOR_FILL); in main()
105 ret = imfill(dst, dst_rect, 0xff00ff00); in main()
H A Drga_fill_rectangle_task_demo.cpp48 im_rect dst_rect[2] = {}; in main() local
104 dst_rect[0] = {0, 0, 300, 200}; in main()
106 ret = imcheck({}, dst, {}, dst_rect[0], IM_COLOR_FILL); in main()
112 ret = imrectangleTask(job_handle, dst, dst_rect[0], 0xff00ff00, -1); in main()
121 dst_rect[0] = {100, 100, 300, 200}; in main()
123 ret = imcheck({}, dst, {}, dst_rect[0], IM_COLOR_FILL); in main()
129 ret = imrectangleTask(job_handle, dst, dst_rect[0], 0xffff0000, 4); in main()
/OK3568_Linux_fs/external/linux-rga/samples/allocator_demo/src/
H A Drga_allocator_dma32_demo.cpp49 im_rect dst_rect = {}; in main() local
84 dst_rect.x = 0; in main()
85 dst_rect.y = 0; in main()
86 dst_rect.width = 300; in main()
87 dst_rect.height = 200; in main()
89 ret = imcheck({}, dst, {}, dst_rect, IM_COLOR_FILL); in main()
97 ret = imfill(dst, dst_rect, 0xff00ff00); in main()
H A Drga_allocator_malloc_demo.cpp50 im_rect dst_rect = {}; in main() local
93 ret = imcheck(src, dst, src_rect, dst_rect); in main()
H A Drga_allocator_dma_demo.cpp52 im_rect dst_rect = {}; in main() local
103 ret = imcheck(src, dst, src_rect, dst_rect); in main()
H A Drga_allocator_1106_cma_demo.cpp52 im_rect dst_rect = {}; in main() local
103 ret = imcheck(src, dst, src_rect, dst_rect); in main()
/OK3568_Linux_fs/external/linux-rga/samples/mosaic_demo/src/
H A Drga_mosaic_demo.cpp47 im_rect dst_rect = {}; in main() local
83 dst_rect.x = 0; in main()
84 dst_rect.y = 0; in main()
85 dst_rect.width = 300; in main()
86 dst_rect.height = 200; in main()
88 ret = imcheck({}, dst, {}, dst_rect, IM_MOSAIC); in main()
96 ret = immosaic(dst, dst_rect, IM_MOSAIC_32); in main()
/OK3568_Linux_fs/external/linux-rga/samples/im2d_api_demo/
H A DrgaImDemo.cpp187 im_rect dst_rect; in main() local
209 memset(&dst_rect, 0, sizeof(dst_rect)); in main()
359 ret = imcheck(src, dst, src_rect, dst_rect); in main()
495 ret = imcheck(src, dst, src_rect, dst_rect); in main()
518 ret = imcheck(src, dst, src_rect, dst_rect, IM_CROP); in main()
545 ret = imcheck(src, dst, src_rect, dst_rect, ROTATE); in main()
565 ret = imcheck(src, dst, src_rect, dst_rect); in main()
586 ret = imcheck(src, dst, src_rect, dst_rect); in main()
604 ret = imcheck(src, dst, src_rect, dst_rect); in main()
631 ret = imcheck(src, dst, src_rect, dst_rect); in main()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RV110X/include/
H A Dim2d.h191 #define imcheck(src, dst, src_rect, dst_rect, ...) \ argument
202 … (im_rect *)(&src_rect), (im_rect *)(&dst_rect), (im_rect *)(&__pat_rect), 0); \
203 __ret = imcheck_t(src, dst, __pat, src_rect, dst_rect, __pat_rect, 0); \
206 … (im_rect *)(&src_rect), (im_rect *)(&dst_rect), (im_rect *)(&__pat_rect), __args[0]); \
207 __ret = imcheck_t(src, dst, __pat, src_rect, dst_rect, __pat_rect, __args[0]); \
214 #define imcheck_composite(src, dst, pat, src_rect, dst_rect, pat_rect, ...) \ argument
221 … (im_rect *)(&src_rect), (im_rect *)(&dst_rect), (im_rect *)(&pat_rect), 0); \
222 __ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, 0); \
225 … (im_rect *)(&src_rect), (im_rect *)(&dst_rect), (im_rect *)(&pat_rect), __args[0]); \
226 __ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, __args[0]); \
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_debug.c107 plane_state->dst_rect.x, in pre_surface_trace()
108 plane_state->dst_rect.y, in pre_surface_trace()
109 plane_state->dst_rect.width, in pre_surface_trace()
110 plane_state->dst_rect.height, in pre_surface_trace()
281 update->scaling_info->dst_rect.x, in update_surface_trace()
282 update->scaling_info->dst_rect.y, in update_surface_trace()
283 update->scaling_info->dst_rect.width, in update_surface_trace()
284 update->scaling_info->dst_rect.height, in update_surface_trace()
/OK3568_Linux_fs/kernel/drivers/media/platform/sti/bdisp/
H A Dbdisp-hw.c766 struct v4l2_rect dst_rect = dst->crop; in bdisp_hw_build_node() local
782 dst_rect.left += dst_x_offset; in bdisp_hw_build_node()
783 dst_rect.width = (src_rect.width * dst_width) / ctx->src.crop.width; in bdisp_hw_build_node()
839 dst_rect.height /= 2; in bdisp_hw_build_node()
840 dst_rect.width /= 2; in bdisp_hw_build_node()
841 dst_rect.left /= 2; in bdisp_hw_build_node()
842 dst_rect.top /= 2; in bdisp_hw_build_node()
847 node->txy = cfg->vflip ? (dst_rect.height - 1) : dst_rect.top; in bdisp_hw_build_node()
850 dst_rect.left; in bdisp_hw_build_node()
852 node->tsz = dst_rect.height << 16 | dst_rect.width; in bdisp_hw_build_node()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-benchmark/glmark2/files/
H A D0001-fix-dispmanx-build.patch63 - egl_dispmanx_window.width = dst_rect.width;
64 - egl_dispmanx_window.height = dst_rect.height;
66 + priv->egl_dispmanx_window.width = dst_rect.width;
67 + priv->egl_dispmanx_window.height = dst_rect.height;
/OK3568_Linux_fs/kernel/drivers/video/rockchip/vehicle/
H A Dvehicle_flinger.c526 struct rect *src_rect, *dst_rect; in rk_flinger_cacultae_dst_rect_by_rotation() local
532 dst_rect = &buffer->dst; in rk_flinger_cacultae_dst_rect_by_rotation()
537 dst_rect->x = src_rect->x; in rk_flinger_cacultae_dst_rect_by_rotation()
538 dst_rect->y = src_rect->y; in rk_flinger_cacultae_dst_rect_by_rotation()
539 dst_rect->h = src_rect->w; in rk_flinger_cacultae_dst_rect_by_rotation()
540 dst_rect->w = src_rect->h; in rk_flinger_cacultae_dst_rect_by_rotation()
541 dst_rect->s = src_rect->h; in rk_flinger_cacultae_dst_rect_by_rotation()
548 dst_rect->x = src_rect->x; in rk_flinger_cacultae_dst_rect_by_rotation()
549 dst_rect->y = src_rect->y; in rk_flinger_cacultae_dst_rect_by_rotation()
550 dst_rect->w = src_rect->w; in rk_flinger_cacultae_dst_rect_by_rotation()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/rknn_api_demo/src/
H A Drknn_create_mem_with_rga_demo.cpp158 im_rect dst_rect; in main() local
160 memset(&dst_rect, 0, sizeof(dst_rect)); in main()
277 ret = imcheck(src, dst, src_rect, dst_rect); in main()
/OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_demo/src/
H A Dmain.cc137 im_rect dst_rect; in main() local
139 memset(&dst_rect, 0, sizeof(dst_rect)); in main()
246 ret = imcheck(src, dst, src_rect, dst_rect); in main()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dce60/
H A Ddce60_hw_sequencer.c357 pipe_ctx->plane_state->dst_rect.x, in dce60_program_front_end_for_pipe()
358 pipe_ctx->plane_state->dst_rect.y, in dce60_program_front_end_for_pipe()
359 pipe_ctx->plane_state->dst_rect.width, in dce60_program_front_end_for_pipe()
360 pipe_ctx->plane_state->dst_rect.height, in dce60_program_front_end_for_pipe()

123