summaryrefslogtreecommitdiffstats
path: root/libavcodec/dnxhddata.c
Commit message (Collapse)AuthorAgeFilesLines
* dnxhd: Fix 10-bit DNxHD quant matricesJoseph Artsimovich2012-07-201-32/+34
| | | | | | | | | | | | Convert them to zigzag order, as the rest of them are. When I was adding support for 10-bit DNxHD, I just copy-pasted the missing quant matrices from the spec. Now it turns out the existing matrices in dnxhddata.c were in zigzag order. This resulted in wrong quantization for 10-bit DNxHD. The attached patch fixes the problem by converting 10-bit quant matrices to zigzag order. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* remove unreferenced table "dnxhd_1238_ac_index_flag" (empty curly braces did ↵J. Bohl2012-06-091-3/+0
| | | | | | not compile with ICL12.1) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'mans/dnxhd'Michael Niedermayer2011-10-221-346/+230
|\ | | | | | | | | | | | | | | | | | | * mans/dnxhd: dnxhddec: cache luma/chroma_weight*qscale tables for last qscale dnxhddec: merge ac_{index,run}_flags dnxhddec: store 2*level+1 in ac_level tables dnxhddec: rearrange decode_dct_block loop Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dnxhddec: merge ac_{index,run}_flagsMans Rullgard2011-07-241-225/+109
| | | | | | | | | | | | | | These tables contain only a 1-bit flag each. Combining them reduces the data size and saves some instructions in the block decode loop. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * dnxhddec: store 2*level+1 in ac_level tablesMans Rullgard2011-07-241-112/+112
| | | | | | | | | | | | | | This is the value actually used by the decoder in speed-critical code. The encoder uses these tables only in init code. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-221-2/+200
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: dnxhddec: optimise dnxhd_decode_dct_block() rtp: remove disabled code eac3enc: use different numbers of blocks per frame to allow higher bitrates dnxhd: add regression test for 10-bit dnxhd: 10-bit support dsputil: update per-arch init funcs for non-h264 high bit depth dsputil: template get_pixels() for different bit depths dsputil: create 16/32-bit dctcoef versions of some functions jfdctint: add 10-bit version mov: add clcp type track as Subtitle stream. mpeg4: add Mpeg4 Profiles names. mpeg4: decode Level Profile for MPEG4 Part 2. ffprobe: display bitstream level. imgconvert: remove unused glue and xglue macros Conflicts: libavcodec/dsputil_template.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dnxhd: 10-bit supportJoseph Artsimovich2011-07-211-2/+200
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * dnxhd: rename some data tablesJoseph Artsimovich2011-07-211-16/+16
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-091-36/+574
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (28 commits) mp3enc: write a xing frame containing number of frames in the file lavf: update AVStream.nb_frames when muxing. ffmpeg: remove unused variables from InputStream. doc: update ffmpeg -ar and -ac documentation to reflect reality. ffmpeg: remove pointless if (nb_input_files) ffmpeg: merge input_files_ts_offset into input_files. ffmpeg: merge input_codecs into input_streams. ffmpeg: drop AV prefixes from struct names. ffmpeg: deprecate loop_input and loop_output options gif: add loop private option. img2: add loop private option. AVOptions: in av_opt_find() don't return named constants unless unit is specified. x11grab: replace undocumented nomouse hackery with a private option. dict: extend documentation. lls: whitespace cosmetics docs: Use proper markup for a literal command line option docs: Remove a remark that isn't relevant any longer docs: Explain how to regenerate import libraries with MSVC tools docs: Mention that libraries for MSVC can be built with a cross compiler docs: Remove old docs that mention setting up a build environment with lib.exe ... Conflicts: doc/ffmpeg.texi doc/general.texi ffmpeg.c libavcodec/Makefile libavcodec/dnxhddata.c libavformat/mp3enc.c libavformat/utils.c libavutil/Makefile tests/copycooker.sh Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dnxhd: prettify tablesMans Rullgard2011-07-081-36/+574
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | dnxhd: Renama tablesJoseph Artsimovich2011-06-101-16/+16
|/
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-191-1/+1
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove duplicate tablesStefan Gehrer2009-01-161-19/+2
| | | | Originally committed as revision 16647 to svn://svn.ffmpeg.org/ffmpeg/trunk
* uses FF_ARRAY_ELEMS() where appropriateAurelien Jacobs2008-10-211-2/+2
| | | | Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
* return if bitrate is not specified or too lowBaptiste Coudurier2008-06-011-0/+2
| | | | Originally committed as revision 13611 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add bitrate helper to choose all dnxhd variantsBaptiste Coudurier2007-12-181-8/+35
| | | | Originally committed as revision 11260 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dnxhd 720p encoding and decoding supportBaptiste Coudurier2007-12-021-0/+117
| | | | Originally committed as revision 11133 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dnxhd 36mbit supportBaptiste Coudurier2007-10-081-0/+6
| | | | Originally committed as revision 10689 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typo weigth->weightBaptiste Coudurier2007-10-081-12/+12
| | | | Originally committed as revision 10687 to svn://svn.ffmpeg.org/ffmpeg/trunk
* preliminary 10 bit depth decoding support, still miss generic api to export ↵Baptiste Coudurier2007-10-081-0/+67
| | | | | | picture, working on it Originally committed as revision 10686 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dnxhd 120 interlaced supportBaptiste Coudurier2007-08-101-0/+28
| | | | Originally committed as revision 10063 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move dnxhd data tables to separate fileBaptiste Coudurier2007-08-041-0/+198
Originally committed as revision 9906 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud