Lines Matching defs:picture
50 AVFrame picture;
62 int total_slices; ///< total number of slices in a picture
111 avctx->coded_frame = &ctx->picture;
112 avcodec_get_frame_defaults(&ctx->picture);
113 ctx->picture.type = AV_PICTURE_TYPE_I;
114 ctx->picture.key_frame = 1;
148 "picture dimension changed: old: %d x %d, new: %d x %d\n",
172 "unsupported picture format: %d\n", ctx->pic_format);
187 ctx->picture.interlaced_frame = 1;
188 ctx->picture.top_field_first = ctx->frame_type & 1;
190 ctx->picture.interlaced_frame = 0;
243 av_log(avctx, AV_LOG_ERROR, "picture header too small\n");
249 av_log(avctx, AV_LOG_ERROR, "picture data too small\n");
267 (1 << (4 + ctx->picture.interlaced_frame)) - 1) >>
268 (4 + ctx->picture.interlaced_frame);
640 AVFrame *picture = avctx->coded_frame;
660 if (picture->data[0])
661 avctx->release_buffer(avctx, picture);
663 picture->reference = 0;
664 if (avctx->get_buffer(avctx, picture) < 0)
667 for (pic_num = 0; ctx->picture.interlaced_frame - pic_num + 1; pic_num++) {
689 if (ctx->picture.data[0])
690 avctx->release_buffer(avctx, &ctx->picture);