Revision 4afbcf46
ffplay.c | ||
---|---|---|
1736 | 1736 |
} else { |
1737 | 1737 |
picref = avfilter_get_video_buffer(link, AV_PERM_WRITE, link->w, link->h); |
1738 | 1738 |
av_image_copy(picref->data, picref->linesize, |
1739 |
priv->frame->data, priv->frame->linesize,
|
|
1740 |
picref->format, link->w, link->h);
|
|
1739 |
priv->frame->data, priv->frame->linesize, |
|
1740 |
picref->format, link->w, link->h); |
|
1741 | 1741 |
} |
1742 | 1742 |
av_free_packet(&pkt); |
1743 | 1743 |
|
libavcodec/imgconvert.c | ||
---|---|---|
807 | 807 |
enum PixelFormat pix_fmt, int width, int height) |
808 | 808 |
{ |
809 | 809 |
av_image_copy(dst->data, dst->linesize, src->data, |
810 |
src->linesize, pix_fmt, width, height);
|
|
810 |
src->linesize, pix_fmt, width, height); |
|
811 | 811 |
} |
812 | 812 |
|
813 | 813 |
/* 2x2 -> 1x1 */ |
libavfilter/vsrc_buffer.c | ||
---|---|---|
120 | 120 |
link->w, link->h); |
121 | 121 |
|
122 | 122 |
av_image_copy(picref->data, picref->linesize, |
123 |
c->frame.data, c->frame.linesize,
|
|
124 |
picref->format, link->w, link->h);
|
|
123 |
c->frame.data, c->frame.linesize, |
|
124 |
picref->format, link->w, link->h); |
|
125 | 125 |
|
126 | 126 |
picref->pts = c->pts; |
127 | 127 |
picref->video->pixel_aspect = c->pixel_aspect; |
Also available in: Unified diff