Lines Matching refs:RK_U8

47 static void rearrange_pix(RK_U8 *tmp_line, RK_U8 *base, RK_U32 n)  in rearrange_pix()
70 RK_U8 *base = NULL; in dump_mpp_frame_to_file()
85 base = (RK_U8 *)mpp_buffer_get_ptr(buffer); in dump_mpp_frame_to_file()
101 RK_U8 *base_y = base; in dump_mpp_frame_to_file()
102 RK_U8 *base_c = base + h_stride * v_stride; in dump_mpp_frame_to_file()
103 RK_U8 *tmp = mpp_malloc(RK_U8, h_stride * height * 2); in dump_mpp_frame_to_file()
104 RK_U8 *tmp_u = tmp; in dump_mpp_frame_to_file()
105 RK_U8 *tmp_v = tmp + width * height / 2; in dump_mpp_frame_to_file()
125 RK_U8 *base_y = base; in dump_mpp_frame_to_file()
126 RK_U8 *base_c = base + h_stride * v_stride; in dump_mpp_frame_to_file()
137 RK_U8 *base_y = base; in dump_mpp_frame_to_file()
138 RK_U8 *base_c = base + h_stride * v_stride; in dump_mpp_frame_to_file()
152 RK_U8 *base_y = base; in dump_mpp_frame_to_file()
153 RK_U8 *base_c = base + h_stride * v_stride; in dump_mpp_frame_to_file()
154 RK_U8 *tmp_line = (RK_U8 *)mpp_malloc(RK_U16, width); in dump_mpp_frame_to_file()
178 RK_U8 *base_y = base; in dump_mpp_frame_to_file()
179 RK_U8 *base_c = base + h_stride * v_stride; in dump_mpp_frame_to_file()
180 RK_U8 *tmp = mpp_malloc(RK_U8, h_stride * height * 2); in dump_mpp_frame_to_file()
181 RK_U8 *tmp_u = tmp; in dump_mpp_frame_to_file()
182 RK_U8 *tmp_v = tmp + width * height; in dump_mpp_frame_to_file()
201 RK_U8 *base_y = base; in dump_mpp_frame_to_file()
202 RK_U8 *base_c = base + h_stride * v_stride; in dump_mpp_frame_to_file()
203 RK_U8 *tmp_line = (RK_U8 *)mpp_malloc(RK_U16, width); in dump_mpp_frame_to_file()
226 RK_U8 *base_y = base; in dump_mpp_frame_to_file()
227 RK_U8 *tmp = mpp_malloc(RK_U8, h_stride * height); in dump_mpp_frame_to_file()
239 RK_U8 *base_y = base; in dump_mpp_frame_to_file()
240 RK_U8 *tmp = mpp_malloc(RK_U8, width * height * 4); in dump_mpp_frame_to_file()
258 RK_U8 *base_y = base; in dump_mpp_frame_to_file()
259 RK_U8 *tmp = mpp_malloc(RK_U8, width * height * 2); in dump_mpp_frame_to_file()
268 RK_U8 *base_y = base; in dump_mpp_frame_to_file()
269 RK_U8 *tmp = mpp_malloc(RK_U8, width * height * 3); in dump_mpp_frame_to_file()
282 void wide_bit_sum(RK_U8 *data, RK_U32 len, RK_ULONG *sum) in wide_bit_sum()
284 RK_U8 *data8 = NULL; in wide_bit_sum()
305 void calc_data_crc(RK_U8 *dat, RK_U32 len, DataCrc *crc) in calc_data_crc()
309 RK_U8 *dat8 = NULL; in calc_data_crc()
329 dat8 = (RK_U8 *)&val; in calc_data_crc()
376 RK_U8 *dat8 = NULL; in calc_frm_crc()
383 RK_U8 *buf = (RK_U8 *)mpp_buffer_get_ptr(mpp_frame_get_buffer(frame)); in calc_frm_crc()
481 static MPP_RET read_with_pixel_width(RK_U8 *buf, RK_S32 width, RK_S32 height, in read_with_pixel_width()
512 MPP_RET read_image(RK_U8 *buf, FILE *fp, RK_U32 width, RK_U32 height, in read_image()
518 RK_U8 *buf_y = buf; in read_image()
519 RK_U8 *buf_u = buf_y + hor_stride * ver_stride; // NOTE: diff from gen_yuv_image in read_image()
520 RK_U8 *buf_v = buf_u + hor_stride * ver_stride / 4; // NOTE: diff from gen_yuv_image in read_image()
664 static void fill_MPP_FMT_YUV420SP(RK_U8 *buf, RK_U32 width, RK_U32 height, in fill_MPP_FMT_YUV420SP()
670 RK_U8 *p = buf; in fill_MPP_FMT_YUV420SP()
688 static void fill_MPP_FMT_YUV422SP(RK_U8 *buf, RK_U32 width, RK_U32 height, in fill_MPP_FMT_YUV422SP()
694 RK_U8 *p = buf; in fill_MPP_FMT_YUV422SP()
739 RK_U8 Y = (0 + x + y + frm_cnt * 3); in get_rgb_color()
740 RK_U8 U = (128 + (y / 2) + frm_cnt * 2); in get_rgb_color()
741 RK_U8 V = (64 + (x / 2) + frm_cnt * 5); in get_rgb_color()
752 static void fill_MPP_FMT_RGB565(RK_U8 *p, RK_U32 R, RK_U32 G, RK_U32 B, RK_U32 be) in fill_MPP_FMT_RGB565()
771 static void fill_MPP_FMT_BGR565(RK_U8 *p, RK_U32 R, RK_U32 G, RK_U32 B, RK_U32 be) in fill_MPP_FMT_BGR565()
790 static void fill_MPP_FMT_RGB555(RK_U8 *p, RK_U32 R, RK_U32 G, RK_U32 B, RK_U32 be) in fill_MPP_FMT_RGB555()
809 static void fill_MPP_FMT_BGR555(RK_U8 *p, RK_U32 R, RK_U32 G, RK_U32 B, RK_U32 be) in fill_MPP_FMT_BGR555()
828 static void fill_MPP_FMT_RGB444(RK_U8 *p, RK_U32 R, RK_U32 G, RK_U32 B, RK_U32 be) in fill_MPP_FMT_RGB444()
847 static void fill_MPP_FMT_BGR444(RK_U8 *p, RK_U32 R, RK_U32 G, RK_U32 B, RK_U32 be) in fill_MPP_FMT_BGR444()
866 static void fill_MPP_FMT_RGB888(RK_U8 *p, RK_U32 R, RK_U32 G, RK_U32 B, RK_U32 be) in fill_MPP_FMT_RGB888()
884 static void fill_MPP_FMT_BGR888(RK_U8 *p, RK_U32 R, RK_U32 G, RK_U32 B, RK_U32 be) in fill_MPP_FMT_BGR888()
902 static void fill_MPP_FMT_RGB101010(RK_U8 *p, RK_U32 R, RK_U32 G, RK_U32 B, RK_U32 be) in fill_MPP_FMT_RGB101010()
925 static void fill_MPP_FMT_BGR101010(RK_U8 *p, RK_U32 R, RK_U32 G, RK_U32 B, RK_U32 be) in fill_MPP_FMT_BGR101010()
948 static void fill_MPP_FMT_ARGB8888(RK_U8 *p, RK_U32 R, RK_U32 G, RK_U32 B, RK_U32 be) in fill_MPP_FMT_ARGB8888()
968 static void fill_MPP_FMT_ABGR8888(RK_U8 *p, RK_U32 R, RK_U32 G, RK_U32 B, RK_U32 be) in fill_MPP_FMT_ABGR8888()
988 static void fill_MPP_FMT_BGRA8888(RK_U8 *p, RK_U32 R, RK_U32 G, RK_U32 B, RK_U32 be) in fill_MPP_FMT_BGRA8888()
1008 static void fill_MPP_FMT_RGBA8888(RK_U8 *p, RK_U32 R, RK_U32 G, RK_U32 B, RK_U32 be) in fill_MPP_FMT_RGBA8888()
1028 typedef void (*FillRgbFunc)(RK_U8 *p, RK_U32 R, RK_U32 G, RK_U32 B, RK_U32 be);
1076 MPP_RET fill_image(RK_U8 *buf, RK_U32 width, RK_U32 height, in fill_image()
1081 RK_U8 *buf_y = buf; in fill_image()
1082 RK_U8 *buf_c = buf + hor_stride * ver_stride; in fill_image()
1095 RK_U8 *p = buf_y; in fill_image()
1118 RK_U8 *p = buf_y; in fill_image()
1135 RK_U8 *p = buf_y; in fill_image()
1158 RK_U8 *p = buf_y; in fill_image()
1175 RK_U8 *p = buf_y; in fill_image()
1187 RK_U8 *p = buf_y; in fill_image()
1199 RK_U8 *p = buf_y; in fill_image()
1211 RK_U8 *p = buf_y; in fill_image()
1223 RK_U8 *p = buf_y; in fill_image()
1232 RK_U8 *p = buf_y; in fill_image()
1249 RK_U8 *p = buf_y; in fill_image()
1275 RK_U8 *p = buf_y; in fill_image()
1305 RK_U8 *p = buf_y; in fill_image()
1331 RK_U8 *p = buf_y; in fill_image()