aboutsummaryrefslogtreecommitdiff
path: root/libavcodec
AgeCommit message (Collapse)Author
2012-08-27dpx: 10 and 12 bit decodingGeorg Lippitsch
Rewrite 10 bit dpx decoder to decode into GBRP10 color space instead of converting to RGB48. Add 12 bit decoder to decode into GBRP12 color space. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-27Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: vf_hqdn3d: Don't declare the loop variable within the for loop huffyuv: update to current coding style huffman: update to current coding style rtsp: Free the rtpdec context properly build: fft: x86: Drop unused YASM-OBJS-FFT- variable Conflicts: libavcodec/huffman.c libavcodec/huffyuv.c libavcodec/x86/Makefile libavfilter/vf_hqdn3d.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-27huffyuv: update to current coding styleLuca Barbato
2012-08-27huffman: update to current coding styleLuca Barbato
2012-08-27build: fft: x86: Drop unused YASM-OBJS-FFT- variableDiego Biurrun
2012-08-26Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: audio_frame_queue: Clean up ff_af_queue_log_state debug function dwt: Remove unused code. cavs: convert cavsdata.h to a .c file cavs: Move inline functions only used in one file out of the header cavs: Move data tables used in only one place to that file fate: Add a single symbol Ut Video decoder test vf_hqdn3d: x86 asm vf_hqdn3d: support 16bit colordepth avconv: prefer user-forced input framerate when choosing output framerate Conflicts: ffmpeg.c libavcodec/audio_frame_queue.c libavcodec/dwt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-26audio_frame_queue: Clean up ff_af_queue_log_state debug functionDiego Biurrun
The function is debug-only, so only compile it in debug mode. Make it static as it has no uses outside of the file. Change av_log() to av_dlog().
2012-08-26dwt: Remove unused code.Diego Biurrun
2012-08-26cavs: convert cavsdata.h to a .c fileMans Rullgard
Defining tables in header files is ugly and prone to duplication. Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-08-26cavs: Move inline functions only used in one file out of the headerDiego Biurrun
2012-08-26cavs: Move data tables used in only one place to that fileDiego Biurrun
2012-08-26avrndec: silence warning about incompatible pointer typesPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-08-26h264: ff_init_cabac_states doesnt use its argument thus remove itMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-26Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: x86: fft: remove unused fft_dispatch* functions avconv: remove unused variable opt_shortest FATE: Add Canopus Lossless tests cllc: Pad swapped buffer Conflicts: ffmpeg_opt.c tests/ref/fate/cllc-argb tests/ref/fate/cllc-rgb Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-25x86: fft: remove unused fft_dispatch* functionsMans Rullgard
These functions are not used since the yasm conversion. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-25lavc: add some missing .long_name to codec_descriptors[]Paul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-08-24cllc: Pad swapped bufferDerek Buitenhuis
The bitstream buffer must be padded, or the bitstream reader might read over the end. Fixes the following valgrind warning: Use of uninitialised value of size 8 at 0x591BAE: cllc_decode_frame (cllc.c:166) Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-08-25dpx: 10 and 12 bit encodingGeorg Lippitsch
Encode GBRP10 pixel format into 10 bit DPX. Encode GBRP12 pixel format into 12 bit DPX. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-24Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: utvideodec: Fix single symbol mode decoding truespeech: drop useless casts libavcodec: drop bogus dependencies from mpc[78] and qdm2 mpegaudio: move ff_mpa_enwindow to a separate file AVOptions: store defaults for INT64 options in int64 union member. Conflicts: libavcodec/Makefile libavfilter/af_asyncts.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-24Merge commit 'a1bcc76e6036e78f25cbb7323c145056cfca9d93'Michael Niedermayer
* commit 'a1bcc76e6036e78f25cbb7323c145056cfca9d93': (21 commits) cmdutils: fix a memleak when specifying an option twice. x86: mpegvideo: more sensible names for optimization file and init function x86: mpegvideoenc: Split optimizations off into a separate file dnxhdenc: x86: more sensible names for optimization file and init function svq1/svq3: Move common code out of SVQ1 decoder-specific file dirac: add Comments and references to the standard lavr: x86: optimized 6-channel flt to fltp conversion lavr: x86: optimized 2-channel flt to fltp conversion lavr: x86: optimized 6-channel flt to s16p conversion lavr: x86: optimized 2-channel flt to s16p conversion lavr: x86: optimized 6-channel s16 to fltp conversion lavr: x86: optimized 2-channel s16 to fltp conversion lavr: x86: optimized 6-channel s16 to s16p conversion lavr: x86: optimized 2-channel s16 to s16p conversion lavr: x86: optimized 2-channel fltp to flt conversion lavr: x86: optimized 6-channel fltp to s16 conversion lavr: x86: optimized 2-channel fltp to s16 conversion lavr: x86: optimized 6-channel s16p to flt conversion lavr: x86: optimized 2-channel s16p to flt conversion lavr: x86: optimized 6-channel s16p to s16 conversion ... Conflicts: libavcodec/dirac.c libavcodec/mpegvideo.h libavcodec/x86/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-24utvideodec: Fix single symbol mode decodingJan Ekström
Put the zero length check in place of code that was never used during decoding, as zero-length slices were generally refused in decode_frame(). Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
2012-08-24lavc/dvdsubenc: check the type of rectangles.Nicolas George
Avoid a crash if a text rectangle is provided. Fix the segfault reported in trac ticket #1661.
2012-08-24truespeech: drop useless castsMans Rullgard
These values already have the correct types. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-24libavcodec: drop bogus dependencies from mpc[78] and qdm2Mans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-24mpegaudio: move ff_mpa_enwindow to a separate fileMans Rullgard
This table is used only by mpegaudiodsp and mpegaudioenc. Separating it allows dropping some dependencies from mpc[78] and qdm2. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-24AVOptions: store defaults for INT64 options in int64 union member.Anton Khirnov
Double does not have enough precision to represent all int64 numbers exactly.
2012-08-24x86: mpegvideo: more sensible names for optimization file and init functionDiego Biurrun
2012-08-24x86: mpegvideoenc: Split optimizations off into a separate fileDiego Biurrun
2012-08-24dnxhdenc: x86: more sensible names for optimization file and init functionDiego Biurrun
2012-08-24svq1/svq3: Move common code out of SVQ1 decoder-specific fileDiego Biurrun
2012-08-24dirac: add Comments and references to the standardJordi Ortiz
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-08-23mjpeg: fix fliping with emu edges.Michael Niedermayer
Fixes Ticket121 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-23Fix partially hidden macroblocks for 10-bit DNxHD.Joseph Artsimovich
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-23ffv1: more than 8 bit per RGB channelGeorg Lippitsch
Add support for GBRP9, GBRP10, GBRP12 and GBRP14 pix formats in ffv1. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-23lagarith: fix alignment on buffers passed into prediction dsp code.Michael Niedermayer
This should fix issues with direct rendering Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-23mpeg4audio: dont take the SBR flag too serious.Michael Niedermayer
Fixes Ticket1049 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-23Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: doc/APIchanges: add an entry for codec descriptors. vorbisenc: set AVCodecContext.bit_rate to 0 vorbisenc: fix quality parameter FATE: add ALAC encoding tests lpc: fix alignment of windowed samples for odd maximum LPC order alacenc: use s16p sample format as input alacenc: remove unneeded sample_fmt check alacenc: fix max_frame_size calculation for the final frame adpcm_swf: Use correct sample offsets when using trellis. rtmp: support strict rtmp servers mjpegdec: support AVRn interlaced x86: remove FASTDIV inline asm Conflicts: doc/APIchanges libavcodec/mjpegdec.c libavcodec/vorbisenc.c libavutil/x86/intmath.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-22vorbisenc: set AVCodecContext.bit_rate to 0Justin Ruggles
The Vorbis encoder is always VBR.
2012-08-22vorbisenc: fix quality parameterJustin Ruggles
This generates output with bitrates similar to libvorbis for a given quality value.
2012-08-22lpc: fix alignment of windowed samples for odd maximum LPC orderJustin Ruggles
Fixes crash on x86 due to alignment requirements for w_data in lpc_apply_welch_window_sse2().
2012-08-22alacenc: use s16p sample format as inputJustin Ruggles
2012-08-22alacenc: remove unneeded sample_fmt checkJustin Ruggles
2012-08-22alacenc: fix max_frame_size calculation for the final frameJustin Ruggles
2012-08-22utvideoenc: use dsp.sub_hfyu_median_predictionMichael Niedermayer
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-22utvideoenc: align mangled buffer starts.Michael Niedermayer
This is essential for fast SIMD accesses. The same should be done with the predict output. Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-22utvideoenc: drop stepMichael Niedermayer
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-22utvideoenc: avoid writing into the input picture.Michael Niedermayer
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-22utvideoenc: use ff_generate_len()Michael Niedermayer
19% faster smaller files this may also fix possible integer overflows due to previous 32bit useage Tested with libutvideo and our utvideo decoder, this patch does not change decoder output in the test Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-22adpcm_swf: Use correct sample offsets when using trellis.Justin Ruggles
Fixes invalid reads when encoding mono streams when trellis is used.
2012-08-22mjpegdec: support AVRn interlacedMichael Niedermayer
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>