summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* lavc/hevc: rudimentary support for skip_loop_filter.Nicolas George2015-07-23
| | | | | | | | | +~9% speed on Core i5 on test sample. All frames are treated as ref frames, skipping only applies at level "all". The following mail contains information on how to improve that: http://ffmpeg.org/pipermail/ffmpeg-devel/2015-July/176116.html
* avcodec/hevc_parse: Print the name of the NAL units in addition to the ↵Michael Niedermayer2015-07-23
| | | | | | numerical nal_unit_type in the debug output Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit 'ae5a8dca675ee544178225256893e679b750cb63'Michael Niedermayer2015-07-23
|\ | | | | | | | | | | | | | | | | | | * commit 'ae5a8dca675ee544178225256893e679b750cb63': hap: Fix slice size computation Conflicts: libavcodec/hapdec.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * hap: Fix slice size computationTom Butterworth2015-07-23
| | | | | | | | | | | | | | | | A bug was introduced in 977105407cae55876041dddbf4ce0934cdd4cd6c whereby when frame height wasn't divisible by the number of threads, pixels would be omitted from the bottom rows during decode. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'ebe8b5d947c41449c684f17c6826fe6bc46c0360'Michael Niedermayer2015-07-23
|\| | | | | | | | | | | | | * commit 'ebe8b5d947c41449c684f17c6826fe6bc46c0360': dds: Fix the slice size computation Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * dds: Fix the slice size computationTom Butterworth2015-07-23
| | | | | | | | | | | | | | | | A bug was introduced in 6b2b26e7af3ede0abfb46eb5725c26d1083f50bc whereby when frame height wasn't divisible by the number of threads, pixels would be omitted from the bottom rows during decode. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | libavcodec/qsvdec_h264.c: SPS parsing is now performed by ↵Ivan Uskov2015-07-23
| | | | | | | | | | | | MFXVideoDECODE_DecodeHeader() in libavcodec/qsvdec.c Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Edit documentation and versioning for the fixed point AAC decoderJovan Zelincevic2015-07-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec: Minor macro polishingNedeljko Babic2015-07-22
| | | | | | | | | | | | | | | | Use macros from aac_defines.h for adding suffixes instead of local macros. Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec: Implementation of AAC_fixed_decoder (PS-module)Djordje Pesut2015-07-22
| | | | | | | | | | | | | | Add fixed point implementation. Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec: Table creation for AAC_fixed_decoder (PS-module)Jovan Zelincevic2015-07-22
| | | | | | | | | | | | | | Add fixed point implementation of functions for generating tables. Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec: remove unused sd variablesMichael Niedermayer2015-07-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/libx264: Export choosen pict_typeMichael Niedermayer2015-07-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/dnxhdenc: Set pict type for AV_PKT_DATA_QUALITY_STATS correctlyMichael Niedermayer2015-07-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/libxavs: Export pict_type in side dataMichael Niedermayer2015-07-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Replace AV_PKT_DATA_QUALITY_FACTOR by AV_PKT_DATA_QUALITY_STATSMichael Niedermayer2015-07-22
| | | | | | | | | | | | | | | | | | The stats are a superset of the quality factor, also allowing the picture type and encoder "PSNR" stats to be exported This also replaces the native by fixed little endian order for the affected side data AV_PKT_DATA_QUALITY_FACTOR is left as a synonym of AV_PKT_DATA_QUALITY_STATS Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | apng: Fix decoding images with the PREVIOUS dispose opDonny Yang2015-07-22
| |
* | Merge commit '21c90d86d27c2143354c7d782050a779b0986eb1'Michael Niedermayer2015-07-22
|\| | | | | | | | | | | | | * commit '21c90d86d27c2143354c7d782050a779b0986eb1': mpegvideo: Add missing include Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * mpegvideo: Add missing includeVittorio Giovara2015-07-22
| |
| * dds: Fix 32bpp bitmaps decodingMichael Niedermayer2015-07-22
| | | | | | | | | | Found-By: ami_stuff Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * dds: Fix palette decodingVittorio Giovara2015-07-22
| | | | | | | | | | | | Red and blue channels were decoded in the wrong order. Found-By: ami_stuff
* | Merge commit 'ea4d46e72945cba37feb7aa154eb970732f513e4'Michael Niedermayer2015-07-22
|\| | | | | | | | | | | | | * commit 'ea4d46e72945cba37feb7aa154eb970732f513e4': dds: Fix enum declaration Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * dds: Fix enum declarationVittorio Giovara2015-07-22
| | | | | | | | Drop the global variables with anonymous enum type.
* | Merge commit 'ecee1148af4989e1f9e16f0cdc9f98ad2045538c'Michael Niedermayer2015-07-22
|\| | | | | | | | | | | | | * commit 'ecee1148af4989e1f9e16f0cdc9f98ad2045538c': qsvenc_hevc: use the correct HW plugin UID Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * qsvenc_hevc: use the correct HW plugin UIDAnton Khirnov2015-07-22
| |
* | Support the Hap chunked frame formatTom Butterworth2015-07-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec: loongson optimize pixblockdsp with mmi周晓勇2015-07-22
| | | | | | | | | | Signed-off-by: ZhouXiaoyong <zhouxiaoyong@loongson.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | movtextenc.c: Add support for text highlightingNiklesh2015-07-21
| | | | | | | | | | | | This patch takes care of the secondary color changes in ASS through highlight and hilightcolor boxes. Signed-off-by: Niklesh <niklesh.lalwani@iitb.ac.in>
* | movtextenc.c: Reorganize the code for easier maintenanceNiklesh2015-07-21
| | | | | | | | | | | | This patch reorganizes the code to make it easier to add support for different text modifier boxes and other styles in the future. Signed-off-by: Niklesh <niklesh.lalwani@iitb.ac.in>
* | Merge commit '6b2b26e7af3ede0abfb46eb5725c26d1083f50bc'Michael Niedermayer2015-07-21
|\| | | | | | | | | | | | | * commit '6b2b26e7af3ede0abfb46eb5725c26d1083f50bc': dds: Decode using optimal slices sizes Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * dds: Decode using optimal slices sizesLuca Barbato2015-07-21
| | | | | | | | | | | | | | Enjoy some cache locality and use less threads. About the same speedup provided to HAP. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '977105407cae55876041dddbf4ce0934cdd4cd6c'Michael Niedermayer2015-07-21
|\| | | | | | | | | | | | | * commit '977105407cae55876041dddbf4ce0934cdd4cd6c': hap: Decode using optimal slices sizes Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * hap: Decode using optimal slices sizesLuca Barbato2015-07-21
| | | | | | | | | | | | | | Enjoy some cache locality and use less threads. About 5x speedup (from 60ms to 12ms to decode a 4k frame). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * arm: use a local label instead of the function symbol in ff_prefetch_armJanne Grunau2015-07-20
| | | | | | | | | | | | | | | | Avoids a relocation which might end out of range for thumb2. Reported-By: Ludovic Fauvet <etix@videolan.org> Bug-Id: https://bugs.webkit.org/show_bug.cgi?id=137022 CC: libav-stable@libav.org
* | avcodec/utils: silence some deprecation warningsJames Almer2015-07-21
| | | | | | | | | | | | | | | | And prevent eventual compilation failures once the relevant functions and fields are removed. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/options-test: don't alloc avctx->coded_frameJames Almer2015-07-21
| | | | | | | | | | | | | | | | It's done automatically by avcodec_open2() now. Fixes memleaks in fate-libavcodec-options. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec: loongson optimize blockdsp with mmi周晓勇2015-07-21
| | | | | | | | | | Signed-off-by: ZhouXiaoyong <zhouxiaoyong@loongson.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/hapdec: log reason for failure when texture type doesn't match streamTom Butterworth2015-07-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec: loongson optimize xvid idct with mmi周晓勇2015-07-21
| | | | | | | | | | Signed-off-by: ZhouXiaoyong <zhouxiaoyong@loongson.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec: loongson move simple idct functions to a separate file周晓勇2015-07-21
| | | | | | | | | | Signed-off-by: ZhouXiaoyong <zhouxiaoyong@loongson.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | aacenc: move the generation of ff_aac_pow34sf_tab[]Rostislav Pehlivanov2015-07-21
| | | | | | | | | | | | | | | | | | | | | | | | This commit moves the generation of ff_aac_pow34sf_tab[] out of the encoder and into the table generator. The original commit log for this table in 2011 actually mentions that it should be moved outside but this never happened. This is the first commit which cleans up the encoder a little. Reviewed-by: Claudio Freire <klaussfreire@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/hapdec: don't log texture format every frame, do it once per decode ↵Tom Butterworth2015-07-21
| | | | | | | | | | | | session Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavcodec/hap: remove unused struct memberTom Butterworth2015-07-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavcodec/hap: Name enumsTom Butterworth2015-07-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/aacsbr: fix compilation with hardcoded tablesJames Almer2015-07-20
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit 'f56d8d8dd72b1ab52aa814c5a0fccabf8040ef68'Michael Niedermayer2015-07-21
|\| | | | | | | | | | | | | | | | | | | * commit 'f56d8d8dd72b1ab52aa814c5a0fccabf8040ef68': h264: aarch64: intra prediction optimisations Conflicts: libavcodec/h264pred.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * h264: aarch64: intra prediction optimisationsJanne Grunau2015-07-20
| |
* | Merge commit '40cf1bbacc6220a0aa6bed5c331871d43f9ce370'Michael Niedermayer2015-07-21
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '40cf1bbacc6220a0aa6bed5c331871d43f9ce370': Deprecate avctx.coded_frame Conflicts: ffmpeg.c libavcodec/a64multienc.c libavcodec/asvenc.c libavcodec/cljrenc.c libavcodec/dpxenc.c libavcodec/gif.c libavcodec/mpegvideo_enc.c libavcodec/nvenc.c libavcodec/proresenc_kostya.c libavcodec/pthread_frame.c libavcodec/rawenc.c libavcodec/sunrastenc.c libavcodec/tiffenc.c libavcodec/version.h libavcodec/xbmenc.c libavcodec/xwdenc.c libavdevice/v4l2.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * Deprecate avctx.coded_frameVittorio Giovara2015-07-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rationale is that coded_frame was only used to communicate key_frame, pict_type and quality to the caller, as well as a few other random fields, in a non predictable, let alone consistent way. There was agreement that there was no use case for coded_frame, as it is a full-sized AVFrame container used for just 2-3 int-sized properties, which shouldn't even belong into the AVCodecContext in the first place. The appropriate AVPacket flag can be used instead of key_frame, while quality is exported with the new AVPacketSideData quality factor. There is no replacement for the other fields as they were unreliable, mishandled or just not used at all. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | avcodec/utils: Do not merge side data for encodersMichael Niedermayer2015-07-21
| | | | | | | | | | | | | | | | | | With side data now being added to every MPEG*/H26* video encoder in the form of a quality scalar, software which simply stores the pkt->data to get an ES stream would break. This also as a side-effect makes the code faster Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>