Home
last modified time | relevance | path

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

/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/radeon/
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.c1550 if (dec->dpb_size) { in rvcn_dec_message_decode()
1552 r = si_vid_create_tmz_buffer(dec->screen, &dec->dpb, dec->dpb_size, PIPE_USAGE_DEFAULT); in rvcn_dec_message_decode()
1554 r = si_vid_create_buffer(dec->screen, &dec->dpb, dec->dpb_size, PIPE_USAGE_DEFAULT); in rvcn_dec_message_decode()
1647 decode->dpb_size = (dec->dpb_type != DPB_DYNAMIC_TIER_2) ? dec->dpb.res->buf->size : 0; in rvcn_dec_message_decode()
1999 unsigned width_in_mb, height_in_mb, image_size, dpb_size; in calc_dpb_size() local
2050 dpb_size = image_size * max_references; in calc_dpb_size()
2063 dpb_size = align((align(width, 64) * align(height, 64) * 9) / 4, 256) * max_references; in calc_dpb_size()
2065 dpb_size = align((align(width, 32) * height * 3) / 2, 256) * max_references; in calc_dpb_size()
2073 dpb_size = image_size * max_references; in calc_dpb_size()
2076 dpb_size += width_in_mb * height_in_mb * 128; in calc_dpb_size()
[all …]
Dradeon_uvd.h359 uint32_t dpb_size; member
371 uint32_t dpb_size; member
Dradeon_vcn_dec.h402 unsigned int dpb_size; member
1087 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.c272 const unsigned dpb_size = 15923584, dt_size = 737280; in amdgpu_cs_uvd_decode() local
287 req.alloc_size += ALIGN(dpb_size, 4*1024); in amdgpu_cs_uvd_decode()
343 memset(ptr, 0, dpb_size); in amdgpu_cs_uvd_decode()
345 ptr += ALIGN(dpb_size, 4*1024); in amdgpu_cs_uvd_decode()
370 dt_addr = ALIGN(dpb_addr + dpb_size, 4*1024); in amdgpu_cs_uvd_decode()
Dvcn_tests.c318 const unsigned dpb_size = 15923584, dt_size = 737280; in amdgpu_cs_vcn_dec_decode() local
328 size += ALIGN(dpb_size, 4*1024); in amdgpu_cs_vcn_dec_decode()
355 dec += ALIGN(dpb_size, 4*1024); in amdgpu_cs_vcn_dec_decode()
363 dt_addr = ALIGN(dpb_addr + dpb_size, 4*1024); in amdgpu_cs_vcn_dec_decode()
/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
D20.3.0.rst4442 - radeon/vcn : Corrected dpb_size calculation for VP9_2