Home
last modified time | relevance | path

Searched refs:dpb_size (Results 1 – 25 of 29) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/r600/
Dradeon_uvd.c238 unsigned width_in_mb, height_in_mb, image_size, dpb_size; in calc_dpb_size() local
292 dpb_size = image_size * max_references; in calc_dpb_size()
294 dpb_size += max_references * align(width_in_mb * height_in_mb * 192, alignment); in calc_dpb_size()
295 dpb_size += align(width_in_mb * height_in_mb * 32, alignment); in calc_dpb_size()
301 dpb_size = image_size * max_references; in calc_dpb_size()
304 dpb_size += width_in_mb * height_in_mb * max_references * 192; in calc_dpb_size()
306 dpb_size += width_in_mb * height_in_mb * 32; in calc_dpb_size()
317 dpb_size = image_size * max_references; in calc_dpb_size()
320 dpb_size += width_in_mb * height_in_mb * 128; in calc_dpb_size()
323 dpb_size += width_in_mb * 64; in calc_dpb_size()
[all …]
Dradeon_uvd.h359 uint32_t dpb_size; member
371 uint32_t dpb_size; member
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dradeon_uvd.c336 unsigned width_in_mb, height_in_mb, image_size, dpb_size; in calc_dpb_size() local
390 dpb_size = image_size * max_references; in calc_dpb_size()
393 dpb_size += max_references * align(width_in_mb * height_in_mb * 192, alignment); in calc_dpb_size()
394 dpb_size += align(width_in_mb * height_in_mb * 32, alignment); in calc_dpb_size()
400 dpb_size = image_size * max_references; in calc_dpb_size()
404 dpb_size += width_in_mb * height_in_mb * max_references * 192; in calc_dpb_size()
406 dpb_size += width_in_mb * height_in_mb * 32; in calc_dpb_size()
421 dpb_size = align((align(width, get_db_pitch_alignment(dec)) * height * 9) / 4, 256) * in calc_dpb_size()
424 dpb_size = align((align(width, get_db_pitch_alignment(dec)) * height * 3) / 2, 256) * in calc_dpb_size()
433 dpb_size = image_size * max_references; in calc_dpb_size()
[all …]
Dradeon_vcn_dec.c1809 if (dec->dpb_size) { in rvcn_dec_message_decode()
1811 r = si_vid_create_tmz_buffer(dec->screen, &dec->dpb, dec->dpb_size, PIPE_USAGE_DEFAULT); in rvcn_dec_message_decode()
1813 r = si_vid_create_buffer(dec->screen, &dec->dpb, dec->dpb_size, PIPE_USAGE_DEFAULT); in rvcn_dec_message_decode()
1906 decode->dpb_size = (dec->dpb_type != DPB_DYNAMIC_TIER_2) ? dec->dpb.res->buf->size : 0; in rvcn_dec_message_decode()
2353 unsigned width_in_mb, height_in_mb, image_size, dpb_size; in calc_dpb_size() local
2404 dpb_size = image_size * max_references; in calc_dpb_size()
2417 dpb_size = align((align(width, 64) * align(height, 64) * 9) / 4, 256) * max_references; in calc_dpb_size()
2419 dpb_size = align((align(width, 32) * height * 3) / 2, 256) * max_references; in calc_dpb_size()
2427 dpb_size = image_size * max_references; in calc_dpb_size()
2430 dpb_size += width_in_mb * height_in_mb * 128; in calc_dpb_size()
[all …]
Dradeon_vcn_enc_4_0.c97 enc->enc_pic.ctx_buf.colloc_buffer_offset = enc->dpb_size; in radeon_enc_ctx()
116 assert(offset == enc->dpb_size); in radeon_enc_ctx()
Dradeon_vcn_dec.h51 unsigned dpb_size; member
Dradeon_vcn_enc.h583 unsigned dpb_size; member
/third_party/ffmpeg/libavcodec/
Dnvdec_hevc.c83 int i, j, dpb_size, ret; in nvdec_hevc_start_frame() local
225 dpb_size = 0; in nvdec_hevc_start_frame()
230 if (dpb_size >= FF_ARRAY_ELEMS(ppc->RefPicIdx)) { in nvdec_hevc_start_frame()
234 dpb_add(ppc, dpb_size++, ref); in nvdec_hevc_start_frame()
237 for (i = dpb_size; i < FF_ARRAY_ELEMS(ppc->RefPicIdx); i++) in nvdec_hevc_start_frame()
241 for (j = 0; j < dpb_size; j++) { in nvdec_hevc_start_frame()
249 for (j = 0; j < dpb_size; j++) { in nvdec_hevc_start_frame()
257 for (j = 0; j < dpb_size; j++) { in nvdec_hevc_start_frame()
Dnvdec_h264.c60 int i, dpb_size, ret; in nvdec_h264_start_frame() local
117 dpb_size = 0; in nvdec_h264_start_frame()
119 dpb_add(h, &ppc->dpb[dpb_size++], h->short_ref[i], h->short_ref[i]->frame_num); in nvdec_h264_start_frame()
122 dpb_add(h, &ppc->dpb[dpb_size++], h->long_ref[i], i); in nvdec_h264_start_frame()
125 for (i = dpb_size; i < FF_ARRAY_ELEMS(ppc->dpb); i++) in nvdec_h264_start_frame()
Dnvdec.c56 unsigned int dpb_size; member
250 if (pool->nb_allocated >= pool->dpb_size) in nvdec_decoder_frame_alloc()
427 pool->dpb_size = frames_ctx->initial_pool_size; in ff_nvdec_decode_init()
697 int dpb_size, in ff_nvdec_frame_params() argument
728 frames_ctx->initial_pool_size = dpb_size + 2; in ff_nvdec_frame_params()
Dnvdec.h81 int dpb_size,
Dnvenc.h218 int dpb_size; member
Dnvenc_hevc.c153 … OFFSET(dpb_size), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, VE },
Dnvenc_h264.c172 … OFFSET(dpb_size), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, VE },
Dnvenc.c1062 if (ctx->dpb_size >= 0) { in nvenc_setup_h264_config()
1064 h264->maxNumRefFrames = ctx->dpb_size; in nvenc_setup_h264_config()
1159 if (ctx->dpb_size >= 0) { in nvenc_setup_hevc_config()
1161 hevc->maxNumRefFramesInDPB = ctx->dpb_size; in nvenc_setup_hevc_config()
1324 ctx->dpb_size = FFMIN(FFMAX(avctx->refs, 0), 6); in nvenc_setup_encoder()
/third_party/ffmpeg/libavcodec/tests/
Dh264_levels.c107 int dpb_size; member
210 test_dpb[i].dpb_size); in main()
213 test_dpb[i].dpb_size); in main()
Dh265_levels.c70 int dpb_size; member
271 0, 0, 0, test_dpb[i].dpb_size); in main()
274 test_dpb[i].dpb_size); in main()
/third_party/libdrm/tests/amdgpu/
Dcs_tests.c275 const unsigned dpb_size = 15923584, dt_size = 737280; in amdgpu_cs_uvd_decode() local
290 req.alloc_size += ALIGN(dpb_size, 4*1024); in amdgpu_cs_uvd_decode()
346 memset(ptr, 0, dpb_size); in amdgpu_cs_uvd_decode()
348 ptr += ALIGN(dpb_size, 4*1024); in amdgpu_cs_uvd_decode()
373 dt_addr = ALIGN(dpb_addr + dpb_size, 4*1024); in amdgpu_cs_uvd_decode()
Dvcn_tests.c329 const unsigned dpb_size = 15923584, dt_size = 737280; in amdgpu_cs_vcn_dec_decode() local
339 size += ALIGN(dpb_size, 4*1024); in amdgpu_cs_vcn_dec_decode()
366 dec += ALIGN(dpb_size, 4*1024); in amdgpu_cs_vcn_dec_decode()
374 dt_addr = ALIGN(dpb_addr + dpb_size, 4*1024); in amdgpu_cs_vcn_dec_decode()
/third_party/mesa3d/src/amd/common/
Dac_uvd_dec.h357 uint32_t dpb_size; member
369 uint32_t dpb_size; member
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11decoder.cpp166 guint dpb_size; member
314 self->dpb_size = 0; in gst_d3d11_decoder_reset()
476 pool_size = self->dpb_size + self->downstream_min_buffers; in gst_d3d11_decoder_prepare_output_view_pool()
479 "(dpb size: %d, downstream min buffers: %d)", pool_size, self->dpb_size, in gst_d3d11_decoder_prepare_output_view_pool()
713 gint coded_height, guint dpb_size) in gst_d3d11_decoder_configure() argument
722 g_return_val_if_fail (dpb_size > 0, FALSE); in gst_d3d11_decoder_configure()
738 decoder->dpb_size = dpb_size; in gst_d3d11_decoder_configure()
Dgstd3d11decoder.h82 guint dpb_size);
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvah264dec.c82 gint dpb_size; member
678 if (self->dpb_size < max_dpb_size) in gst_va_h264_dec_new_sequence()
679 self->dpb_size = max_dpb_size; in gst_va_h264_dec_new_sequence()
754 base->min_buffers = self->dpb_size + 4; /* dpb size + scratch surfaces */ in gst_va_h264_dec_new_sequence()
Dgstvah265dec.c95 gint dpb_size; member
1058 if (self->dpb_size < max_dpb_size) in gst_va_h265_dec_new_sequence()
1059 self->dpb_size = max_dpb_size; in gst_va_h265_dec_new_sequence()
1126 base->min_buffers = self->dpb_size + 4; /* dpb size + scratch surfaces */ in gst_va_h265_dec_new_sequence()
/third_party/mesa3d/docs/relnotes/
D20.2.4.rst127 - radeon/vcn : Corrected dpb_size calculation for VP9_2

12