aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libutvideo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* libutvideo: Add Ut Video encoder wrapperDerek Buitenhuis2012-03-051-199/+0
| | | | | | | | | All colorspaces are supported. Renamed libutvideo.cpp to libutvideodec.cpp. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libutvideo: Move structs and includes to headerDerek Buitenhuis2012-03-051-25/+9
| | | | | | | | This is so the forthcoming encoder wrapper can share them. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Fix libutvideo compilation.Carl Eugen Hoyos2012-02-071-8/+18
| | | | Fixes ticket #985.
* Revert "libutvideodec: Make buf_size local"Derek Buitenhuis2011-12-011-3/+3
| | | | | | | | | | This change was dependent on a different patch that never actually made it into FFmpeg, and it actually ended up breaking builds. This reverts commit 70cf7bb958899c369f778e29b8bd4203723bed04. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libutvideo: use K&R style.Clément Bœsch2011-11-171-48/+43
|
* libutvideodec: Check if the decode initializes correctlyDerek Buitenhuis2011-11-071-1/+10
| | | | | | | | Actually check the return value of DecodeBegin, to make sure that it has encountered no errors. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libutvideodec: Remove CODEC_CAP_LOSSLESSDerek Buitenhuis2011-11-071-1/+1
| | | | | | | | Remove the CODEC_CAP_LOSSLESS flag, as it doesn't make any sense for a decoder to use it. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libutvideodec: Make buf_size localDerek Buitenhuis2011-11-071-3/+3
| | | | | | | | Since buf_size is only used in this one function, there is no reason for it to be part of UtVideoContext. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libutvideodec: Fix typoDerek Buitenhuis2011-11-071-1/+1
| | | | | | | Remove extraneous space. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libutvideodec: Width and height don't need to be unsignedDerek Buitenhuis2011-11-071-1/+1
| | | | | | | | | Width and height, as used in utvideo_decode_frame, do not need to be unsigned, and it could cause sign-compare warnings later on. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libutvideodec: Fix name of extradata memberDerek Buitenhuis2011-11-071-2/+2
| | | | | | | | The frameinfo size member of the Ut Video extradata was erroneously thought to be the number of stripes. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libutvideodec: remove impossible pix_fmt caseDerek Buitenhuis2011-11-071-1/+0
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libutvideo: Don't try and output original_formatDerek Buitenhuis2011-11-071-42/+14
| | | | | | | | | | | | The original format field in Ut Video's extradata should not be used to determine the output format. Cases can occur where the original format differs from the actual current format, and thus should not be used as the output format. Instead, rely solely on the FOURCC. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Fix libutvideo wrapper nameDerek Buitenhuis2011-11-041-1/+1
| | | | | | | | Change the libutvideo wrapper name to "libutvideo", as it currently conflicts with the native utvideo decoder's name of "utvideo". Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libutvideo: Add Ut Video Decoder WrapperDerek Buitenhuis2011-10-171-0/+230
Add a wrapper for libutvideo's decoder. This supports decoding the following FOURCCs: ULY0 - 4:2:0 YCbCr ULY2 - 4:2:2 YCbCr ULRG - RGB ULRA - RGBA Also, bump version. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>