Home
last modified time | relevance | path

Searched refs:fg_format (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/external/linux-rga/samples/alpha_demo/src/
H A Drga_alpha_osd_demo.cpp43 int fg_width, fg_height, fg_format; in main() local
67 fg_format = RK_FORMAT_RGBA_8888; in main()
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()
93 …age_from_file(fg_buf + i * block_size, LOCAL_FILE_PATH, block_witdh, block_height, fg_format, 0)) { in main()
98 output_buf_data_to_file(fg_buf, fg_format, fg_width, fg_height, 0); in main()
112 fg_img = wrapbuffer_handle(fg_handle, fg_width, fg_height, fg_format); in main()
H A Drga_alpha_demo.cpp42 int fg_width, fg_height, fg_format; in main() local
55 fg_format = RK_FORMAT_RGBA_8888; in main()
61 fg_buf_size = fg_width * fg_height * get_bpp_from_format(fg_format); in main()
68 if (0 != read_image_from_file(fg_buf, LOCAL_FILE_PATH, fg_width, fg_height, fg_format, 0)) { in main()
84 fg_img = wrapbuffer_handle(fg_handle, fg_width, fg_height, fg_format); in main()
H A Drga_alpha_3channel_demo.cpp42 int fg_width, fg_height, fg_format; in main() local
57 fg_format = RK_FORMAT_RGBA_8888; in main()
67 fg_buf_size = fg_width * fg_height * get_bpp_from_format(fg_format); in main()
76 if (0 != read_image_from_file(fg_buf, LOCAL_FILE_PATH, fg_width, fg_height, fg_format, 0)) { in main()
94 fg_img = wrapbuffer_handle(fg_handle, fg_width, fg_height, fg_format); in main()
H A Drga_alpha_colorkey_demo.cpp42 int fg_width, fg_height, fg_format; in main() local
57 fg_format = RK_FORMAT_RGBA_8888; in main()
63 fg_buf_size = fg_width * fg_height * get_bpp_from_format(fg_format); in main()
70 if (0 != read_image_from_file(fg_buf, LOCAL_FILE_PATH, fg_width, fg_height, fg_format, 0)) { in main()
114 fg_img = wrapbuffer_handle(fg_handle, fg_width, fg_height, fg_format); in main()
H A Drga_alpha_yuv_demo.cpp42 int fg_width, fg_height, fg_format; in main() local
62 fg_format = RK_FORMAT_YCbCr_420_SP; in main()
72 fg_buf_size = fg_width * fg_height * get_bpp_from_format(fg_format); in main()
81 if (0 != read_image_from_file(fg_buf, LOCAL_FILE_PATH, fg_width, fg_height, fg_format, 0)) { in main()
99 fg_img = wrapbuffer_handle(fg_handle, fg_width, fg_height, fg_format); in main()