Implement av_get_image_linesize() and use it in
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Thu, 12 Aug 2010 15:05:58 +0000 (15:05 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Thu, 12 Aug 2010 15:05:58 +0000 (15:05 +0000)
commit7906e2b974566c897526a8a7561b380687af8323
tree77823797971eafea23a1473c944b78bcb86c5942
parent27014bf5a3151f1e340d7ac170f3fdd3e0bcf395
Implement av_get_image_linesize() and use it in
ff_get_plane_bytewidth().

The new implementation is more generic, more compact and more correct.

Originally committed as revision 24786 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/avcodec.h
libavcodec/imgconvert.c
libavcore/avcore.h
libavcore/imgutils.c
libavcore/imgutils.h