summaryrefslogtreecommitdiff
path: root/libavcodec/internal.h
Commit message (Collapse)AuthorAge
* lavc: rework handling of refcounted_frames=0Anton Khirnov2013-12-09
| | | | | | | | | Use only proper AVFrame API (no assigning of whole frames, since that hardcodes sizeof(AVFrame) into lavc). Make a copy of the side data, so the caller can use av_frame_unref/free on non-refcounted frames, eliminating the need for avcodec_get_frame_defaults()/avcodec_free_frame().
* hwaccel: Simplify ff_find_hwaccelLuca Barbato2013-11-10
| | | | It is always called by passing fields from an AVCodecContext.
* lavc: move AVCodecContext.pkt to AVCodecInternalAnton Khirnov2013-11-04
| | | | It's a private field, not meant to be accessed from outside lavc.
* pthread: store thread contexts in AVCodecInternal instead of AVCodecContextAnton Khirnov2013-11-04
| | | | | | It's a private field, it should not be visible to callers. Deprecate AVCodecContext.thread_opaque
* lavc: replace avcodec_set_dimensions with ff_set_dimensionsAnton Khirnov2013-10-31
| | | | | | avcodec_set_dimensions() is supposed to be an internal utility function, there is no reason whatsoever for it to be public. Therefore deprecate it.
* lavc: Rename avpriv_mpv_find_start_code after moving out from mpegvideoMartin Storsjö2013-03-26
| | | | | | | Also move the declaration to internal.h, and add restrict qualifiers to the declaration (as in the implementation). Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: remove disabled FF_API_OLD_ENCODE_AUDIO cruftAnton Khirnov2013-03-09
|
* lavc: limit maximum number of channels to 63Anton Khirnov2013-03-08
| | | | | | This is the most that can be represented with the current channel layout system. This limit should be raised/removed when a better system is implemented.
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* avcodec/internal: Fix #if DECODE_AUDIO / ENCODE_AUDIO name mismatchDiego Biurrun2013-03-06
|
* lavc: don't reuse audio buffersAnton Khirnov2012-12-04
| | | | | Any performance gain from this is negligible and not worth the extra code.
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-04
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* avcodec: remove ff_is_hwaccel_pix_fmtLuca Barbato2012-11-13
| | | | | It is used only in one place and is unlikely it would be needed elsewhere.
* lavc: move SANE_NB_CHANNELS to internal.h and use it in the PCM decodersJustin Ruggles2012-11-01
|
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* lavc: pad last audio frame with silence when needed.Anton Khirnov2012-05-09
|
* avcodec: add ff_samples_to_time_base() convenience function to internal.hJustin Ruggles2012-02-20
|
* ff_alloc_packet: modify the size of the packet to match the requested sizeJustin Ruggles2012-02-01
| | | | | This will simplify encoders which use this function to request the exact packet size rather than the maximum size.
* avcodec: Add avcodec_encode_audio2() as replacement for avcodec_encode_audio()Justin Ruggles2012-01-15
| | | | | | | | This allows audio encoders to optionally take an AVFrame as input and write encoded output to an AVPacket. This also adds AVCodec.encode2() which will also be usable by video and subtitle encoders once support is implemented in the public functions.
* utils: Check for extradata size overflows.Alex Converse2012-01-12
|
* avcodec: deprecate AVFrame.ageMans Rullgard2011-12-18
| | | | | | | | This was intended as an optimisation for skipped blocks in MPEG2 P-frames and never used elsewhere. Removing this "optimisation" speeds up MPEG2 decoding by 1-2% (ARM Cortex-A9). Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add avcodec_decode_audio4().Justin Ruggles2011-12-02
| | | | | | Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders.
* avcodec: move some AVCodecContext fields to an internal struct.Justin Ruggles2011-11-19
| | | | | | | | A new field, AVCodecContext.internal is used to hold a new struct AVCodecInternal, which has private fields that are not codec-specific and are used by general libavcodec functions. Moved internal_buffer, internal_buffer_count, and is_copy.
* avcodec: Allow locking and unlocking an avformat specific mutexMartin Storsjö2011-11-05
| | | | | | | This extends the lock manager in avcodec to manage two separate mutexes via the user-specified lock functions. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: use avpriv_ prefix for ff_toupper4.Anton Khirnov2011-10-20
| | | | It's used in lavf.
* lavc: add support for codec-specific defaults.Anton Khirnov2011-07-10
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix grammar errors in documentationMåns Rullgård2010-06-30
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize some code into the new function ff_toupper4().Francesco Lavra2010-05-18
| | | | | | Patch by Francesco Lavra, francescolavra interfree it Originally committed as revision 23158 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | 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
* Doxy for ff_match_2uint16().Michael Niedermayer2010-01-10
| | | | Originally committed as revision 21115 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix implicit declaration warning.Michael Niedermayer2010-01-10
| | | | Originally committed as revision 21114 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move av_log_missing_feature() from the internal.h to the public avcodec.hRonald S. Bultje2009-06-29
| | | | | | header file. Originally committed as revision 19295 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename ff_log_missing_feature() to av_log_missing_feature().Ronald S. Bultje2009-06-29
| | | | Originally committed as revision 19294 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove '\p', '\c' and '\e' doxygen markup from doxy, as it shouldStefano Sabatini2009-06-06
| | | | | | | | improve plain text doxy readability. See the thread: "[RFC] Should we use doxygen markup?". Originally committed as revision 19122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing prototype for ff_is_hwaccel_pix_fmt().Gwenole Beauchesne2009-02-25
| | | | | | patch by Gwenole Beauchesne, gbeauchesne,splitted-desktop,com Originally committed as revision 17593 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add ff_find_hwaccel() by Gwenole BeauchesneMichael Niedermayer2009-02-24
| | | | Originally committed as revision 17569 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | 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
* Split ff_log_missing_feature into ff_log_missing_featureKenan Gillet2009-01-16
| | | | | | | and ff_log_ask_for_sample. Patch by Kenan Gillet: gmail_adress(author) Originally committed as revision 16637 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make av_log_missing_feature an internal function, and change its nameStefano Sabatini2008-12-08
| | | | | | to ff_log_missing_feature. Originally committed as revision 16037 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename internal.h --> xvid_internal.h, it clashes with libavutil/internal.h.Diego Biurrun2006-10-12
| | | | Originally committed as revision 6670 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-07
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add official LGPL license headers to the files that were missing them.Diego Biurrun2006-09-10
| | | | Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
* - Add new file internal.h for common internal-use-only functions.Corey Hickey2006-03-30
- Add new function av_tempfile() for creating temporary files; contains workaround for MinGW. - Make XviD stuff use av_tempfile(). Originally committed as revision 5245 to svn://svn.ffmpeg.org/ffmpeg/trunk