Searched refs:chroma_size (Results 1 – 10 of 10) sorted by relevance
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()
358 ctx->chroma_size); in s5p_mfc_handle_frame_new()
951 u32 luma_size, chroma_size; in enc_scratch2_size() local987 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()
155 u32 chroma_size = 0; in start_encode() 166 chroma_size = luma_size / (info->hdiv * info->vdiv); in start_encode() 169 chroma_size = inst->src_fmt.plane_fmt[1].sizeimage; in start_encode() 195 frame_buf.buf_cr = frame_buf.buf_cb + chroma_size; in start_encode() 201 frame_buf.buf_cr = frame_buf.buf_cb + chroma_size; in start_encode() 1315 u32 chroma_size = ALIGN(fb_stride / 2, 16) * fb_height; in prepare_fb() 1317 inst->frame_vbuf[i].size = luma_size + chroma_size; in prepare_fb() 139 u32 chroma_size = 0; start_encode() local 1297 u32 chroma_size = ALIGN(fb_stride / 2, 16) * fb_height; prepare_fb() local
800 unsigned int chroma_size = chroma_h * chroma_w; in fwht_encode_frame() local802 rlco_max = rlco + chroma_size / 2 - 256; in fwht_encode_frame()810 rlco_max = rlco + chroma_size / 2 - 256; in fwht_encode_frame()
885 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()
8385 dc_plane_state->plane_size.chroma_size.height = stream->src.height; in amdgpu_dm_connector_atomic_check() 8386 dc_plane_state->plane_size.chroma_size.width = stream->src.width; in amdgpu_dm_connector_atomic_check()
462 surface->plane1.height = plane_state->plane_size.chroma_size.height; in populate_dml21_surface_config_from_plane_state() 463 surface->plane1.width = plane_state->plane_size.chroma_size.width; in populate_dml21_surface_config_from_plane_state()
927 out->SurfaceHeightC[location] = in->plane_size.chroma_size.height; in populate_dml_surface_cfg_from_plane_state() 928 out->SurfaceWidthC[location] = in->plane_size.chroma_size.width; in populate_dml_surface_cfg_from_plane_state()
1644 pipes[pipe_cnt].pipe.src.surface_width_c = pln->plane_size.chroma_size.width; in dcn20_populate_dml_pipes_from_context() 1645 pipes[pipe_cnt].pipe.src.surface_height_c = pln->plane_size.chroma_size.height; in dcn20_populate_dml_pipes_from_context()