aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tiny_psnr.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-10-14 11:33:28 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-10-22 13:32:15 +0200
commitdca23ffbc7568c9af5c5fbaa86e6a0761ecae50c (patch)
treeaf7dc53eee966b592c4d01c17675b51e4d293dc2 /tests/tiny_psnr.c
parent3ee2c60cc296eee3f63d7b5fee9b4332eeeac9fa (diff)
downloadffmpeg-dca23ffbc7568c9af5c5fbaa86e6a0761ecae50c.tar.gz
lavc: Deprecate AVPicture structure and related functions
This structure served as a bridge between data pointers and frames, but it suffers from several limitations: - it is not refcounted and data must be copied to every time - it cannot be expanded without ABI break due to being used on the stack - its functions are just wrappers to imgutils which add a layer of unneeded indirection, and maintenance burden - it allows hacks like embedding uncompressed data in packets - its use is often confusing to our users AVFrame provides a much better API, and, if a full blown frame is not needed, it is just as simple and more straightfoward to use data and linesize arrays directly. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'tests/tiny_psnr.c')
0 files changed, 0 insertions, 0 deletions