summaryrefslogtreecommitdiffstats
path: root/libavcodec/intrax8.c
Commit message (Collapse)AuthorAgeFilesLines
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-041-5/+5
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* intrax8: Remove mpegvideo dependencyVittorio Giovara2016-03-291-6/+1
|
* intrax8: Drop lots of pointless parenthesesDiego Biurrun2016-03-291-35/+35
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* intrax8: Drop MB emulation codeVittorio Giovara2016-03-291-3/+0
| | | | This is already performed in init_context_frame().
* intrax8: Keep a reference to the decoder blocksVittorio Giovara2016-03-291-15/+16
|
* intrax8: Use the generic horizband functionVittorio Giovara2016-03-291-2/+6
| | | | | This is assuming that intrax8 has no support for interlacing Carry over lowdelay value in ff_intrax8_decode_picture.
* intrax8: Pass macroblock coordinates to ff_intrax8_decode_pictureVittorio Giovara2016-03-291-33/+32
| | | | | These values need to be updated with the last macroblock position, so keep them as pointers.
* intrax8: Pass macroblock size to ff_intrax8_common_initVittorio Giovara2016-03-291-7/+11
| | | | Helps in decoupling this code from mpegvideo.
* intrax8: Add a local BlockDSPContext and initialize itVittorio Giovara2016-03-251-1/+2
| | | | Helps in decoupling this code from mpegvideo.
* intrax8: Reference the current AVCodecContextVittorio Giovara2016-03-251-1/+3
| | | | It will be needed to initialize BlockDSP in the next commit.
* intrax8: Keep a reference to the GetBitContext readerVittorio Giovara2016-03-251-19/+16
| | | | Helps in decoupling this code from mpegvideo.
* intrax8: Use a constant buffer instead of a ScratchpadContextVittorio Giovara2016-03-251-3/+2
| | | | The size of the block is fixed (8x8 plus padding).
* intrax8: Pass the output frame to the decoding functionVittorio Giovara2016-03-251-10/+11
| | | | Helps in decoupling this code from mpegvideo.
* intrax8: Carry over the loopfilter value in ff_intrax8_decode_pictureVittorio Giovara2016-03-251-2/+3
| | | | Helps in decoupling this code from mpegvideo.
* intrax8: Keep a reference to the context idctdspVittorio Giovara2016-03-251-6/+8
| | | | | Use it instead of the embedded mpegvideo one. Update init function signature to load it directly from the callers.
* intrax8: Make x8_init_block_index not use mpegvideo fieldsVittorio Giovara2016-03-251-12/+11
|
* intrax8: Use local destination buffersVittorio Giovara2016-03-251-17/+18
| | | | | | | | | | | These buffers are just a way to store frame pointers and be able to modify them without touching the original ones. The two dependent decoders (WMV2 and VC1) do not need special care for these fields: the former does not seem to use the dest buffers, while the latter reinits them every time to the current frame data buffers. So only keep a local copy rather than the one from mpegvideo.
* Move const qualifier before type nameDiego Biurrun2016-03-231-6/+6
|
* intrax8: Check and propagate errors from ff_intrax8_common_initVittorio Giovara2016-03-221-5/+15
| | | | This allows dropping an afterwards redundant assert.
* intrax8: Move documentation from implementation to header fileVittorio Giovara2016-03-221-20/+0
|
* intrax8: K&R formatting cosmeticsVittorio Giovara2016-03-221-480/+540
|
* intrax8: Adjust printf conversion specifier for sizeof expressionDiego Biurrun2016-03-221-1/+2
|
* intrax8: Move a comment to the place it correspondsVittorio Giovara2016-03-221-6/+5
|
* intrax8: Wrap multiline macros in do{}while(0) clausesVittorio Giovara2016-03-221-7/+10
| | | | | These macros are treated like functions, the wrapping simplifies error checking and avoids deeply nested ifs in the following commit.
* intrax8: Move error resilience out of intrax8Vittorio Giovara2016-03-221-8/+2
| | | | | | | | The intrax8 decoding process does not imply any kind of error resilience, and the only call present is more related to how mpegvideo works rather than anything else. Therefore have the parent decoders carry out er when actually needed.
* mpegvideo: Move various temporary buffers to a separate contextVittorio Giovara2015-06-081-2/+2
|
* mpegvideo: cosmetics: Lowercase ugly uppercase MPV_ function name prefixesDiego Biurrun2014-08-151-3/+3
|
* dsputil: Split off IDCT bits into their own contextDiego Biurrun2014-06-301-7/+8
|
* dsputil: Split clear_block*/fill_block* off into a separate contextDiego Biurrun2014-06-181-1/+1
|
* mpegvideo: operate with pointers to AVFrames instead of whole structswm42014-04-091-11/+11
| | | | | | | | | | | | | The most interesting parts are initialization in ff_MPV_common_init() and uninitialization in ff_MPV_common_end(). ff_mpeg_unref_picture and ff_thread_release_buffer have additional NULL checks for Picture.f, because these functions can be called on uninitialized or partially initialized Pictures. NULL pointer checks are added to ff_thread_release_buffer() stub function. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avcodec: Replace local extern declarations for tables with header #includesDiego Biurrun2013-08-151-1/+0
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-081-1/+1
|
* Add missing error_resilience includes to files that use ERDiego Biurrun2013-03-071-0/+1
|
* mpegvideo: split ff_draw_horiz_band().Anton Khirnov2013-02-151-1/+1
| | | | Split out dependency on MpegEncContext.
* error_resilience: decouple ER from MpegEncContextAnton Khirnov2013-02-151-1/+1
|
* intrax8: move functions from dsputil to own contextMans Rullgard2012-09-021-6/+9
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove lowres video decodingMans Rullgard2012-04-211-1/+0
| | | | | | | This feature is complex, of questionable utility, and slows down normal decoding. Signed-off-by: Mans Rullgard <mans@mansr.com>
* vc1: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-151-1/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* msmpeg4: Add ff_ prefixes to nonstatic symbolsMartin Storsjö2012-02-151-3/+3
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: introduce ER_MB_END and ER_MB_ERRORLuca Barbato2011-12-131-1/+1
| | | | | | Simplify a little error resilience calls Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* error_resilience: use the ER_ namespaceLuca Barbato2011-12-131-1/+1
| | | | | | Add the namespace to {AC_,DC_,MV_}{END,ERROR} macros Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Eliminate FF_COMMON_FRAME macro.Diego Biurrun2011-07-111-12/+12
| | | | | FF_COMMON_FRAME holds the contents of the AVFrame structure and is also copied to struct Picture. Replace by an embedded AVFrame structure in struct Picture.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change VLC table creation in x8_vlc_init to use INIT_VLC_USE_NEW_STATIC.Reimar Döffinger2009-09-241-3/+28
| | | | Originally committed as revision 20011 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-131-1/+1
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Two INIT_VLC_USE_STATIC cases Carl missed.Michael Niedermayer2009-04-111-1/+1
| | | | Originally committed as revision 18438 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use INIT_VLC_USE_STATIC and not its value "1".Carl Eugen Hoyos2009-04-111-2/+2
| | | | Originally committed as revision 18430 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_cold attributes to *_init and *_end functions.Alex Converse2009-02-031-3/+3
| | | | Originally committed as revision 16980 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-011-1/+1
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud