Home
last modified time | relevance | path

Searched refs:chroma_size (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_opr_v5.c71 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 Ds5p_mfc.c358 ctx->chroma_size); in s5p_mfc_handle_frame_new()
/linux/drivers/media/platform/qcom/venus/
H A Dhfi_plat_bufs_v6.c951 u32 luma_size, chroma_size; in enc_scratch2_size() local
987 chroma_size = ref_stride * ref_chroma_height_bytes; in enc_scratch2_size()
989 chroma_size = (chroma_size + (SZ_4K - 1)) & (~(SZ_4K - 1)); in enc_scratch2_size()
990 ref_buf_size = luma_size + chroma_size; in enc_scratch2_size()
/linux/drivers/media/platform/chips-media/wave5/
H A Dwave5-vpu-enc.c139 u32 chroma_size = 0; in start_encode() local
150 chroma_size = luma_size / (info->hdiv * info->vdiv); in start_encode()
153 chroma_size = inst->src_fmt.plane_fmt[1].sizeimage; in start_encode()
179 frame_buf.buf_cr = frame_buf.buf_cb + chroma_size; in start_encode()
185 frame_buf.buf_cr = frame_buf.buf_cb + chroma_size; in start_encode()
1297 u32 chroma_size = ALIGN(fb_stride / 2, 16) * fb_height; in prepare_fb() local
1299 inst->frame_vbuf[i].size = luma_size + chroma_size; in prepare_fb()
/linux/drivers/media/test-drivers/vicodec/
H A Dcodec-fwht.c800 unsigned int chroma_size = chroma_h * chroma_w; in fwht_encode_frame() local
802 rlco_max = rlco + chroma_size / 2 - 256; in fwht_encode_frame()
810 rlco_max = rlco + chroma_size / 2 - 256; in fwht_encode_frame()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.c885 plane_size->chroma_size.x = 0; in amdgpu_dm_plane_fill_plane_buffer_attributes()
886 plane_size->chroma_size.y = 0; in amdgpu_dm_plane_fill_plane_buffer_attributes()
888 plane_size->chroma_size.width = fb->width / 2; in amdgpu_dm_plane_fill_plane_buffer_attributes()
889 plane_size->chroma_size.height = fb->height / 2; in amdgpu_dm_plane_fill_plane_buffer_attributes()
H A Damdgpu_dm.c8122 dc_plane_state->plane_size.chroma_size.height = stream->src.height; in dm_validate_stream_and_context()
8123 dc_plane_state->plane_size.chroma_size.width = stream->src.width; in dm_validate_stream_and_context()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/
H A Ddml21_translation_helper.c452 surface->plane1.height = plane_state->plane_size.chroma_size.height; in populate_dml21_surface_config_from_plane_state()
453 surface->plane1.width = plane_state->plane_size.chroma_size.width; in populate_dml21_surface_config_from_plane_state()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/
H A Ddml2_translation_helper.c923 out->SurfaceHeightC[location] = in->plane_size.chroma_size.height; in populate_dml_surface_cfg_from_plane_state()
924 out->SurfaceWidthC[location] = in->plane_size.chroma_size.width; in populate_dml_surface_cfg_from_plane_state()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.c1635 pipes[pipe_cnt].pipe.src.surface_width_c = pln->plane_size.chroma_size.width; in dcn20_populate_dml_pipes_from_context()
1636 pipes[pipe_cnt].pipe.src.surface_height_c = pln->plane_size.chroma_size.height; in dcn20_populate_dml_pipes_from_context()