summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* doc: avoid incorrect phrase 'allows to'Andreas Cadhalpun2015-06-16
| | | | | | | | Also fix typo found by Lou Logan: Sacrifying -> Sacrificing Reviewed-by: Lou Logan <lou@lrcd.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* avcodec/codec_desc: rename smv video codec name to smvjpeg to match decoder namePaul B Mahol2015-06-16
| | | | | | Also fixes clash with smv audio codec. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/jpeg2000dwt: Fix 9/7 IDWT for small sizesMichael Niedermayer2015-06-16
| | | | | | Fixes Ticket4631 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/jpeg2000dwt: add special cases for handling length 1 in 5/3 decodeMichael Niedermayer2015-06-16
| | | | | | Fixes Ticket4630 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/jpeg2000dec: Improve end checkMichael Niedermayer2015-06-16
| | | | | | Fixes spurious end mismatch warnings Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/jpeg2000dec: Fix term_cnt checkMichael Niedermayer2015-06-16
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/flacenc: Fix Invalid Rice orderGeorge Boyle2015-06-16
| | | | | | | | | | | | | Fixes ticket #4628. The problem arose, in the sample file at least, in the last block where the minimum and maximum Rice partition orders were both 0. In that case, and any other where pmax == pmin, the original UINT32_MAX placeholder value for bits[opt_porder] was getting overwritten before the comparison to check if the current partition order is a new optimal, so the correct partition order and RiceContext params were not being set. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/jpeg2000dec: increase tile part limit to 32Michael Niedermayer2015-06-15
| | | | | | Fixes Ticket4629 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '9af7e8045e3e63ab39adedae9a7c11b1c410af26'Michael Niedermayer2015-06-15
|\ | | | | | | | | | | | | | | | | | | * commit '9af7e8045e3e63ab39adedae9a7c11b1c410af26': lavc: Clarify the behaviour of dimension and format context fields Conflicts: libavcodec/avcodec.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: Clarify the behaviour of dimension and format context fieldsLuca Barbato2015-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | The AVCodecContext width, height, coded_width, coded_height and format are used mainly as decoding hints and they get internally overwritten during the data parsing stage. Do not assume they match the last AVFrame provided by avcodec_decode_video2 and assimilated functions since multi-threading and other frame reordering might make those values to refer to frames that will be outputted in the future. CC: libav-stable@libav.org
* | Merge commit '03ca6d70df192125a772dadd01acfe3905aa653f'Michael Niedermayer2015-06-15
|\| | | | | | | | | | | | | | | | | | | * commit '03ca6d70df192125a772dadd01acfe3905aa653f': x264: Factor out the reconfiguration code Conflicts: libavcodec/libx264.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x264: Factor out the reconfiguration codeLuca Barbato2015-06-15
| |
* | libvpxenc: remove stray '\'sJames Zern2015-06-15
| | | | | | | | Signed-off-by: James Zern <jzern@google.com>
* | libvpxenc: cosmetics: reindent after 2c70436James Zern2015-06-15
| | | | | | | | Signed-off-by: James Zern <jzern@google.com>
* | avcodec/jpeg2000dec: Omit mqc reinit after the last passMichael Niedermayer2015-06-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | h264: er: Copy from the previous reference only if compatibleAndreas Cadhalpun2015-06-15
| | | | | | | | | | | | | | | | | | Also use the frame pixel format instead of the one from the codec context, which is more robust. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | avcodec/jpeg2000dec: Fix Vertically causal context formationMichael Niedermayer2015-06-15
| | | | | | | | | | | | Fixes Ticket4626 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mqcdec: set raw flag at the begin of ff_mqc_initdec()Michael Niedermayer2015-06-15
| | | | | | | | | | | | This way it is available to any functions called from ff_mqc_initdec() Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dec: Improve readability of SOP checkMichael Niedermayer2015-06-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dec: Remove redundant checkMichael Niedermayer2015-06-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dec: Check reslevelno in RPCLMichael Niedermayer2015-06-15
| | | | | | | | | | | | | | Fixes out of array read Fixes Ticket4627 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dec: Skip SOPMichael Niedermayer2015-06-15
| | | | | | | | | | | | Fixes Ticket4625 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dec: Use <0 instead of != 0 for error checkingMichael Niedermayer2015-06-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dec: Also include remaining length in "Block length" error ↵Michael Niedermayer2015-06-15
| | | | | | | | | | | | message Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000: Fix regression with multiple tilesMichael Niedermayer2015-06-14
| | | | | | | | | | | | Fixes Ticket 4624 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000: Change codeblock coords to same origin as bandsMichael Niedermayer2015-06-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000: Change precinct coords to same origin as bandsMichael Niedermayer2015-06-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000: Fix band coordsMichael Niedermayer2015-06-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dec: Print warning if the mqc pointer mismatches at the endMichael Niedermayer2015-06-14
| | | | | | | | | | | | | | If this occurs on valid and correctly decoded files it should be reduced to debug level Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dec: Show the progression order at debug level for all variantsMichael Niedermayer2015-06-14
| | | | | | | | | | | | It was previously shown just for some, this makes it consistent Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dec: Print error messages for more error conditionsMichael Niedermayer2015-06-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc: fix spelling errorsAndreas Cadhalpun2015-06-14
| | | | | | | | | | | | | | | | | | | | | | Neccessary -> Necessary formated -> formatted thee -> the eventhough -> even though seperately -> separately Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | avcodec/jpeg2000dec: Handle format that has planes matching YUVA420P ↵Michael Niedermayer2015-06-14
| | | | | | | | | | | | | | | | structure but seems not to be that Outputs something for p0_05.j2k Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dec: Print all cdx/cdy values not just the 2nd and 3rdMichael Niedermayer2015-06-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/hevc: Track long and short term RPS size for VDPAUPhilip Langdale2015-06-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Today, we track the short term RPS size for DXVA, but only if the SliceHeader RPS is being used. Otherwise it's left uninitialized. NVIDIA's VDPAU implementation requires that the size be accurately tracked even if an SPS RPS is being used. In this case, it's really counting the size of the RPS idx information, but you end up with mangled output if the value is not accurate. VDPAU also needs the size of the long term RPS. Signed-off-by: Philip Langdale <philipl@overt.org>
* | avcodec/nvenc: Enable YV12 input formatPhilip Langdale2015-06-13
| | | | | | | | | | | | This has been enabled by recent nvidia driver releases. Signed-off-by: Philip Langdale <philipl@overt.org>
* | avcodec/jpeg2000dec: Implement "Reset context probabilities on coding pass ↵Michael Niedermayer2015-06-14
| | | | | | | | | | | | | | | | boundaries" No testcase with just this feature known Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dec: Support RPCLMichael Niedermayer2015-06-14
| | | | | | | | | | | | Fixes Ticket 2792 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg200dsp: add ff_rct_int_{sse2,avx2}James Almer2015-06-13
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/jpeg200dsp: add ff_ict_float_{sse,avx}James Almer2015-06-13
| | | | | | | | | | | | | | Original intrinsics version by Nicolas Bertrand. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/ass_split: check ASSSplitContext allocClément Bœsch2015-06-13
| |
* | avcodec/jpeg2000dec: Support PCRLMichael Niedermayer2015-06-13
| | | | | | | | | | | | Fixes Ticket4603 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dec: Try to fix remaining DCinema hardcoded TODOs in CPRLMichael Niedermayer2015-06-13
| | | | | | | | | | | | Again, no testcase Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dec: try to correct tile location in CPRL codeMichael Niedermayer2015-06-13
| | | | | | | | | | | | No testcase Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dec: Factorize component out of CPRL loopMichael Niedermayer2015-06-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dec: Fix x/y step TODO for CPRLMichael Niedermayer2015-06-13
| | | | | | | | | | | | No testcase known Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Remove a few occurences of "long long" from the libraries.Carl Eugen Hoyos2015-06-13
| |
* | avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for AVC qpel functionsShivraj Patil2015-06-13
| | | | | | | | | | | | | | | | | | | | This patch adds MSA (MIPS-SIMD-Arch) optimizations for AVC qpel functions in new file h264qpel_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Added const to local static array. Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/smvjpegdec: assert that the pixel format that has been set by our ↵Michael Niedermayer2015-06-13
| | | | | | | | | | | | | | | | | | decoder is valid If we do check av_pix_fmt_desc_get() then we should fail and not continue with an invalid pix_fmt Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '3b73d5c942f44b37f0e44276ebcfd66c8b12c02d'Michael Niedermayer2015-06-12
|\| | | | | | | | | | | | | * commit '3b73d5c942f44b37f0e44276ebcfd66c8b12c02d': fft-test: Use the float fabs() version Merged-by: Michael Niedermayer <michaelni@gmx.at>