/linux-master/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_hw.c | 84 u32 chroma_size; local 89 chroma_size = ALIGN(width, 16) * ALIGN(height, 16) / 2; 94 reg = chroma_size / 2;
|
/linux-master/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_mem_input_v.c | 245 swap(local_size.chroma_size.x, 246 local_size.chroma_size.y); 247 swap(local_size.chroma_size.width, 248 local_size.chroma_size.height); 310 set_reg_field_value(value, local_size.chroma_size.x + 311 local_size.chroma_size.width, 328 set_reg_field_value(value, local_size.chroma_size.y + 329 local_size.chroma_size.height,
|
/linux-master/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_opr_v5.c | 71 ctx->luma_size, ctx->chroma_size, ctx->mv_size); 288 ctx->chroma_size = ALIGN(ctx->buf_width * 309 ctx->chroma_size = ALIGN(guard_width * guard_height, 323 ctx->chroma_size = ALIGN(ctx->img_width, S5P_FIMV_NV12M_HALIGN) 327 ctx->chroma_size = 328 ALIGN(ctx->chroma_size, S5P_FIMV_NV12M_SALIGN); 334 ctx->chroma_size = 339 ctx->chroma_size = 340 ALIGN(ctx->chroma_size, S5P_FIMV_NV12MT_SALIGN); 467 frame_size_ch = ctx->chroma_size; [all...] |
H A D | s5p_mfc_opr_v6.c | 74 ctx->luma_size, ctx->chroma_size, ctx->mv_size); 502 ctx->chroma_size = calc_plane(ctx->stride[1], (ctx->img_height / 2)); 510 ctx->chroma_size = calc_plane(ctx->stride[1], (ctx->img_height / 2)); 518 ctx->chroma_size += S5P_FIMV_D_ALIGN_PLANE_SIZE_V8; 553 ctx->chroma_size = ctx->stride[0] * ALIGN(ctx->img_height / 2, 16); 561 ctx->chroma_size = ctx->stride[1] * ALIGN(ctx->img_height / 2, 16); 566 ctx->chroma_size += MFC_CHROMA_PAD_BYTES_V12; 573 ctx->chroma_size = ALIGN((mb_width * mb_height) * 128, 256); 578 ctx->chroma_size += MFC_LUMA_PAD_BYTES_V7; 625 writel(ctx->chroma_size, mfc_reg [all...] |
H A D | s5p_mfc_dec.c | 379 pix_mp->plane_fmt[1].sizeimage = ctx->chroma_size; 983 psize[1] = ctx->chroma_size; 1023 vb2_plane_size(vb, 1) < ctx->chroma_size) {
|
H A D | s5p_mfc_common.h | 573 * @chroma_size: size of a chroma plane 664 int chroma_size; member in struct:s5p_mfc_ctx
|
H A D | s5p_mfc_enc.c | 1418 pix_fmt_mp->plane_fmt[1].sizeimage = ctx->chroma_size; 1511 pix_fmt_mp->plane_fmt[1].sizeimage = ctx->chroma_size; 2452 psize[1] = ctx->chroma_size; 2539 vb2_plane_size(vb, 1), ctx->chroma_size); 2541 vb2_plane_size(vb, 1) < ctx->chroma_size) {
|
H A D | s5p_mfc.c | 358 ctx->chroma_size);
|
/linux-master/drivers/media/platform/qcom/venus/ |
H A D | hfi_plat_bufs_v6.c | 951 u32 luma_size, chroma_size; local 987 chroma_size = ref_stride * ref_chroma_height_bytes; 989 chroma_size = (chroma_size + (SZ_4K - 1)) & (~(SZ_4K - 1)); 990 ref_buf_size = luma_size + chroma_size;
|
/linux-master/drivers/media/platform/chips-media/wave5/ |
H A D | wave5-vpu-dec.c | 1054 int luma_size, chroma_size; local 1070 chroma_size = ALIGN(fb_stride / 2, 16) * fb_height; 1072 if (vframe->size == (luma_size + chroma_size)) 1078 vframe->size = luma_size + chroma_size; 1112 u32 chroma_size; local 1115 chroma_size = fb_stride * inst->dst_fmt.height / 2; 1117 chroma_size = fb_stride * inst->dst_fmt.height / 4; 1123 buf_addr_cr = buf_addr_cb + chroma_size; 1129 buf_addr_cr = buf_addr_cb + chroma_size;
|
H A D | wave5-vpu-enc.c | 158 u32 chroma_size = ((stride / 2) * (inst->dst_fmt.height / 2)); local 186 frame_buf.buf_cr = frame_buf.buf_cb + chroma_size; 192 frame_buf.buf_cr = frame_buf.buf_cb + chroma_size; 1270 u32 chroma_size = ALIGN(fb_stride / 2, 16) * fb_height; local 1272 inst->frame_vbuf[i].size = luma_size + chroma_size;
|
/linux-master/drivers/media/test-drivers/vicodec/ |
H A D | codec-fwht.c | 800 unsigned int chroma_size = chroma_h * chroma_w; local 802 rlco_max = rlco + chroma_size / 2 - 256; 810 rlco_max = rlco + chroma_size / 2 - 256;
|
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_plane.c | 805 plane_size->chroma_size.x = 0; 806 plane_size->chroma_size.y = 0; 808 plane_size->chroma_size.width = fb->width / 2; 809 plane_size->chroma_size.height = fb->height / 2;
|
H A D | amdgpu_dm.c | 6820 dc_plane_state->plane_size.chroma_size.height = stream->src.height; 6821 dc_plane_state->plane_size.chroma_size.width = stream->src.width;
|
/linux-master/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_hw_types.h | 146 struct rect chroma_size; member in struct:plane_size
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | dml2_translation_helper.c | 750 out->SurfaceHeightC[location] = in->plane_size.chroma_size.height; 751 out->SurfaceWidthC[location] = in->plane_size.chroma_size.width;
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | dcn20_fpu.c | 1629 pipes[pipe_cnt].pipe.src.surface_width_c = pln->plane_size.chroma_size.width; 1630 pipes[pipe_cnt].pipe.src.surface_height_c = pln->plane_size.chroma_size.height;
|