Home
last modified time | relevance | path

Searched refs:max_references (Results 1 – 25 of 27) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_uvd.c225 unsigned max_references = dec->base.max_references + 1; in calc_ctx_size_h264_perf() local
261 max_references = MAX2(MIN2(NUM_H264_REFS, num_dpb_buffer), max_references); in calc_ctx_size_h264_perf()
262 ctx_size = max_references * align(width_in_mb * height_in_mb * 192, 256); in calc_ctx_size_h264_perf()
265 max_references = MAX2(NUM_H264_REFS, max_references); in calc_ctx_size_h264_perf()
267 ctx_size = align(width_in_mb * height_in_mb * max_references * 192, 256); in calc_ctx_size_h264_perf()
278 unsigned max_references = dec->base.max_references + 1; in calc_ctx_size_h265_main() local
281 max_references = MAX2(max_references, 8); in calc_ctx_size_h265_main()
283 max_references = MAX2(max_references, 17); in calc_ctx_size_h265_main()
287 return ((width + 255) / 16) * ((height + 255) / 16) * 16 * max_references + 52 * 1024; in calc_ctx_size_h265_main()
302 unsigned max_references = dec->base.max_references + 1; in calc_ctx_size_h265_main10() local
[all …]
Dradeon_vcn_dec.c494 assert(dec->base.max_references + 1 <= ARRAY_SIZE(dec->render_pic_list)); in get_vp9_msg()
600 unsigned max_references = dec->base.max_references + 1; in calc_ctx_size_h265_main() local
603 max_references = MAX2(max_references, 8); in calc_ctx_size_h265_main()
605 max_references = MAX2(max_references, 17); in calc_ctx_size_h265_main()
609 return ((width + 255) / 16) * ((height + 255) / 16) * 16 * max_references + 52 * 1024; in calc_ctx_size_h265_main()
624 unsigned max_references = dec->base.max_references + 1; in calc_ctx_size_h265_main10() local
627 max_references = MAX2(max_references, 8); in calc_ctx_size_h265_main10()
629 max_references = MAX2(max_references, 17); in calc_ctx_size_h265_main10()
641 cm_buffer_size = max_references * context_buffer_size_per_ctb_row * height_in_ctb; in calc_ctx_size_h265_main10()
1245 unsigned max_references = dec->base.max_references + 1; in calc_ctx_size_h264_perf() local
[all …]
Dradeon_vce_40_2_2.c156 RVCE_CS(MAX2(enc->base.max_references, 1) - 1); // encBPicPattern in pic_control()
158 RVCE_CS(MIN2(enc->base.max_references, 2)); // encNumberOfReferenceFrames in pic_control()
159 RVCE_CS(enc->base.max_references + 1); // encMaxNumRefFrames in pic_control()
Dradeon_vce_52.c103 enc->enc_pic.pc.enc_b_pic_pattern = MAX2(enc->base.max_references, 1) - 1; in get_pic_control_param()
104 enc->enc_pic.pc.enc_number_of_reference_frames = MIN2(enc->base.max_references, 2); in get_pic_control_param()
105 enc->enc_pic.pc.enc_max_num_ref_frames = enc->base.max_references + 1; in get_pic_control_param()
Dradeon_vce.c412 if ((sscreen->info.family >= CHIP_TONGA) && (templ->max_references == 1) && in si_vce_create_encoder()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_video_vp.c97 if (dec->base.max_references > 2) in nvc0_decoder_vp()
98 codec_extra += 1 + (dec->base.max_references - 2); in nvc0_decoder_vp()
103 for (i = 0; i < dec->base.max_references; ++i) { in nvc0_decoder_vp()
140 uint64_t tmpimg_addr = dec->ref_bo->offset + dec->ref_stride * (dec->base.max_references+2); in nvc0_decoder_vp()
154 if (dec->base.max_references > 2) { in nvc0_decoder_vp()
157 BEGIN_NVC0(push, SUBC_VP(0x400), dec->base.max_references - 2); in nvc0_decoder_vp()
158 for (i = 2; i < dec->base.max_references; ++i) { in nvc0_decoder_vp()
Dnvc0_video.c221 assert(templ->max_references <= 2); in nvc0_create_decoder()
227 assert(templ->max_references <= 2); in nvc0_create_decoder()
233 assert(templ->max_references <= 2); in nvc0_create_decoder()
239 tmp_size = dec->tmp_stride * (templ->max_references + 1); in nvc0_create_decoder()
240 assert(templ->max_references <= 16); in nvc0_create_decoder()
268 dec->ref_stride * (templ->max_references+2) + tmp_size, in nvc0_create_decoder()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv98_video_vp.c97 if (dec->base.max_references > 2) in nv98_decoder_vp()
98 codec_extra += 1 + (dec->base.max_references - 2); in nv98_decoder_vp()
103 for (i = 0; i < dec->base.max_references; ++i) { in nv98_decoder_vp()
140 uint64_t tmpimg_addr = dec->ref_bo->offset + dec->ref_stride * (dec->base.max_references+2); in nv98_decoder_vp()
154 if (dec->base.max_references > 2) { in nv98_decoder_vp()
157 BEGIN_NV04(push, SUBC_VP(0x400), dec->base.max_references - 2); in nv98_decoder_vp()
158 for (i = 2; i < dec->base.max_references; ++i) { in nv98_decoder_vp()
Dnv98_video.c199 assert(templ->max_references <= 2); in nv98_create_decoder()
205 assert(templ->max_references <= 2); in nv98_create_decoder()
211 assert(templ->max_references <= 2); in nv98_create_decoder()
217 tmp_size = dec->tmp_stride * (templ->max_references + 1); in nv98_create_decoder()
218 assert(templ->max_references <= 16); in nv98_create_decoder()
244 dec->ref_stride * (templ->max_references+2) + tmp_size, in nv98_create_decoder()
Dnv84_video.c399 (templ->max_references + 1) * dec->frame_mbs * 0x40 + in nv84_create_decoder()
475 surf.height = (templ->max_references + 1) * dec->frame_mbs / 4; in nv84_create_decoder()
/external/mesa3d/src/gallium/drivers/r600/
Dradeon_uvd.c245 unsigned max_references = dec->base.max_references + 1; in calc_dpb_size() local
291 max_references = MAX2(MIN2(NUM_H264_REFS, num_dpb_buffer), max_references); in calc_dpb_size()
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()
299 max_references = MAX2(NUM_H264_REFS, max_references); 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()
314 max_references = MAX2(NUM_VC1_REFS, max_references); in calc_dpb_size()
317 dpb_size = image_size * max_references; in calc_dpb_size()
339 dpb_size = image_size * max_references; in calc_dpb_size()
/external/mesa3d/src/gallium/include/pipe/
Dp_video_codec.h56 unsigned max_references; member
/external/mesa3d/src/gallium/frontends/va/
Dpicture_h264.c115 context->templat.max_references = MIN2(context->desc.h264.num_ref_frames, 16); in vlVaHandlePictureParameterBufferH264()
117 for (i = 0; i < context->templat.max_references; ++i) { in vlVaHandlePictureParameterBufferH264()
Dcontext.c253 context->templat.max_references = 2; in vlVaCreateContext()
257 context->templat.max_references = 0; in vlVaCreateContext()
Dpicture_vp9.c91 if (!context->decoder && !context->templat.max_references) in vlVaHandlePictureParameterBufferVP9()
92 context->templat.max_references = NUM_VP9_REFS; in vlVaHandlePictureParameterBufferVP9()
Dpicture_h264_enc.c116 context->templat.max_references = h264->max_num_ref_frames; in vlVaHandleVAEncSequenceParameterBufferTypeH264()
Dpicture.c156 context->templat.height, &context->templat.max_references); in handlePictureParameterBuffer()
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_vp3_video_vp.c174 for (i = 0; i < dec->base.max_references; ++i) { in nouveau_vp3_handle_references()
198 for (i = 0; i < dec->base.max_references + 1; ++i) { in nouveau_vp3_handle_references()
208 assert(empty_spot < dec->base.max_references+1); in nouveau_vp3_handle_references()
390 assert(d->num_ref_frames <= dec->base.max_references); in nouveau_vp3_fill_picparm_h264_vp()
Dnouveau_vp3_video.h165 ret = dec->ref_stride * (dec->base.max_references+1); in nouveau_vp3_video_addr()
/external/mesa3d/src/gallium/frontends/vdpau/
Ddecode.c44 uint32_t max_references, in vlVdpDecoderCreate() argument
119 templat.max_references = max_references; in vlVdpDecoderCreate()
124 &templat.max_references); in vlVdpDecoderCreate()
/external/mesa3d/src/gallium/frontends/omx/tizonia/
Dh264eprc.c541 templat.max_references = 1; in h264e_prc_prepare_to_transfer()
548 templat.max_references = OMX_VID_ENC_P_PERIOD_DEFAULT; in h264e_prc_prepare_to_transfer()
/external/mesa3d/src/gallium/frontends/xvmc/
Dcontext.c255 templat.max_references = 2; in XvMCCreateContext()
/external/mesa3d/src/gallium/frontends/omx/bellagio/
Dvid_dec_mpeg12.c75 templat.max_references = 2; in vid_dec_mpeg12_Init()
Dvid_enc.c621 templat.max_references = 1; in vid_enc_MessageHandler()
628 templat.max_references = OMX_VID_ENC_P_PERIOD_DEFAULT; in vid_enc_MessageHandler()
/external/mesa3d/docs/relnotes/
D20.3.4.rst175 - frontends/va/context: don't set max_references with num_render_targets

12