Searched refs:chroma_size (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/media/platform/samsung/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.c | 358 ctx->chroma_size); in s5p_mfc_handle_frame_new()
|
| /linux/drivers/media/platform/qcom/venus/ |
| H A D | hfi_plat_bufs_v6.c | 951 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/test-drivers/vicodec/ |
| H A D | codec-fwht.c | 800 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 D | amdgpu_dm_plane.c | 1156 plane_size->chroma_size.x = 0; in amdgpu_dm_plane_fill_plane_buffer_attributes() 1157 plane_size->chroma_size.y = 0; in amdgpu_dm_plane_fill_plane_buffer_attributes() 1159 plane_size->chroma_size.width = fb->width / 2; in amdgpu_dm_plane_fill_plane_buffer_attributes() 1160 plane_size->chroma_size.height = fb->height / 2; in amdgpu_dm_plane_fill_plane_buffer_attributes()
|
| H A D | amdgpu_dm_connector.c | 2202 dc_plane_state->plane_size.chroma_size.height = stream->src.height; in dm_validate_stream_and_context() 2203 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/ |
| H A D | dml2_translation_helper.c | 928 out->SurfaceHeightC[location] = in->plane_size.chroma_size.height; in populate_dml_surface_cfg_from_plane_state() 929 out->SurfaceWidthC[location] = in->plane_size.chroma_size.width; in populate_dml_surface_cfg_from_plane_state()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/ |
| H A D | amdgpu_dm_plane_test.c | 2156 KUNIT_EXPECT_EQ(test, plane_size.chroma_size.width, 960U); in dm_test_fill_plane_buffer_attributes_video() 2157 KUNIT_EXPECT_EQ(test, plane_size.chroma_size.height, 540U); in dm_test_fill_plane_buffer_attributes_video()
|