Home
last modified time | relevance | path

Searched refs:aligned_width (Results 1 – 18 of 18) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dr210enc.c33 int aligned_width = FFALIGN(avctx->width, in encode_init() local
38 avctx->bit_rate = ff_guess_coded_bitrate(avctx) * aligned_width / avctx->width; in encode_init()
47 int aligned_width = FFALIGN(avctx->width, in encode_frame() local
49 int pad = (aligned_width - avctx->width) * 4; in encode_frame()
53 ret = ff_get_encode_buffer(avctx, pkt, 4 * aligned_width * avctx->height, 0); in encode_frame()
Dtarga_y216dec.c39 int aligned_width = FFALIGN(avctx->width, 4); in y216_decode_frame() local
42 if (avpkt->size < 4 * avctx->height * aligned_width) { in y216_decode_frame()
68 src += aligned_width << 1; in y216_decode_frame()
Dr210dec.c43 int aligned_width = FFALIGN(avctx->width, in decode_frame() local
51 if (avpkt->size < 4 * aligned_width * avctx->height) { in decode_frame()
94 src += aligned_width - avctx->width; in decode_frame()
Dcdxl.c250 int ret, w, h, encoding, aligned_width, buf_size = pkt->size; in cdxl_decode_frame() local
285 aligned_width = avctx->width; in cdxl_decode_frame()
287 aligned_width = FFALIGN(c->avctx->width, 16); in cdxl_decode_frame()
288 c->padded_bits = aligned_width - c->avctx->width; in cdxl_decode_frame()
289 if (c->video_size < aligned_width * avctx->height * (int64_t)c->bpp / 8) in cdxl_decode_frame()
Dv210enc.c72 int aligned_width = ((avctx->width + 47) / 48) * 48; in encode_frame() local
73 int stride = aligned_width * 8 / 3; in encode_frame()
Dv210_template.c29 int aligned_width = ((avctx->width + 47) / 48) * 48; in RENAME() local
30 int stride = aligned_width * 8 / 3; in RENAME()
Dfic.c55 int aligned_width, aligned_height; member
192 for (x = 0; x < (ctx->aligned_width >> !!p); x += 8) { in fic_decode_slice()
361 if (msize <= ctx->aligned_width/8 * (ctx->aligned_height/8) / 8) { in fic_decode_frame()
462 ctx->aligned_width = FFALIGN(avctx->width, 16); in fic_decode_init()
Dlcldec.c232 int aligned_width = width; in decode_frame() local
239 aligned_width &= ~3; in decode_frame()
244 aligned_width &= ~3; in decode_frame()
252 if (len < ((aligned_width * height * bppx2) >> 1)) in decode_frame()
Dv210dec.c131 int aligned_width = ((width + align - 1) / align) * align; in v210_stride() local
132 return aligned_width * 8 / 3; in v210_stride()
Dsanm.c274 int aligned_width, aligned_height; member
444 ctx->aligned_width = FFALIGN(width, 8); in init_sizes()
447 ctx->buf_size = ctx->aligned_width * ctx->aligned_height * sizeof(ctx->frm0[0]); in init_sizes()
1234 for (cx = 0; cx < ctx->aligned_width; cx += 8) in decode_2()
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate.c154 uint32_t aligned_width, aligned_height, stride, size; in vc4_check_tex_size() local
172 aligned_width = round_up(width, utile_w); in vc4_check_tex_size()
176 aligned_width = round_up(width, utile_w * 8); in vc4_check_tex_size()
180 aligned_width = round_up(width, utile_w); in vc4_check_tex_size()
188 stride = aligned_width * cpp; in vc4_check_tex_size()
195 aligned_width, aligned_height, in vc4_check_tex_size()
682 uint32_t aligned_width, aligned_height; in reloc_tex() local
693 aligned_width = round_up(level_width, utile_w * 8); in reloc_tex()
697 aligned_width = round_up(level_width, utile_w); in reloc_tex()
701 aligned_width = round_up(level_width, utile_w); in reloc_tex()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dradeon_vcn_enc_4_0.c99 uint32_t aligned_width = enc->enc_pic.session_init.aligned_picture_width; in radeon_enc_ctx() local
102 enc->enc_pic.ctx_buf.rec_luma_pitch = align(aligned_width, enc->alignment); in radeon_enc_ctx()
103 enc->enc_pic.ctx_buf.rec_chroma_pitch = align(aligned_width, enc->alignment); in radeon_enc_ctx()
Dradeon_vcn_enc.c410 uint32_t aligned_width = align(enc->base.width, 16); in setup_dpb() local
412 uint32_t rec_luma_pitch = align(aligned_width, enc->alignment); in setup_dpb()
Dradeon_vcn_enc_1_2.c1039 uint32_t aligned_width = enc->enc_pic.session_init.aligned_picture_width; in radeon_enc_ctx() local
1042 enc->enc_pic.ctx_buf.rec_luma_pitch = align(aligned_width, enc->alignment); in radeon_enc_ctx()
1043 enc->enc_pic.ctx_buf.rec_chroma_pitch = align(aligned_width, enc->alignment); in radeon_enc_ctx()
/third_party/mesa3d/src/panfrost/lib/
Dpan_tiler.c232 unsigned aligned_width = ALIGN_POT(width, tile_width); in pan_tile_count() local
235 unsigned tile_count_x = aligned_width / tile_width; in pan_tile_count()
/third_party/mesa3d/src/intel/isl/tests/
Disl_surf_get_image_offset_test.c106 uint32_t aligned_width, in t_assert_gfx4_3d_layer() argument
115 aligned_width * (z % horiz_layers), in t_assert_gfx4_3d_layer()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_resource.c106 unsigned aligned_width; in setup_miptree() local
110 aligned_width = align(width, 16); in setup_miptree()
113 aligned_width = width; in setup_miptree()
117 stride = util_format_get_stride(pres->format, aligned_width); in setup_miptree()
122 res->levels[level].width = aligned_width; in setup_miptree()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_job_render.c1382 uint32_t aligned_width = in pvr_render_job_ws_fragment_state_init() local
1389 aligned_width, in pvr_render_job_ws_fragment_state_init()