Lines Matching defs:pic_ctx
40 struct vda_picture_context *pic_ctx = h->s.current_picture_ptr->f.hwaccel_picture_private;
45 pic_ctx->bitstream = NULL;
46 pic_ctx->bitstream_size = 0;
57 struct vda_picture_context *pic_ctx = h->s.current_picture_ptr->f.hwaccel_picture_private;
63 tmp = av_realloc(pic_ctx->bitstream, pic_ctx->bitstream_size+size+4);
67 pic_ctx->bitstream = tmp;
69 AV_WB32(pic_ctx->bitstream + pic_ctx->bitstream_size, size);
70 memcpy(pic_ctx->bitstream + pic_ctx->bitstream_size + 4, buffer, size);
72 pic_ctx->bitstream_size += size + 4;
81 struct vda_picture_context *pic_ctx = h->s.current_picture_ptr->f.hwaccel_picture_private;
85 if (!vda_ctx->decoder || !pic_ctx->bitstream)
88 status = ff_vda_decoder_decode(vda_ctx, pic_ctx->bitstream,
89 pic_ctx->bitstream_size,
95 av_freep(&pic_ctx->bitstream);