Home
last modified time | relevance | path

Searched refs:dst_handle (Results 1 – 25 of 59) sorted by relevance

123

/OK3568_Linux_fs/external/linux-rga/samples/im2d_api_demo/
H A DrgaImDemo.cpp191 rga_buffer_handle_t dst_handle; in main() local
260 dst_handle = importbuffer_AHardwareBuffer(dst_buf); in main()
261 if (dst_handle <= 0) { in main()
294 dst_handle = importbuffer_GraphicBuffer(dst_buf); in main()
295 if (dst_handle <= 0) { in main()
325 dst_handle = importbuffer_virtualaddr(dst_buf, DST_WIDTH, DST_HEIGHT, DST_FORMAT); in main()
326 if (dst_handle <= 0) { in main()
333 dst = wrapbuffer_handle(dst_handle, DST_WIDTH, DST_HEIGHT, DST_FORMAT); in main()
375 releasebuffer_handle(dst_handle); in main()
376 dst_handle = -1; in main()
[all …]
/OK3568_Linux_fs/external/linux-rga/samples/fill_demo/src/
H A Drga_fill_rectangle_demo.cpp49 rga_buffer_handle_t dst_handle; in main() local
75 dst_handle = importbuffer_fd(dst_dma_fd, dst_buf_size); in main()
76 if (dst_handle == 0) { in main()
82 dst = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
117 if (dst_handle > 0) in main()
118 releasebuffer_handle(dst_handle); in main()
H A Drga_fill_rectangle_array_demo.cpp49 rga_buffer_handle_t dst_handle; in main() local
75 dst_handle = importbuffer_fd(dst_dma_fd, dst_buf_size); in main()
76 if (dst_handle == 0) { in main()
82 dst = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
120 if (dst_handle > 0) in main()
121 releasebuffer_handle(dst_handle); in main()
H A Drga_fill_demo.cpp49 rga_buffer_handle_t dst_handle; in main() local
75 dst_handle = importbuffer_fd(dst_dma_fd, dst_buf_size); in main()
76 if (dst_handle == 0) { in main()
82 dst = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
117 if (dst_handle > 0) in main()
118 releasebuffer_handle(dst_handle); in main()
H A Drga_fill_rectangle_task_demo.cpp49 rga_buffer_handle_t dst_handle; in main() local
76 dst_handle = importbuffer_fd(dst_dma_fd, dst_buf_size); in main()
77 if (dst_handle == 0) { in main()
83 dst = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
153 if (dst_handle > 0) in main()
154 releasebuffer_handle(dst_handle); in main()
H A Drga_fill_rectangle_task_array_demo.cpp50 rga_buffer_handle_t dst_handle; in main() local
77 dst_handle = importbuffer_fd(dst_dma_fd, dst_buf_size); in main()
78 if (dst_handle == 0) { in main()
84 dst = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
165 if (dst_handle > 0) in main()
166 releasebuffer_handle(dst_handle); in main()
/OK3568_Linux_fs/external/linux-rga/samples/allocator_demo/src/
H A Drga_allocator_dma32_demo.cpp50 rga_buffer_handle_t dst_handle; in main() local
75 dst_handle = importbuffer_fd(dst_dma_fd, dst_buf_size); in main()
76 if (dst_handle == 0) { in main()
82 dst = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
109 if (dst_handle > 0) in main()
110 releasebuffer_handle(dst_handle); in main()
H A Drga_allocator_malloc_demo.cpp51 rga_buffer_handle_t src_handle, dst_handle; in main() local
83 dst_handle = importbuffer_virtualaddr(dst_buf, dst_buf_size); in main()
84 if (src_handle == 0 || dst_handle == 0) { in main()
91 dst = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
115 if (dst_handle > 0) in main()
116 releasebuffer_handle(dst_handle); in main()
H A Drga_allocator_dma_demo.cpp53 rga_buffer_handle_t src_handle, dst_handle; in main() local
93 dst_handle = importbuffer_fd(dst_dma_fd, dst_buf_size); in main()
94 if (src_handle == 0 || dst_handle == 0) { in main()
101 dst = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
125 if (dst_handle > 0) in main()
126 releasebuffer_handle(dst_handle); in main()
H A Drga_allocator_1106_cma_demo.cpp53 rga_buffer_handle_t src_handle, dst_handle; in main() local
93 dst_handle = importbuffer_fd(dst_dma_fd, dst_buf_size); in main()
94 if (src_handle == 0 || dst_handle == 0) { in main()
101 dst = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
125 if (dst_handle > 0) in main()
126 releasebuffer_handle(dst_handle); in main()
/OK3568_Linux_fs/external/linux-rga/samples/mosaic_demo/src/
H A Drga_mosaic_demo.cpp48 rga_buffer_handle_t dst_handle; in main() local
64 dst_handle = importbuffer_virtualaddr(dst_buf, dst_buf_size); in main()
65 if (dst_handle == 0) { in main()
71 dst = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
108 if (dst_handle > 0) in main()
109 releasebuffer_handle(dst_handle); in main()
/OK3568_Linux_fs/external/linux-rga/samples/copy_demo/src/
H A Drga_copy_demo.cpp52 rga_buffer_handle_t src_handle, dst_handle; in main() local
79 dst_handle = importbuffer_virtualaddr(dst_buf, dst_buf_size); in main()
80 if (src_handle == 0 || dst_handle == 0) { in main()
86 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
117 if (dst_handle) in main()
118 releasebuffer_handle(dst_handle); in main()
/OK3568_Linux_fs/external/linux-rga/samples/cvtcolor_demo/src/
H A Drga_cvtcolor_csc_demo.cpp53 rga_buffer_handle_t src_handle, dst_handle; in main() local
80 dst_handle = importbuffer_virtualaddr(dst_buf, dst_buf_size); in main()
81 if (src_handle == 0 || dst_handle == 0) { in main()
87 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
108 if (dst_handle) in main()
109 releasebuffer_handle(dst_handle); in main()
H A Drga_cvtcolor_demo.cpp53 rga_buffer_handle_t src_handle, dst_handle; in main() local
80 dst_handle = importbuffer_virtualaddr(dst_buf, dst_buf_size); in main()
81 if (src_handle == 0 || dst_handle == 0) { in main()
87 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
108 if (dst_handle) in main()
109 releasebuffer_handle(dst_handle); in main()
H A Drga_cvtcolor_gray256_demo.cpp53 rga_buffer_handle_t src_handle, dst_handle; in main() local
80 dst_handle = importbuffer_virtualaddr(dst_buf, dst_buf_size); in main()
81 if (src_handle == 0 || dst_handle == 0) { in main()
87 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
115 if (dst_handle) in main()
116 releasebuffer_handle(dst_handle); in main()
/OK3568_Linux_fs/external/linux-rga/samples/transform_demo/src/
H A Drga_transform_rotate_flip_demo.cpp53 rga_buffer_handle_t src_handle, dst_handle; in main() local
80 dst_handle = importbuffer_virtualaddr(dst_buf, dst_buf_size); in main()
81 if (src_handle == 0 || dst_handle == 0) { in main()
87 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
119 if (dst_handle) in main()
120 releasebuffer_handle(dst_handle); in main()
H A Drga_transform_flip_demo.cpp53 rga_buffer_handle_t src_handle, dst_handle; in main() local
80 dst_handle = importbuffer_virtualaddr(dst_buf, dst_buf_size); in main()
81 if (src_handle == 0 || dst_handle == 0) { in main()
87 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
118 if (dst_handle) in main()
119 releasebuffer_handle(dst_handle); in main()
H A Drga_transform_rotate_demo.cpp53 rga_buffer_handle_t src_handle, dst_handle; in main() local
80 dst_handle = importbuffer_virtualaddr(dst_buf, dst_buf_size); in main()
81 if (src_handle == 0 || dst_handle == 0) { in main()
87 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
119 if (dst_handle) in main()
120 releasebuffer_handle(dst_handle); in main()
/OK3568_Linux_fs/external/linux-rga/samples/resize_demo/src/
H A Drga_resize_demo.cpp53 rga_buffer_handle_t src_handle, dst_handle; in main() local
80 dst_handle = importbuffer_virtualaddr(dst_buf, dst_buf_size); in main()
81 if (src_handle == 0 || dst_handle == 0) { in main()
87 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
119 if (dst_handle) in main()
120 releasebuffer_handle(dst_handle); in main()
/OK3568_Linux_fs/external/linux-rga/samples/rop_demo/src/
H A Drga_rop_demo.cpp53 rga_buffer_handle_t src_handle, dst_handle; in main() local
80 dst_handle = importbuffer_virtualaddr(dst_buf, dst_buf_size); in main()
81 if (src_handle == 0 || dst_handle == 0) { in main()
87 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
118 if (dst_handle) in main()
119 releasebuffer_handle(dst_handle); in main()
/OK3568_Linux_fs/external/linux-rga/samples/config_demo/src/
H A Drga_config_thread_core_demo.cpp52 rga_buffer_handle_t src_handle, dst_handle; in main() local
79 dst_handle = importbuffer_virtualaddr(dst_buf, dst_buf_size); in main()
80 if (src_handle == 0 || dst_handle == 0) { in main()
86 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
111 if (dst_handle) in main()
112 releasebuffer_handle(dst_handle); in main()
H A Drga_config_single_core_demo.cpp52 rga_buffer_handle_t src_handle, dst_handle; in main() local
81 dst_handle = importbuffer_virtualaddr(dst_buf, dst_buf_size); in main()
82 if (src_handle == 0 || dst_handle == 0) { in main()
88 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
111 if (dst_handle) in main()
112 releasebuffer_handle(dst_handle); in main()
/OK3568_Linux_fs/external/linux-rga/samples/crop_demo/src/
H A Drga_crop_demo.cpp54 rga_buffer_handle_t src_handle, dst_handle; in main() local
82 dst_handle = importbuffer_virtualaddr(dst_buf, dst_buf_size); in main()
83 if (src_handle == 0 || dst_handle == 0) { in main()
89 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
126 if (dst_handle) in main()
127 releasebuffer_handle(dst_handle); in main()
H A Drga_crop_rect_demo.cpp54 rga_buffer_handle_t src_handle, dst_handle; in main() local
83 dst_handle = importbuffer_virtualaddr(dst_buf, dst_buf_size); in main()
84 if (src_handle == 0 || dst_handle == 0) { in main()
90 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
135 if (dst_handle) in main()
136 releasebuffer_handle(dst_handle); in main()
/OK3568_Linux_fs/external/linux-rga/samples/padding_demo/src/
H A Drga_padding_demo.cpp54 rga_buffer_handle_t src_handle, dst_handle; in main() local
86 dst_handle = importbuffer_virtualaddr(dst_buf, dst_buf_size); in main()
87 if (src_handle == 0 || dst_handle == 0) { in main()
93 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main()
130 if (dst_handle) in main()
131 releasebuffer_handle(dst_handle); in main()

123