• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/

Lines Matching refs:picture

691     av_log(s->avctx, AV_LOG_ERROR, "Error allocating a picture.\n");
698 * Deallocate a picture.
983 av_assert0(!s->picture || s->picture != s1->picture);
984 if(s->picture)
986 ff_mpeg_unref_picture(s, &s->picture[i]);
987 if (s1->picture[i].f->buf[0] &&
988 (ret = ff_mpeg_ref_picture(s, &s->picture[i], &s1->picture[i])) < 0)
1317 FF_ALLOCZ_OR_GOTO(s->avctx, s->picture,
1320 s->picture[i].f = av_frame_alloc();
1321 if (!s->picture[i].f)
1455 if (s->picture)
1457 s->picture[i].needs_realloc = 1;
1532 if (s->picture) {
1534 ff_free_picture_tables(&s->picture[i]);
1535 ff_mpeg_unref_picture(s, &s->picture[i]);
1536 av_frame_free(&s->picture[i].f);
1539 av_freep(&s->picture);
1660 if (!s->picture[i].reference)
1661 ff_mpeg_unref_picture(s, &s->picture[i]);
1682 if (s->picture[i].f->buf[0] == NULL && &s->picture[i] != s->last_picture_ptr)
1687 if (pic_is_unused(s, &s->picture[i]))
1693 "Internal error, picture buffer overflow\n");
1714 if (s->picture[ret].needs_realloc) {
1715 s->picture[ret].needs_realloc = 0;
1716 ff_free_picture_tables(&s->picture[ret]);
1717 ff_mpeg_unref_picture(s, &s->picture[ret]);
1764 if (&s->picture[i] != s->last_picture_ptr &&
1765 &s->picture[i] != s->next_picture_ptr &&
1766 s->picture[i].reference && !s->picture[i].needs_realloc) {
1769 "releasing zombie picture\n");
1770 ff_mpeg_unref_picture(s, &s->picture[i]);
1789 pic = &s->picture[i];
1846 "allocating dummy last picture for B frame\n");
1852 "allocate dummy last picture for field based first keyframe\n");
1860 s->last_picture_ptr = &s->picture[i];
1900 s->next_picture_ptr = &s->picture[i];
2108 * Print debugging info for the given picture.
2571 // FIXME use this for field pix too instead of the obnoxious hack which changes picture.f->data
2664 * @param ref_picture array[3] of pointers to the 3 planes of the reference picture
3237 if(s==NULL || s->picture==NULL)
3241 ff_mpeg_unref_picture(s, &s->picture[i]);