summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* brender_pix: a new image decoderAleksi Nurmi2012-11-22
| | | | | | | PIX is an image file format that was used by the BRender 3d engine. Signed-off-by: Aleksi Nurmi <aleksi.nurmi@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* use correct doxygen parameter direction syntaxPeter Ross2012-11-21
| | | | | | Signed-off-by: Peter Ross <pross@xvid.org> Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* ensure comment blocks that contain doxygen commands start with double asterixPeter Ross2012-11-21
| | | | | Reveiwed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* imgconvert-test: count the number of unused pixel format values.Michael Niedermayer2012-11-21
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* imgconvert-test: skip pix formats without nameMichael Niedermayer2012-11-21
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* imgconvert-test: test alpha flagsMichael Niedermayer2012-11-21
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* imgconvert: remove avg_bits_per_pixel(), its redundantMichael Niedermayer2012-11-21
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* codec_descriptors: fix typo in mpeg 2 videoMichael Niedermayer2012-11-21
| | | | | Found-by: Ramiro Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-11-21
|\ | | | | | | | | | | | | | | | | | | | | * 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 <michaelni@gmx.at>
| * flashsv: Drop unused function and struct parametersDiego Biurrun2012-11-21
| |
| * pcm: fix decoding of pcm_s16le_planar on big-endianJustin Ruggles2012-11-20
| | | | | | | | | | | | The sample count is decremented by the DECODE() macro and needs to be reset in each loop iteration. Also, DECODE() increments the src pointer so that does not need to be done separately.
* | Merge commit 'ae3822bca16f1cdb2460a35b16f8ef636a04314e'Michael Niedermayer2012-11-21
|\| | | | | | | | | | | | | | | | | | | * commit 'ae3822bca16f1cdb2460a35b16f8ef636a04314e': imgconvert: remove PixFmtInfo Conflicts: libavcodec/imgconvert.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * imgconvert: remove PixFmtInfoLuca Barbato2012-11-20
| | | | | | | | It is pleonastic and was used in stale functions pending replacement.
* | imgconvert: fix color type for non normal pix_fmts like HW stuff and unused ↵Michael Niedermayer2012-11-21
| | | | | | | | | | | | entries. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec_get_pix_fmt_loss: remove PixFmtInfo useMichael Niedermayer2012-11-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | imgconvert: print color type tooMichael Niedermayer2012-11-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | imgconvert: remove PixFmtInfo use from avg_bits_per_pixel()Michael Niedermayer2012-11-21
| | | | | | | | | | | | | | This fixes several inconsistencies with YUV >8bit formats caused due to missing information in the PixFmtInfo table. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec_find_best_pix_fmt_of_2: favor formats with fewer components if it ↵Michael Niedermayer2012-11-21
| | | | | | | | | | | | does not incur a loss. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | imgconvert-test: add avg bits per pixelMichael Niedermayer2012-11-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | is_yuv_planar: remove use of PixFmtInfoMichael Niedermayer2012-11-21
| | | | | | | | | | | | This fixes the behavior for a few yuva 16bit formats Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | imgconvert: add self test codeMichael Niedermayer2012-11-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'd1d9efaae6c7e8466b06c30ca21c6b569dd2e480'Michael Niedermayer2012-11-21
|\| | | | | | | | | | | | | | | | | | | | | * commit 'd1d9efaae6c7e8466b06c30ca21c6b569dd2e480': avcodec: split avpicture from imgconvert pixdesc: add PIX_FMT_ALPHA flag Conflicts: libavcodec/imgconvert.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec: split avpicture from imgconvertLuca Barbato2012-11-20
| | | | | | | | All the non deprecated functions are in avpicture.c now.
* | rc: fix 10l typo in rc_max_available_vbv_use calculationMichael Niedermayer2012-11-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | add some planar PCM encodersPaul B Mahol2012-11-20
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | pcmdec: use memcpy() when possible for planar decodersPaul B Mahol2012-11-20
| | | | | | | | | | | | This is faster (at least with clang). Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | pcmenc: use ENCODE macro for pcm_s8Paul B Mahol2012-11-20
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | pcm: revert from libavs planar code to durandals.Michael Niedermayer2012-11-20
| | | | | | | | | | | | The libav code does not work on big endian. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '7c278d2ae410a64bdd89f1777026b4b963c30a1a'Michael Niedermayer2012-11-20
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '7c278d2ae410a64bdd89f1777026b4b963c30a1a': alacenc: support 24-bit encoding pcmdec: use planar sample format for pcm_s16le_planar vorbisdec: use float planar sample format Conflicts: libavcodec/pcm.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * alacenc: support 24-bit encodingJustin Ruggles2012-11-20
| |
| * pcmdec: use planar sample format for pcm_s16le_planarJustin Ruggles2012-11-19
| |
| * vorbisdec: use float planar sample formatJustin Ruggles2012-11-19
| |
* | 8svx: move pcm_s8_planar decoder to pcm.cPaul B Mahol2012-11-20
| | | | | | | | | | | | | | | | | | | | Removes limitation of max 2 channels for pcm_s8_planar decoder by moving it to more natural place. AV_CODEC_ID_8SVX_RAW is not used by anything anymore and is going to be removed. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | 4xm: return error code if decode_init() failedPaul B Mahol2012-11-20
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | aacsbr: check sample_rate before using it, fix division by 0Michael Niedermayer2012-11-20
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | 4xmdec: fix integer overflow, null ptr dereferenceMichael Niedermayer2012-11-20
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | iff: DEEP RLE 32-bit decoderPeter Ross2012-11-20
| | | | | | | | | | | | Fixes ticket #1046. Signed-off-by: Peter Ross <pross@xvid.org>
* | mips: Optimization of AC3 FP encoder and EAC3 FP decoderBojan Zivkovic2012-11-19
| | | | | | | | | | | | Signed-off-by: Bojan Zivkovic <bojan@mips.com> Reveiwed-by: Vitor Sessak <vitor1001@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pthreads: increase MAX_BUFFERS due to 24c043c98ef22b9d4aa7a54ec5f1cebd21042dd7Michael Niedermayer2012-11-19
| | | | | | | | | | | | This might fix a hypothetical memleak Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vble: remove superfluous bracesPiotr Bandurski2012-11-19
| | | | | | | | | | Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-11-19
|\| | | | | | | | | | | | | | | * qatar/master: x86: h264_intrapred: Fix C function names in comments x86: SPLATD: port to cpuflags Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: h264_intrapred: Fix C function names in commentsDiego Biurrun2012-11-18
| | | | | | | | | | Function names changed after switching to declaration with PRED4x4/8x8/8x8L/16x16 macros in the C code.
| * x86: SPLATD: port to cpuflagsDiego Biurrun2012-11-18
| |
* | Merge commit '1c5805521c3e406886341d752ebf38f8d41e1d13'Michael Niedermayer2012-11-19
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '1c5805521c3e406886341d752ebf38f8d41e1d13': PGS subtitles: Set AVSubtitle pts value configure: Refactor CPPFLAGS settings for glibc/uclibc configure: add basic support for ARM AArch64 build: set -U__STRICT_ANSI__ for newlib Conflicts: configure libavcodec/pgssubdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * PGS subtitles: Set AVSubtitle pts valueJohn Stebbins2012-11-18
| | | | | | | | | | | | pts should be that of the packet containing the presentation segment. Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * h264: Fix parameters to ff_er_add_slice() callJanne Grunau2012-11-16
| | | | | | | | | | | | | | | | | | s->mb_x is reset to zero a couple of lines above. It does not make sense to call ff_er_add_slice() with 0 as endx when the end of the macroblock row was reached. Fixes unnecessary and counterproductive error resilience in https://bugzilla.libav.org/show_bug.cgi?id=394. CC: libav-stable@libav.org
| * h264: always check ref_count for validityJanne Grunau2012-11-16
| | | | | | | | Fixes a crash with zuffed files.
* | sbr: increase f_tablelim size, it appears it was too small by 1.Michael Niedermayer2012-11-19
| | | | | | | | | | | | | | Prevent out of array accesses. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | h264: dont stop parsing NALs without cleanup on DPC.Michael Niedermayer2012-11-19
| | | | | | | | | | | | | | Fixes a deadlock with frame threads Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vble: do not abort when version is not 1Piotr Bandurski2012-11-19
| | | | | | | | | | | | Fixes ticket #1923. Reviewed-by: Derek Buitenhuis