Lines Matching refs:picture
159 static int aom_decode(AVCodecContext *avctx, AVFrame *picture,
199 if ((ret = ff_get_buffer(avctx, picture, 0)) < 0)
207 picture->key_frame = !!(flags & AOM_FRAME_IS_KEY);
209 picture->pict_type = AV_PICTURE_TYPE_I;
211 picture->pict_type = AV_PICTURE_TYPE_SP;
213 picture->pict_type = AV_PICTURE_TYPE_P;
218 av_reduce(&picture->sample_aspect_ratio.num,
219 &picture->sample_aspect_ratio.den,
220 picture->height * img->r_w,
221 picture->width * img->r_h,
223 ff_set_sar(avctx, picture->sample_aspect_ratio);
226 image_copy_16_to_8(picture, img);
231 av_image_copy(picture->data, picture->linesize, planes,