Searched refs:header_size (Results 1 – 5 of 5) sorted by relevance
| /rockchip-linux_mpp/utils/ |
| H A D | utils.c | 525 RK_U32 header_size = 0; in read_image() local 528 header_size = MPP_ALIGN(align_w * align_h / 16, SZ_4K); in read_image() 530 header_size = align_w * align_h / 16; in read_image() 533 read_size = fread(buf, 1, header_size, fp); in read_image() 534 if (read_size != header_size) { in read_image() 536 read_size, header_size); in read_image() 540 buf += header_size; in read_image()
|
| /rockchip-linux_mpp/test/ |
| H A D | mpi_enc_test.c | 114 size_t header_size; member 382 … p->header_size = MPP_ALIGN(MPP_ALIGN(p->width, 16) * MPP_ALIGN(p->height, 16) / 16, SZ_4K); in test_ctx_init() 384 p->header_size = MPP_ALIGN(p->width, 16) * MPP_ALIGN(p->height, 16) / 16; in test_ctx_init() 386 p->header_size = 0; in test_ctx_init() 1157 ret = mpp_buffer_get(p->buf_grp, &p->frm_buf, p->frame_size + p->header_size); in enc_test()
|
| H A D | mpi_enc_mt_test.c | 80 size_t header_size; member 250 p->header_size = MPP_ALIGN(MPP_ALIGN(p->width, 16) * MPP_ALIGN(p->height, 16) / 16, SZ_4K); in mt_test_ctx_init() 252 p->header_size = 0; in mt_test_ctx_init() 537 ret = mpp_buffer_get(p->buf_grp, &p->frm_buf[i], p->frame_size + p->header_size); in mt_test_res_init()
|
| /rockchip-linux_mpp/mpp/hal/rkdec/avs2d/ |
| H A D | hal_avs2d_rkv.c | 996 RK_U32 header_size = 0; in hal_avs2d_rkv_dump_yuv() local 998 header_size = vir_w * vir_h / 16; in hal_avs2d_rkv_dump_yuv() 999 fwrite(base, 1, header_size, fp_stream); in hal_avs2d_rkv_dump_yuv() 1000 base += header_size; in hal_avs2d_rkv_dump_yuv()
|
| H A D | hal_avs2d_vdpu382.c | 1062 RK_U32 header_size = 0; in hal_avs2d_vdpu382_dump_yuv() local 1064 header_size = vir_w * vir_h / 16; in hal_avs2d_vdpu382_dump_yuv() 1065 fwrite(base, 1, header_size, fp_stream); in hal_avs2d_vdpu382_dump_yuv() 1066 base += header_size; in hal_avs2d_vdpu382_dump_yuv()
|