summaryrefslogtreecommitdiff
path: root/libavcodec/cfhddata.c
Commit message (Collapse)AuthorAge
* avcodec/vlc: Use structure instead of VLC_TYPE array as VLC elementAndreas Rheinhardt2022-06-17
| | | | | | | | | | | | | | | | | | In C, qualifiers for arrays are broken: const VLC_TYPE (*foo)[2] is a pointer to an array of two const VLC_TYPE elements and unfortunately this is not compatible with a pointer to a const array of two VLC_TYPE, because the latter does not exist as array types are never qualified (the qualifier applies to the base type instead). This is the reason why get_vlc2() doesn't accept a const VLC table despite not modifying the table at all, as there is no automatic conversion from VLC_TYPE (*)[2] to const VLC_TYPE (*)[2]. Fix this by using a structure VLCElem for the VLC table. This also has the advantage of making it clear which element is which. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* Merge commit '5f794aa1653aa04c1da7397e9ccacad947fadf5f'James Almer2017-10-17
|\ | | | | | | | | | | | | | | | | | | | | | | * commit '5f794aa1653aa04c1da7397e9ccacad947fadf5f': Add Cineform HD Decoder See 3485332bf99602910fe8830b0230d02fc653135d. Some cosmetics are merged. The refactoring is not merged at the request of Kieran Kunhya. Merged-by: James Almer <jamrial@gmail.com>
| * Add Cineform HD DecoderKieran Kunhya2017-03-09
| | | | | | | | | | Decodes YUV 4:2:2 10-bit and RGB 12-bit files. Older files with more subbands, skips, Bayer, alpha not supported. Further fixes and refactorings by Anton Khirnov <anton@khirnov.net>, Diego Biurrun <diego@biurrun.de>, Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avcodec: Cineform HD DecoderKieran Kunhya2016-01-30
Decodes YUV 4:2:2 10-bit and RGB 12-bit files. Older files with more subbands, skips, Bayer, alpha not supported. Alpha requires addition of GBRAP12 pixel format.