summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit '28c8e288fa0342fdef532a7522a4707bebf831cc'Michael Niedermayer2012-11-261-41/+44
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '28c8e288fa0342fdef532a7522a4707bebf831cc': x86: h264_chromamc: port to cpuflags yop: fix typo avconv: fix copying per-stream metadata. doc: avtools-common-opts: Fix terminology concerning metric prefixes configure: suncc: Add compiler arch support for Nehalem & Sandy Bridge riff: Make ff_riff_tags static and move under appropriate #ifdef Conflicts: libavformat/riff.c Merged-by: Michael Niedermayer <[email protected]>
| * x86: h264_chromamc: port to cpuflagsDiego Biurrun2012-11-251-41/+44
| |
* | lavu/samplefmt: return the size of the allocated samples buffer at the next bumpStefano Sabatini2012-11-251-1/+3
| | | | | | | | | | | | | | | | | | | | Make the functions av_samples_fill_arrays, av_samples_alloc, and avcodec_fill_audio_frame return a buffer size rather than 0 in case of success. This will be enabled at the next libavutil major bump, in order to preserve backward compatibility. Returning the size allows to simplify the code, avoiding a few function calls.
* | Support switching field order when decoding frwu.Carl Eugen Hoyos2012-11-251-1/+28
| | | | | | | | | | | | | | The binary encoder has a "switch field order" setting that moves one line from the top to the bottom of the frame. Fixes ticket #966.
* | imc: flush decoderMichael Niedermayer2012-11-251-0/+10
| | | | | | | | | | | | | | Fixes Ticket1899 Based on code by ami_stuff Signed-off-by: Michael Niedermayer <[email protected]>
* | tga: check palette size earlier.Michael Niedermayer2012-11-251-4/+5
| | | | | | | | | | | | Fixes Ticket1895 Signed-off-by: Michael Niedermayer <[email protected]>
* | lavc/utils: check return value of avcodec_fill_audio_frame() for < 0Stefano Sabatini2012-11-251-2/+2
| | | | | | | | | | Assume that the value is always negative in case of error, as stated in the docs, do not assume that the value cannot be != 0 in case of success.
* | mpsmpeg4: use av_image_check_sizePeter Ross2012-11-251-5/+4
| | | | | | | | | | | | Signed-off-by: Peter Ross <[email protected]> Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | avrndec: use av_image_check_sizePeter Ross2012-11-251-2/+4
| | | | | | | | | | | | Signed-off-by: Peter Ross <[email protected]> Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | rawdec: use av_image_check_sizePeter Ross2012-11-251-4/+2
| | | | | | | | | | | | Signed-off-by: Peter Ross <[email protected]> Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | iff decoder: initialise HAM line decoder with first palette entryPeter Ross2012-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | The palette is organised into 'hold' and 'modify' pairs, hence why the first palette entry is pal[1]. Fixes ticket #1701. Signed-off-by: Peter Ross <[email protected]> Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | smacker: fix smacker_decode_header_tree() empty vlc table initMichael Niedermayer2012-11-251-14/+20
| | | | | | | | | | | | Fixes Ticket1858 Signed-off-by: Michael Niedermayer <[email protected]>
* | adpcmdec: Fix OOM/infloopMichael Niedermayer2012-11-241-0/+5
| | | | | | | | | | Found-by: ami_stuff Signed-off-by: Michael Niedermayer <[email protected]>
* | libopencore_amrwb: check packet sizeMichael Niedermayer2012-11-241-0/+4
| | | | | | | | | | | | Fix OOM Signed-off-by: Michael Niedermayer <[email protected]>
* | smacker: sanity check audio size.Michael Niedermayer2012-11-241-0/+5
| | | | | | | | | | | | | | Fixes, excessive memory allocation Fixes Ticket1892 Signed-off-by: Michael Niedermayer <[email protected]>
* | atrac1: Check block align.Michael Niedermayer2012-11-241-0/+5
| | | | | | | | | | | | | | Fixes OOM Fixes second samples posted in Ticket1893 Signed-off-by: Michael Niedermayer <[email protected]>
* | ra288: Check block align.Michael Niedermayer2012-11-241-0/+5
| | | | | | | | | | | | | | Fixes OOM Fixes Ticket1893 Signed-off-by: Michael Niedermayer <[email protected]>
* | Fix type of default value for v210 decoder option -custom_stride.Carl Eugen Hoyos2012-11-241-1/+1
| | | | | | | | Reviewed-by: Paul B Mahol
* | codec_desc: mark PCM A-law/mu-law lossyPaul B Mahol2012-11-241-0/+2
| | | | | | | | Signed-off-by: Paul B Mahol <[email protected]>
* | codec_desc: provide aliases for PCM A-law/mu-lawPaul B Mahol2012-11-241-2/+2
| | | | | | | | | | | | Inspired by d21b82fd3a72751a77dbeda3aa17a3af5e009565. Signed-off-by: Paul B Mahol <[email protected]>
* | ADPCM IMA Dialogic decoderPaul B Mahol2012-11-249-1/+51
| | | | | | | | Signed-off-by: Paul B Mahol <[email protected]>
* | rl2: return meaningful error codesPaul B Mahol2012-11-241-5/+6
| | | | | | | | Signed-off-by: Paul B Mahol <[email protected]>
* | ratecontrol: Fix assertion failure on mismatching 2pass file.Michael Niedermayer2012-11-241-1/+4
| | | | | | | | | | | | Fixes Ticket582 Signed-off-by: Michael Niedermayer <[email protected]>
* | replace av_log(0, by av_log(NULL,Michael Niedermayer2012-11-238-12/+12
| | | | | | | | | | | | The first parameter is a pointer and NULL is more correct Signed-off-by: Michael Niedermayer <[email protected]>
* | x86/mpegvideoenc_template: use av_assertMichael Niedermayer2012-11-231-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | motion_est: use av_assert* instead of assertMichael Niedermayer2012-11-231-3/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | h263dec: switch 2 asserts to av_assertMichael Niedermayer2012-11-231-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | dv: use av_assertMichael Niedermayer2012-11-231-5/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge commit '4a606c830ae664013cea33800094d4d0f4ec62da'Michael Niedermayer2012-11-231-6/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '4a606c830ae664013cea33800094d4d0f4ec62da': av_memcpy_backptr: optimise some special cases mpegvideo: simplify dxy calculation in hpel_motion() build: add rules to generate preprocessed source files Conflicts: Makefile libavutil/mem.c library.mak Merged-by: Michael Niedermayer <[email protected]>
| * mpegvideo: simplify dxy calculation in hpel_motion()Mans Rullgard2012-11-231-6/+5
| | | | | | | | Signed-off-by: Mans Rullgard <[email protected]>
* | ffv1dec: remove incorrect assert()Michael Niedermayer2012-11-231-2/+0
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | truemotion2: Fix av_log level and contextMichael Niedermayer2012-11-231-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | mpeg12: fix av_log level and contextMichael Niedermayer2012-11-231-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | dcadec: fix av_log levelMichael Niedermayer2012-11-231-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | vqavideo: Reinitialise the actually used partial codebook bytestream-reader.Carl Eugen Hoyos2012-11-221-3/+1
| | | | | | | | Fixes ticket #1942.
* | ADPCM AFC decoderPaul B Mahol2012-11-228-1/+60
| | | | | | | | Signed-off-by: Paul B Mahol <[email protected]>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-11-221-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | * qatar/master: id3v2: fix reading unsynchronized frames. cdgraphics: fix incorrect vertical offset mask in cdg_scroll() apetag: fix error handling in ff_ape_parse_tag() Conflicts: libavformat/id3v2.c Merged-by: Michael Niedermayer <[email protected]>
| * cdgraphics: fix incorrect vertical offset mask in cdg_scroll()Xi Wang2012-11-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The vertical offset mask 0x07 is suspicious. v_off = FFMIN(data[2] & 0x07, CDG_BORDER_HEIGHT - 1); Note that v_off is up to 11 (CDG_BORDER_HEIGHT - 1), the correct mask should be 0x0F. Signed-off-by: Xi Wang <[email protected]> Signed-off-by: Anton Khirnov <[email protected]>
* | frwu: do not set interlacing flags.Michael Niedermayer2012-11-221-2/+0
| | | | | | | | | | | | | | | | | | | | | | Our fate frwu sample is definitely not interlaced. If someone has a interlaced frwu file, please contact us. Without this change the field order patch would cause incorrect interlacing information to be written when using frwu input. Signed-off-by: Michael Niedermayer <[email protected]>
* | brender: move declaration out of for() to make old compilers happy.Michael Niedermayer2012-11-221-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | brender_pix: a new image decoderAleksi Nurmi2012-11-226-1/+253
| | | | | | | | | | | | | | PIX is an image file format that was used by the BRender 3d engine. Signed-off-by: Aleksi Nurmi <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | use correct doxygen parameter direction syntaxPeter Ross2012-11-211-5/+5
| | | | | | | | | | | | Signed-off-by: Peter Ross <[email protected]> Reviewed-by: Stefano Sabatini <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | ensure comment blocks that contain doxygen commands start with double asterixPeter Ross2012-11-218-16/+16
| | | | | | | | | | Reveiwed-by: Stefano Sabatini <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | imgconvert-test: count the number of unused pixel format values.Michael Niedermayer2012-11-211-1/+8
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | imgconvert-test: skip pix formats without nameMichael Niedermayer2012-11-211-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | imgconvert-test: test alpha flagsMichael Niedermayer2012-11-211-1/+7
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | imgconvert: remove avg_bits_per_pixel(), its redundantMichael Niedermayer2012-11-211-10/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | codec_descriptors: fix typo in mpeg 2 videoMichael Niedermayer2012-11-211-1/+1
| | | | | | | | | | Found-by: Ramiro Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-11-211-6/+4
|\| | | | | | | | | | | | | | | | | | | | | * qatar/master: flashsv: Drop unused function and struct parameters pcm: fix decoding of pcm_s16le_planar on big-endian Conflicts: libavcodec/pcm.c Merged-by: Michael Niedermayer <[email protected]>
| * flashsv: Drop unused function and struct parametersDiego Biurrun2012-11-211-6/+4
| |