Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dr210enc.c29 int aligned_width = FFALIGN(avctx->width, in encode_init() local
34 avctx->bit_rate = ff_guess_coded_bitrate(avctx) * aligned_width / avctx->width; in encode_init()
43 int aligned_width = FFALIGN(avctx->width, in encode_frame() local
45 int pad = (aligned_width - avctx->width) * 4; in encode_frame()
49 if ((ret = ff_alloc_packet2(avctx, pkt, 4 * aligned_width * avctx->height, 0)) < 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.c42 int aligned_width = FFALIGN(avctx->width, in decode_frame() local
50 if (avpkt->size < 4 * aligned_width * avctx->height) { in decode_frame()
93 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()
Dv210_template.c39 int aligned_width = ((avctx->width + 47) / 48) * 48; in RENAME() local
40 int stride = aligned_width * 8 / 3; in RENAME()
Dv210enc.c121 int aligned_width = ((avctx->width + 47) / 48) * 48; in encode_frame() local
122 int stride = aligned_width * 8 / 3; in encode_frame()
Dfic.c54 int aligned_width, aligned_height; member
191 for (x = 0; x < (ctx->aligned_width >> !!p); x += 8) { in fic_decode_slice()
360 if (msize <= ctx->aligned_width/8 * (ctx->aligned_height/8) / 8) { in fic_decode_frame()
461 ctx->aligned_width = FFALIGN(avctx->width, 16); in fic_decode_init()
Dv210dec.c153 int aligned_width = ((avctx->width + 47) / 48) * 48; in decode_frame() local
154 stride = aligned_width * 8 / 3; in decode_frame()
Dsanm.c273 int aligned_width, aligned_height; member
443 ctx->aligned_width = FFALIGN(width, 8); in init_sizes()
446 ctx->buf_size = ctx->aligned_width * ctx->aligned_height * sizeof(ctx->frm0[0]); in init_sizes()
1233 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/panfrost/lib/
Dpan_afbc.c142 unsigned aligned_width = ALIGN_POT(width, AFBC_TILE_WIDTH); in panfrost_afbc_header_size() local
146 unsigned tile_count_x = aligned_width / AFBC_TILE_WIDTH; in panfrost_afbc_header_size()
Dpan_tiler.c233 unsigned aligned_width = ALIGN_POT(width, tile_width); in pan_tile_count() local
236 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/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11decoder.cpp163 gint aligned_width; member
495 align.padding_right = self->aligned_width - GST_VIDEO_INFO_WIDTH (info); in gst_d3d11_decoder_prepare_output_view_pool()
759 desc.Width = self->aligned_width; in gst_d3d11_decoder_ensure_staging_texture()
818 gint aligned_width, aligned_height; in gst_d3d11_decoder_open() local
887 aligned_width = GST_ROUND_UP_N (self->coded_width, alignment); in gst_d3d11_decoder_open()
889 if (aligned_width != self->coded_width || in gst_d3d11_decoder_open()
893 self->coded_width, self->coded_height, alignment, aligned_width, in gst_d3d11_decoder_open()
897 self->aligned_width = aligned_width; in gst_d3d11_decoder_open()
900 decoder_desc.SampleWidth = aligned_width; in gst_d3d11_decoder_open()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_resource.c103 unsigned aligned_width; in setup_miptree() local
107 aligned_width = align(width, 16); in setup_miptree()
110 aligned_width = width; in setup_miptree()
114 stride = util_format_get_stride(pres->format, aligned_width); in setup_miptree()
119 res->levels[level].width = aligned_width; in setup_miptree()
/third_party/mesa3d/src/gallium/drivers/radeon/
Dradeon_vcn_enc_2_0.c450 uint32_t aligned_width = enc->enc_pic.session_init.aligned_picture_width; in radeon_enc_ctx() local
453 enc->enc_pic.ctx_buf.rec_luma_pitch = align(aligned_width, enc->alignment); in radeon_enc_ctx()
454 enc->enc_pic.ctx_buf.rec_chroma_pitch = align(aligned_width, enc->alignment); in radeon_enc_ctx()