| /OK3568_Linux_fs/external/linux-rga/samples/im2d_slt/sources/ |
| H A D | rga_im2d_slt.cpp | 69 float bpp = get_bpp_from_format(f); in get_buf_size_by_w_h_f() 178 buf_size = width * height * get_bpp_from_format(format); in GraphicBuffer_Fill() 250 …drm_src.drm_buf = (uint8_t *)drm_buf_alloc(srcWidth, srcHeight, get_bpp_from_format(srcFormat) * 8, in pthread_rga_run() 253 …drm_dst.drm_buf = (uint8_t *)drm_buf_alloc(dstWidth, dstHeight, get_bpp_from_format(dstFormat) * 8, in pthread_rga_run() 267 memset(dst_va, 0xff, dstWidth * dstHeight * get_bpp_from_format(dstFormat)); in pthread_rga_run() 269 …_src.drm_buf = (uint8_t *)drm_buf_alloc(srcWidth, srcHeight * 1.5, get_bpp_from_format(srcFormat) … in pthread_rga_run() 272 …_dst.drm_buf = (uint8_t *)drm_buf_alloc(dstWidth, dstHeight * 1.5, get_bpp_from_format(dstFormat) … in pthread_rga_run() 286 memset(dst_va, 0xff, dstWidth * dstHeight * 1.5 * get_bpp_from_format(dstFormat)); in pthread_rga_run() 359 memset(dst_va, 0xff, dstWidth * dstHeight * get_bpp_from_format(dstFormat)); in pthread_rga_run() 421 … ret = memcmp(src_va, dst_va, dst.wstride * dst.hstride * get_bpp_from_format(dst.format)); in pthread_rga_run()
|
| H A D | dma_alloc.cpp | 117 buf_data.len = width * height * get_bpp_from_format(format); in dma_buf_alloc() 147 len = width * height * get_bpp_from_format(format); in dma_buf_free()
|
| /OK3568_Linux_fs/external/linux-rga/samples/utils/ |
| H A D | utils.cpp | 121 size = sw * sh * get_bpp_from_format(fmt) * 1.5; in read_image_from_fbc_file() 144 size = sw * sh * get_bpp_from_format(fmt); in read_image_from_file() 169 size = sw * sh * get_bpp_from_format(fmt) * 1.5; in write_image_to_fbc_file() 194 size = sw * sh * get_bpp_from_format(fmt); in write_image_to_file()
|
| /OK3568_Linux_fs/external/linux-rga/samples/resize_demo/src/ |
| H A D | rga_resize_uv_downsampling_demo.cpp | 68 … orig_src.wstride, orig_src.hstride * get_bpp_from_format(orig_src.format), in local_downsampling_imcvtcolor() 71 … orig_dst.wstride, orig_dst.hstride * get_bpp_from_format(orig_dst.format), in local_downsampling_imcvtcolor() 155 src_buf_size = src_width * src_height * get_bpp_from_format(src_format); in main() 156 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main()
|
| H A D | rga_resize_demo.cpp | 66 src_buf_size = src_width * src_height * get_bpp_from_format(src_format); in main() 67 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main()
|
| /OK3568_Linux_fs/external/linux-rga/samples/alpha_demo/src/ |
| H A D | rga_alpha_3channel_demo.cpp | 67 fg_buf_size = fg_width * fg_height * get_bpp_from_format(fg_format); in main() 68 bg_buf_size = bg_width * bg_height * get_bpp_from_format(bg_format); in main() 69 output_buf_size = output_width * output_height * get_bpp_from_format(output_format); in main()
|
| H A D | rga_alpha_yuv_demo.cpp | 72 fg_buf_size = fg_width * fg_height * get_bpp_from_format(fg_format); in main() 73 bg_buf_size = bg_width * bg_height * get_bpp_from_format(bg_format); in main() 74 output_buf_size = output_width * output_height * get_bpp_from_format(output_format); in main()
|
| H A D | rga_alpha_osd_demo.cpp | 73 block_size = block_witdh * block_height * get_bpp_from_format(fg_format); in main() 74 fg_buf_size = fg_width * fg_height * get_bpp_from_format(fg_format); in main() 75 bg_buf_size = bg_width * bg_height * get_bpp_from_format(bg_format); in main()
|
| H A D | rga_alpha_demo.cpp | 61 fg_buf_size = fg_width * fg_height * get_bpp_from_format(fg_format); in main() 62 bg_buf_size = bg_width * bg_height * get_bpp_from_format(bg_format); in main()
|
| /OK3568_Linux_fs/external/linux-rga/samples/async_demo/src/ |
| H A D | rga_async_demo.cpp | 73 src_buf_size = src_width * src_height * get_bpp_from_format(src_format); in main() 74 tmp_buf_size = tmp_width * tmp_height * get_bpp_from_format(tmp_format); in main() 75 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main()
|
| /OK3568_Linux_fs/external/linux-rga/samples/copy_demo/src/ |
| H A D | rga_copy_splice_demo.cpp | 74 left_buf_size = left_width * left_height * get_bpp_from_format(left_format); in main() 75 right_buf_size = right_width * right_height * get_bpp_from_format(right_format); in main() 76 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main()
|
| H A D | rga_copy_splice_task_demo.cpp | 76 left_buf_size = left_width * left_height * get_bpp_from_format(left_format); in main() 77 right_buf_size = right_width * right_height * get_bpp_from_format(right_format); in main() 78 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main()
|
| H A D | rga_copy_demo.cpp | 65 src_buf_size = src_width * src_height * get_bpp_from_format(src_format); in main() 66 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main()
|
| /OK3568_Linux_fs/external/linux-rga/samples/im2d_api_demo/ |
| H A D | rgaImDemo.cpp | 301 src_buf = (char*)malloc(SRC_WIDTH*SRC_HEIGHT*get_bpp_from_format(SRC_FORMAT)); in main() 302 dst_buf = (char*)malloc(DST_WIDTH*DST_HEIGHT*get_bpp_from_format(DST_FORMAT)); in main() 317 memset(dst_buf,0x00,DST_WIDTH*DST_HEIGHT*get_bpp_from_format(DST_FORMAT)); in main() 419 dst_buf = (char*)malloc(1920*1080*get_bpp_from_format(DST_FORMAT)); in main() 421 memset(dst_buf,0x00,1920*1080*get_bpp_from_format(DST_FORMAT)); in main() 477 dst_buf = (char*)malloc(720*480*get_bpp_from_format(DST_FORMAT)); in main() 479 memset(dst_buf,0x00,720*480*get_bpp_from_format(DST_FORMAT)); in main()
|
| /OK3568_Linux_fs/external/linux-rga/samples/cvtcolor_demo/src/ |
| H A D | rga_cvtcolor_csc_demo.cpp | 66 src_buf_size = src_width * src_height * get_bpp_from_format(src_format); in main() 67 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main()
|
| H A D | rga_cvtcolor_demo.cpp | 66 src_buf_size = src_width * src_height * get_bpp_from_format(src_format); in main() 67 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main()
|
| H A D | rga_cvtcolor_gray256_demo.cpp | 66 src_buf_size = src_width * src_height * get_bpp_from_format(src_format); in main() 67 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main()
|
| /OK3568_Linux_fs/external/linux-rga/samples/transform_demo/src/ |
| H A D | rga_transform_rotate_flip_demo.cpp | 66 src_buf_size = src_width * src_height * get_bpp_from_format(src_format); in main() 67 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main()
|
| H A D | rga_transform_flip_demo.cpp | 66 src_buf_size = src_width * src_height * get_bpp_from_format(src_format); in main() 67 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main()
|
| H A D | rga_transform_rotate_demo.cpp | 66 src_buf_size = src_width * src_height * get_bpp_from_format(src_format); in main() 67 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main()
|
| /OK3568_Linux_fs/external/linux-rga/samples/rop_demo/src/ |
| H A D | rga_rop_demo.cpp | 66 src_buf_size = src_width * src_height * get_bpp_from_format(src_format); in main() 67 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main()
|
| /OK3568_Linux_fs/external/linux-rga/samples/config_demo/src/ |
| H A D | rga_config_thread_core_demo.cpp | 65 src_buf_size = src_width * src_height * get_bpp_from_format(src_format); in main() 66 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main()
|
| H A D | rga_config_single_core_demo.cpp | 67 src_buf_size = src_width * src_height * get_bpp_from_format(src_format); in main() 68 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main()
|
| /OK3568_Linux_fs/external/linux-rga/samples/crop_demo/src/ |
| H A D | rga_crop_demo.cpp | 68 src_buf_size = src_width * src_height * get_bpp_from_format(src_format); in main() 69 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main()
|
| /OK3568_Linux_fs/external/linux-rga/samples/allocator_demo/src/ |
| H A D | rga_allocator_malloc_demo.cpp | 61 src_buf_size = src_width * src_height * get_bpp_from_format(src_format); in main() 62 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main()
|