| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dce110/ |
| H A D | dce110_mem_input_v.c | 244 swap(local_size.chroma_size.x, in program_size_and_rotation() 245 local_size.chroma_size.y); in program_size_and_rotation() 246 swap(local_size.chroma_size.width, in program_size_and_rotation() 247 local_size.chroma_size.height); in program_size_and_rotation() 309 set_reg_field_value(value, local_size.chroma_size.x + in program_size_and_rotation() 310 local_size.chroma_size.width, in program_size_and_rotation() 327 set_reg_field_value(value, local_size.chroma_size.y + in program_size_and_rotation() 328 local_size.chroma_size.height, in program_size_and_rotation()
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/sunxi/cedrus/ |
| H A D | cedrus_hw.c | 82 u32 chroma_size; in cedrus_dst_format_set() local 87 chroma_size = ALIGN(width, 16) * ALIGN(height, 16) / 2; in cedrus_dst_format_set() 92 reg = chroma_size / 2; in cedrus_dst_format_set()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/s5p-mfc/ |
| H A D | s5p_mfc_opr_v5.c | 71 ctx->luma_size, ctx->chroma_size, ctx->mv_size); in s5p_mfc_alloc_codec_buffers_v5() 288 ctx->chroma_size = ALIGN(ctx->buf_width * in s5p_mfc_dec_calc_dpb_size_v5() 309 ctx->chroma_size = ALIGN(guard_width * guard_height, in s5p_mfc_dec_calc_dpb_size_v5() 323 ctx->chroma_size = ALIGN(ctx->img_width, S5P_FIMV_NV12M_HALIGN) in s5p_mfc_enc_calc_src_size_v5() 327 ctx->chroma_size = in s5p_mfc_enc_calc_src_size_v5() 328 ALIGN(ctx->chroma_size, S5P_FIMV_NV12M_SALIGN); in s5p_mfc_enc_calc_src_size_v5() 334 ctx->chroma_size = in s5p_mfc_enc_calc_src_size_v5() 339 ctx->chroma_size = in s5p_mfc_enc_calc_src_size_v5() 340 ALIGN(ctx->chroma_size, S5P_FIMV_NV12MT_SALIGN); in s5p_mfc_enc_calc_src_size_v5() 467 frame_size_ch = ctx->chroma_size; in s5p_mfc_set_dec_frame_buffer_v5()
|
| H A D | s5p_mfc_opr_v6.c | 72 ctx->luma_size, ctx->chroma_size, ctx->mv_size); in s5p_mfc_alloc_codec_buffers_v6() 446 ctx->chroma_size = calc_plane(ctx->img_width, (ctx->img_height >> 1)); in s5p_mfc_dec_calc_dpb_size_v6() 450 ctx->chroma_size += S5P_FIMV_D_ALIGN_PLANE_SIZE_V8; in s5p_mfc_dec_calc_dpb_size_v6() 480 ctx->chroma_size = ALIGN((mb_width * mb_height) * 128, 256); in s5p_mfc_enc_calc_src_size_v6() 485 ctx->chroma_size += MFC_CHROMA_PAD_BYTES_V7; in s5p_mfc_enc_calc_src_size_v6() 531 writel(ctx->chroma_size, mfc_regs->d_second_plane_dpb_size); in s5p_mfc_set_dec_frame_buffer_v6() 554 frame_size_ch = ctx->chroma_size; in s5p_mfc_set_dec_frame_buffer_v6()
|
| H A D | s5p_mfc_dec.c | 349 pix_mp->plane_fmt[1].sizeimage = ctx->chroma_size; in vidioc_g_fmt() 941 psize[1] = ctx->chroma_size; in s5p_mfc_queue_setup() 977 vb2_plane_size(vb, 1) < ctx->chroma_size) { in s5p_mfc_buf_init()
|
| H A D | s5p_mfc_enc.c | 1380 pix_fmt_mp->plane_fmt[1].sizeimage = ctx->chroma_size; in vidioc_g_fmt() 1465 pix_fmt_mp->plane_fmt[1].sizeimage = ctx->chroma_size; in vidioc_s_fmt() 2409 psize[1] = ctx->chroma_size; in s5p_mfc_queue_setup() 2483 vb2_plane_size(vb, 1), ctx->chroma_size); in s5p_mfc_buf_prepare() 2485 vb2_plane_size(vb, 1) < ctx->chroma_size) { in s5p_mfc_buf_prepare()
|
| H A D | s5p_mfc_common.h | 649 int chroma_size; member
|
| H A D | s5p_mfc.c | 346 ctx->chroma_size); in s5p_mfc_handle_frame_new()
|
| /OK3568_Linux_fs/kernel/drivers/media/test-drivers/vicodec/ |
| H A D | codec-fwht.c | 799 unsigned int chroma_size = chroma_h * chroma_w; in fwht_encode_frame() local 801 rlco_max = rlco + chroma_size / 2 - 256; in fwht_encode_frame() 809 rlco_max = rlco + chroma_size / 2 - 256; in fwht_encode_frame()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/ |
| H A D | dc_hw_types.h | 151 struct rect chroma_size; member
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/vpu/av1d/ |
| H A D | hal_av1d_vdpu.c | 94 RK_U32 chroma_size; member 791 RK_U32 mv_offset = ctx->luma_size + ctx->chroma_size + 64; in vdpu_av1d_set_reference_frames() 1846 RK_U32 chroma_size = luma_size / 2; in vdpu_av1d_gen_regs() local 1850 ctx->chroma_size = chroma_size; in vdpu_av1d_gen_regs() 1851 ctx->tile_out_size = luma_size + chroma_size + dir_mvs_size + 512; in vdpu_av1d_gen_regs()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm.c | 3953 plane_size->chroma_size.x = 0; in fill_plane_buffer_attributes() 3954 plane_size->chroma_size.y = 0; in fill_plane_buffer_attributes() 3956 plane_size->chroma_size.width = fb->width / 2; in fill_plane_buffer_attributes() 3957 plane_size->chroma_size.height = fb->height / 2; in fill_plane_buffer_attributes()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn20/ |
| H A D | dcn20_resource.c | 2292 pipes[pipe_cnt].pipe.src.surface_width_c = pln->plane_size.chroma_size.width; 2293 pipes[pipe_cnt].pipe.src.surface_height_c = pln->plane_size.chroma_size.height;
|