Home
last modified time | relevance | path

Searched refs:pic_ctx (Results 1 – 7 of 7) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dvdpau.c326 int ff_vdpau_common_start_frame(struct vdpau_picture_context *pic_ctx, in ff_vdpau_common_start_frame() argument
330 pic_ctx->bitstream_buffers_allocated = 0; in ff_vdpau_common_start_frame()
331 pic_ctx->bitstream_buffers_used = 0; in ff_vdpau_common_start_frame()
332 pic_ctx->bitstream_buffers = NULL; in ff_vdpau_common_start_frame()
337 struct vdpau_picture_context *pic_ctx) in ff_vdpau_common_end_frame() argument
350 status = hwctx->render2(avctx, frame, (void *)&pic_ctx->info, in ff_vdpau_common_end_frame()
351 pic_ctx->bitstream_buffers_used, pic_ctx->bitstream_buffers); in ff_vdpau_common_end_frame()
353 status = vdctx->render(vdctx->decoder, surf, &pic_ctx->info, in ff_vdpau_common_end_frame()
354 pic_ctx->bitstream_buffers_used, in ff_vdpau_common_end_frame()
355 pic_ctx->bitstream_buffers); in ff_vdpau_common_end_frame()
[all …]
Dvdpau_h264.c73 struct vdpau_picture_context *pic_ctx = h->cur_pic_ptr->hwaccel_picture_private; in vdpau_h264_set_reference_frames() local
74 VdpPictureInfoH264 *info = &pic_ctx->info.h264; in vdpau_h264_set_reference_frames()
128 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_h264_start_frame() local
129 VdpPictureInfoH264 *info = &pic_ctx->info.h264; in vdpau_h264_start_frame()
131 VdpPictureInfoH264Predictive *info2 = &pic_ctx->info.h264_predictive; in vdpau_h264_start_frame()
177 return ff_vdpau_common_start_frame(pic_ctx, buffer, size); in vdpau_h264_start_frame()
187 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_h264_decode_slice() local
190 val = ff_vdpau_add_buffer(pic_ctx, start_code_prefix, 3); in vdpau_h264_decode_slice()
194 val = ff_vdpau_add_buffer(pic_ctx, buffer, size); in vdpau_h264_decode_slice()
198 pic_ctx->info.h264.slice_count++; in vdpau_h264_decode_slice()
[all …]
Dvdpau_mpeg12.c37 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_mpeg_start_frame() local
38 VdpPictureInfoMPEG1Or2 *info = &pic_ctx->info.mpeg; in vdpau_mpeg_start_frame()
80 return ff_vdpau_common_start_frame(pic_ctx, buffer, size); in vdpau_mpeg_start_frame()
88 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_mpeg_decode_slice() local
91 val = ff_vdpau_add_buffer(pic_ctx, buffer, size); in vdpau_mpeg_decode_slice()
95 pic_ctx->info.mpeg.slice_count++; in vdpau_mpeg_decode_slice()
Dvdpau_vc1.c38 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_vc1_start_frame() local
39 VdpPictureInfoVC1 *info = &pic_ctx->info.vc1; in vdpau_vc1_start_frame()
97 return ff_vdpau_common_start_frame(pic_ctx, buffer, size); in vdpau_vc1_start_frame()
106 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_vc1_decode_slice() local
109 val = ff_vdpau_add_buffer(pic_ctx, buffer, size); in vdpau_vc1_decode_slice()
113 pic_ctx->info.vc1.slice_count++; in vdpau_vc1_decode_slice()
Dvdpau_vp9.c39 struct vdpau_picture_context *pic_ctx = pic.hwaccel_picture_private; in vdpau_vp9_start_frame() local
42 VdpPictureInfoVP9 *info = &pic_ctx->info.vp9; in vdpau_vp9_start_frame()
161 return ff_vdpau_common_start_frame(pic_ctx, buffer, size); in vdpau_vp9_start_frame()
172 struct vdpau_picture_context *pic_ctx = pic.hwaccel_picture_private; in vdpau_vp9_decode_slice() local
176 val = ff_vdpau_add_buffer(pic_ctx, start_code_prefix, 3); in vdpau_vp9_decode_slice()
180 val = ff_vdpau_add_buffer(pic_ctx, buffer, size); in vdpau_vp9_decode_slice()
191 struct vdpau_picture_context *pic_ctx = pic.hwaccel_picture_private; in vdpau_vp9_end_frame() local
195 val = ff_vdpau_common_end_frame(avctx, pic.tf.f, pic_ctx); in vdpau_vp9_end_frame()
Dvdpau_mpeg4.c38 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_mpeg4_start_frame() local
39 VdpPictureInfoMPEG4Part2 *info = &pic_ctx->info.mpeg4; in vdpau_mpeg4_start_frame()
81 ff_vdpau_common_start_frame(pic_ctx, buffer, size); in vdpau_mpeg4_start_frame()
82 return ff_vdpau_add_buffer(pic_ctx, buffer, size); in vdpau_mpeg4_start_frame()
Dvdpau_hevc.c40 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_hevc_start_frame() local
42 VdpPictureInfoHEVC *info = &pic_ctx->info.hevc; in vdpau_hevc_start_frame()
44 VdpPictureInfoHEVC444 *info2 = &pic_ctx->info.hevc_444; in vdpau_hevc_start_frame()
398 return ff_vdpau_common_start_frame(pic_ctx, buffer, size); in vdpau_hevc_start_frame()
407 struct vdpau_picture_context *pic_ctx = h->ref->hwaccel_picture_private; in vdpau_hevc_decode_slice() local
410 val = ff_vdpau_add_buffer(pic_ctx, start_code_prefix, 3); in vdpau_hevc_decode_slice()
414 val = ff_vdpau_add_buffer(pic_ctx, buffer, size); in vdpau_hevc_decode_slice()
424 struct vdpau_picture_context *pic_ctx = h->ref->hwaccel_picture_private; in vdpau_hevc_end_frame() local
427 val = ff_vdpau_common_end_frame(avctx, h->ref->frame, pic_ctx); in vdpau_hevc_end_frame()