Home
last modified time | relevance | path

Searched refs:width_align (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/jpege/
H A Dhal_jpege_vepu1_v2.c199 RK_U32 width_align = MPP_ALIGN(width, 16); in hal_jpege_vepu1_gen_regs() local
231 MPP_SWAP(RK_U32, width_align, ver_stride); in hal_jpege_vepu1_gen_regs()
244 x_fill = (width_align - width) / 4; in hal_jpege_vepu1_gen_regs()
303 ((width_align >> 4) << 19) | in hal_jpege_vepu1_gen_regs()
H A Dhal_jpege_vepu2_v2.c383 RK_U32 width_align = MPP_ALIGN(width, 16); in hal_jpege_vepu2_gen_regs() local
415 MPP_SWAP(RK_U32, width_align, ver_stride); in hal_jpege_vepu2_gen_regs()
427 x_fill = (width_align - width) / 4; in hal_jpege_vepu2_gen_regs()
534 regs[103] = (width_align >> 4) << 8 | in hal_jpege_vepu2_gen_regs()
/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/vp8e/
H A Dhal_vp8e_base.c987 RK_S32 width_align = MPP_ALIGN(set->width, 16); in set_parameter() local
1005 MPP_SWAP(RK_S32, width_align, height_align); in set_parameter()
1011 ctx->mb_per_frame = width_align / 16 * height_align / 16; in set_parameter()
1012 ctx->mb_per_row = width_align / 16; in set_parameter()
1015 sps->pic_width_in_pixel = width_align; in set_parameter()
1017 sps->pic_width_in_mbs = width_align / 16; in set_parameter()
1100 hw_cfg->mbs_in_row = width_align / 16; in set_parameter()
/OK3568_Linux_fs/kernel/drivers/staging/media/ipu3/
H A Dipu3-css.h88 u8 width_align; /* Alignment requirement for width_pad */ member
H A Dipu3-css.c58 .width_align = IPU3_UAPI_ISP_VEC_ELEMS,
68 .width_align = 2 * IPU3_UAPI_ISP_VEC_ELEMS,
77 .width_align = 2 * IPU3_UAPI_ISP_VEC_ELEMS,
86 .width_align = 2 * IPU3_UAPI_ISP_VEC_ELEMS,
95 .width_align = 2 * IPU3_UAPI_ISP_VEC_ELEMS,
152 queue->width_pad = ALIGN(f->width, queue->css_fmt->width_align); in imgu_css_queue_init()
/OK3568_Linux_fs/kernel/drivers/media/platform/coda/
H A Dcoda-jpeg.c163 static const unsigned char width_align[] = { variable
1102 aligned_width = round_up(q_data_src->width, width_align[chroma_format]); in coda9_jpeg_prepare_encode()
1363 aligned_width = round_up(q_data_src->width, width_align[chroma_format]); in coda9_jpeg_prepare_decode()
/OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/h264e/
H A Dhal_h264e_vepu580.c805 RK_S32 width_align = MPP_ALIGN(ctx->cfg->prep.width, 16); in vepu580_h264e_save_pass1_patch() local
809 mpp_buffer_get(NULL, &ctx->buf_pass1, width_align * height_align * 3 / 2); in vepu580_h264e_save_pass1_patch()
821 mpp_dev_multi_offset_update(ctx->offsets, 164, width_align * height_align); in vepu580_h264e_save_pass1_patch()
/OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/h265e/
H A Dhal_h265e_vepu580.c2390 RK_S32 width_align = MPP_ALIGN(width, 64); in vepu580_h265e_save_pass1_patch() local
2394 mpp_buffer_get(NULL, &ctx->buf_pass1, width_align * height_align * 3 / 2); in vepu580_h265e_save_pass1_patch()
2409 mpp_dev_multi_offset_update(ctx->reg_cfg, 164, width_align * height); in vepu580_h265e_save_pass1_patch()