Lines Matching refs:pic_ctx
70 struct vdpau_picture_context *pic_ctx = h->cur_pic_ptr->hwaccel_picture_private;
71 VdpPictureInfoH264 *info = &pic_ctx->info.h264;
123 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private;
124 VdpPictureInfoH264 *info = &pic_ctx->info.h264;
165 return ff_vdpau_common_start_frame(pic_ctx, buffer, size);
175 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private;
178 val = ff_vdpau_add_buffer(pic_ctx, start_code_prefix, 3);
182 val = ff_vdpau_add_buffer(pic_ctx, buffer, size);
186 pic_ctx->info.h264.slice_count++;
196 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private;
201 hwctx->info = pic_ctx->info;
202 hwctx->bitstream_buffers = pic_ctx->bitstream_buffers;
203 hwctx->bitstream_buffers_used = pic_ctx->bitstream_buffers_used;
204 hwctx->bitstream_buffers_allocated = pic_ctx->bitstream_buffers_allocated;
209 res = hwctx->render2(avctx, &pic->f, (void *)&pic_ctx->info,
210 pic_ctx->bitstream_buffers_used, pic_ctx->bitstream_buffers);
212 hwctx->render(hwctx->decoder, surf, (void *)&pic_ctx->info,
213 pic_ctx->bitstream_buffers_used, pic_ctx->bitstream_buffers);
216 av_freep(&pic_ctx->bitstream_buffers);