summaryrefslogtreecommitdiffstats
path: root/libavcodec/vp8.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-06-011-1/+1
|\ | | | | | | | | | | | | | | | | | | | | * qatar/master: vf_drawtext: Replace FFmpeg by Libav in license boilerplate. mpegaudiodec: remove unusued code and variables improved 'edts' atom writing support mpegaudio: clean up compute_antialias() definition vp8: fix segmentation race during frame-threading. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vp8: fix segmentation race during frame-threading.Ronald S. Bultje2011-05-311-1/+1
| | | | | | | | | | Fixes occasional failure of make fate-vp8-test-vector-010 with frame-multithreading enabled.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-05-301-6/+6
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ARM: enable UAL syntax in asm.S v4l2: don't leak video standard string on error. swscale: Remove disabled code. avfilter: Surround function only used in debug mode by appropriate #ifdef. vf_crop: Replace #ifdef DEBUG + av_log() by av_dlog(). build: remove BUILD_ROOT variable vp8: use av_clip_uintp2() where possible Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vp8: use av_clip_uintp2() where possibleMans Rullgard2011-05-291-6/+6
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-05-141-3/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * qatar/master: swscale: properly inline bits/endianness in yuv2yuvX16inC(). (We didnt pull the bug) swscale: fix clipping of 9/10bit YUV420P. Add av_clip_uintp2() function (our patch / duplicate) dfa: fix buffer overflow checks to avoid integer overflows. (our patch / duplicate) movenc: always write esds descriptor length using 4 bytes. (our patch / duplicate) ffmpeg: use parse_number_and_die() when it makes sense (No thanks) ffmpeg: get rid of the 'q' key schizofrenia Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Add av_clip_uintp2() functionMans Rullgard2011-05-131-3/+1
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Adds 8-, 9- and 10-bit versions of some of the functions used by the h264 ↵Oskar Arvidsson2011-05-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | decoder. This patch lets e.g. dsputil_init chose dsp functions with respect to the bit depth to decode. The naming scheme of bit depth dependent functions is <base name>_<bit depth>[_<prefix>] (i.e. the old clear_blocks_c is now named clear_blocks_8_c). Note: Some of the functions for high bit depth is not dependent on the bit depth, but only on the pixel size. This leaves some room for optimizing binary size. Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-05-031-58/+129
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: vp8: frame-multithreading. Duplicate Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*. Duplicate Replace deprecated av_get_pict_type_char() with av_get_picture_type_char(). Bug spoted&removed in last merge: dpx: Do not use DPX encoder for decoding. Conflicts: ffmpeg.c ffplay.c libavcodec/h264.c libavcodec/mpeg12.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vp8: frame-multithreading.Ronald S. Bultje2011-05-021-58/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested on a Mac Pro, 2 CPUs, 2 cores each, OSX 10.6.6: time ./ffmpeg -v 0 -vsync 0 -threads [1234] -i \ ~/Downloads/sintel_trailer_1080p_vp8_vorbis.webm \ -f null -vcodec rawvideo -an - 1: 0m14.630s (89.9 fps) 2: 0m8.056s (163.2 fps) 3: 0m5.882s (223.6 fps) 4: 0m4.952s (265.6 fps) time ./ffmpeg -v 0 -vsync 0 -threads [1234] -i \ ~/Downloads/Elephants_Dream-720p-Stereo.webm \ -f null -vcodec rawvideo -an - 1: 1m12.962s (215.1 fps) 2: 0m44.682s (351.2 fps) 3: 0m31.183s (503.2 fps) 4: 0m25.284s (620.6 fps) Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-021-1/+1
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*Stefano Sabatini2011-05-021-1/+1
| |
* | Adds 8-, 9- and 10-bit versions of some of the functions used by the h264 ↵Oskar Arvidsson2011-04-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | decoder. This patch lets e.g. dsputil_init chose dsp functions with respect to the bit depth to decode. The naming scheme of bit depth dependent functions is <base name>_<bit depth>[_<prefix>] (i.e. the old clear_blocks_c is now named clear_blocks_8_c). Note: Some of the functions for high bit depth is not dependent on the bit depth, but only on the pixel size. This leaves some room for optimizing binary size. Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'newdev/master'Michael Niedermayer2011-03-261-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * newdev/master: mov: set audio service type for AC-3 from bitstream mode in the 'dac3' atom. Get audio_service_type for AC-3 based on bitstream mode in the AC-3 parser and decoder, and vice-versa for the AC-3 encoder. Use audio_service_type to set stream disposition. Add APIchanges entry for audio_service_type. Add audio_service_type field to AVCodecContext for encoding and reporting of the service type in the audio bitstream. configure: in check_ld, place new -l flags before existing ones support @heading, @subheading, @subsubheading, and @subsubsection in texi2pod.pl doc: update build system documentation aacenc: indentation aacenc: fix the side calculation in search_for_ms vp8.c: rename EDGE_* to VP8_EDGE_*. Conflicts: doc/APIchanges libavcodec/avcodec.h libavcodec/version.h libavcodec/vp8.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vp8.c: rename EDGE_* to VP8_EDGE_*.Alexander Strange2011-03-241-5/+5
| |
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Fake-Merge remote-tracking branch 'ffmpeg-mt/master'Michael Niedermayer2011-03-221-5/+5
|/
* VP8: fix other function declarationJason Garrett-Glaser2011-03-121-1/+1
| | | | Was missed in 3efbe137.
* VP8: optimize VP8Context struct orderingJason Garrett-Glaser2011-03-121-1/+1
| | | | | Shaves at least 3KB off code size on x86, should improve cache utilization. This would probably be useful to do for other decoders/encoders as well.
* VP8: fix function declarationJason Garrett-Glaser2011-03-121-1/+1
|
* VP8: use a goto to break out of two loopsJason Garrett-Glaser2011-03-121-1/+2
| | | | | A break statement was supposed to break out of two loops, but only broke out of one. Didn't affect output, just could have been marginally slower.
* VP8: init one less near_mvJason Garrett-Glaser2011-02-171-1/+0
| | | | This one didn't actually need to be initialized.
* VP8: split out declarations to new headerJason Garrett-Glaser2011-02-171-176/+1
|
* VP8: faster MV clippingJason Garrett-Glaser2011-02-171-10/+19
|
* Merge libavcore into libavutilReinhard Tartler2011-02-151-1/+1
| | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* VP8: ARM optimised decode_block_coeffs_internalMans Rullgard2011-02-111-1/+7
| | | | | | Approximately 5% faster on Cortex-A8. Signed-off-by: Mans Rullgard <mans@mansr.com>
* VP8: optimized mv prediction and decodingJason Garrett-Glaser2011-02-101-91/+91
| | | | | Merge find_near_mvs and mv bitstream decoding: don't do prediction steps until absolutely necessary.
* VP8: idct_mb optimizationsJason Garrett-Glaser2011-02-081-16/+16
| | | | Currently uses AV_RL32 instead of AV_RL32A, as the latter doesn't exist yet.
* VP8: slightly faster loopfilter sharpness logicJason Garrett-Glaser2011-02-041-1/+1
|
* VP8: faster deblock strength calculationJason Garrett-Glaser2011-02-041-14/+15
| | | | Convert hev_thresh logic to a LUT, simplify mbedge_lim calculation.
* VP8: faster filter_level clipJason Garrett-Glaser2011-02-031-1/+4
|
* VP8: simplify lf_delta mb mode logicJason Garrett-Glaser2011-02-031-25/+11
|
* VP8: merge chroma MC callsJason Garrett-Glaser2011-01-311-46/+79
| | | | | Adds some duplicated code, but avoids duplicate edge checks and similar. ~0.5% faster overall on Parkjoy test sample.
* Slightly simplify VP8 inter_predictJason Garrett-Glaser2011-01-301-2/+3
| | | | Merge an if and a switch.
* Move ff_emulated_edge_mc() into DSPContext.Ronald S. Bultje2011-01-281-1/+1
|
* Fix VP8 aliasing problems.Ronald S. Bultje2011-01-281-6/+6
| | | | Replace * (uint32_t *) buf accesses with AV_WN32A/AV_COPY32.
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-261-1/+1
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Don't do edge emulation unless the edge pixels will be used in MC.Ronald S. Bultje2011-01-251-9/+14
| | | | | | Do not emulate larger edges than we will actually use for this round of MC. Decoding goes from avg+SE 29.972+/-0.023sec to 29.856+/-0.023, i.e. 0.12sec or ~0.4% faster.
* Fix valgrind invalid read on top MB rows with CODEC_FLAG_EMU_EDGE set.Ronald S. Bultje2010-12-301-1/+2
| | | | Originally committed as revision 26168 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support CODEC_FLAG_EMU_EDGE in VP8 decoder.Ronald S. Bultje2010-12-281-21/+149
| | | | Originally committed as revision 26117 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use new imgutils.h API names, fix deprecation warnings.Stefano Sabatini2010-09-071-1/+1
| | | | Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove some stray +s in VP8Jason Garrett-Glaser2010-08-131-2/+2
| | | | Originally committed as revision 24791 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove b4_stride/mb_stride.Pascal Massimino2010-08-111-19/+10
| | | | | | | | correct mb_xy to use mb_width. tighten allocations. reduce the amount of zeroing. Originally committed as revision 24760 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix over-allocation. confused b4_stride with mb_width.Pascal Massimino2010-08-111-2/+2
| | | | Originally committed as revision 24758 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove use of the deprecated function avcodec_check_dimensions(), useStefano Sabatini2010-08-061-1/+2
| | | | | | av_check_image_size() instead. Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk
* VP8: fix bug in prefetchJason Garrett-Glaser2010-08-051-2/+2
| | | | | | Motion vectors in VP8 are qpel, not fullpel. Originally committed as revision 24707 to svn://svn.ffmpeg.org/ffmpeg/trunk
* VP5/6/8: eliminate CABAC dependencyJason Garrett-Glaser2010-08-041-3/+3
| | | | | | | Create a custom table for VP5/6/8's renorm to avoid depending on H.264's. Saves one instruction in the arithmetic decoder as well. Originally committed as revision 24701 to svn://svn.ffmpeg.org/ffmpeg/trunk
* VP8: partially inline decode_block_coeffsJason Garrett-Glaser2010-08-041-9/+15
| | | | | | Avoids a function call in the case of empty DCT blocks (most of the time). Originally committed as revision 24691 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix 100L in r24689Jason Garrett-Glaser2010-08-041-2/+2
| | | | | | Accidentally committed some timing code. Originally committed as revision 24690 to svn://svn.ffmpeg.org/ffmpeg/trunk
* VP8: simplify decode_block_coeffs to avoid having to track nonzero coeffsJason Garrett-Glaser2010-08-041-10/+10
| | | | | | Slightly faster. Originally committed as revision 24689 to svn://svn.ffmpeg.org/ffmpeg/trunk
* VP8: slightly faster DCT coefficient probability updateJason Garrett-Glaser2010-08-031-3/+2
| | | | Originally committed as revision 24687 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud