Martin Storsjö
9b500b8f6c
avcodec: Add a RFC 3389 comfort noise codec
...
This isn't too useful as a normal codec, but can be used in
voip style applications. The decoder updates the noise
generator parameters when a packet is given to it for decoding,
but if called with an empty packet, it generates more noise
according to the last parameters.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Justin Ruggles
c68317ebbe
lavc: fix documentation for AVCodecContext.delay
12 years ago
Anton Khirnov
d6f4fe68c8
lavc: extend frame_size doxy.
12 years ago
Justin Ruggles
8441909f49
lavc: update documentation for AVFrame.extended_data
12 years ago
Diego Biurrun
ca411fc1d3
avcodec: Remove broken MMI optimizations
...
The code fails to compile and is broken beyond repair.
12 years ago
Diego Biurrun
bc4620e5d6
Remove libmpeg2 #define remnants
12 years ago
Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
12 years ago
Anton Khirnov
30223b3bf2
lavc: deprecate the audio resampling API.
...
It has been superseded by lavr.
12 years ago
Nathan Caldwell
e4aa3831b7
avcodec: document the use of AVCodecContext.delay for audio decoding
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Andrew D'Addesio
2a3d82ab46
Add Opus codec id and codec description.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Anton Khirnov
a42aadabc6
lavc: add avcodec_free_frame().
...
Since an AVFrame now has malloced members (extended_data), it must have
a destructor.
12 years ago
Anton Khirnov
a83499b13b
lavc: rename the argument of avcodec_alloc_frame/get_frame_defaults
...
AVFrame is used for both audio and video, so calling the argument 'pic'
is misleading.
12 years ago
Anton Khirnov
466b39efaf
lavc: replace AVCodecContext.encode with subtitle-specific callback
...
AVCodecContext.encode is currently used only for subtitles, encode2 is
used for audio and video.
12 years ago
Mans Rullgard
cb6632809d
libavcodec: remove av_destruct_packet_nofree()
...
This function was deprecated two major versions ago (2009).
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Alberto Delmás
ee769c6a7c
MSS2 decoder
...
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
12 years ago
Anton Khirnov
a2318326f1
lavc: add lossy/lossless codec properties.
12 years ago
Anton Khirnov
bbabeb56fa
Add reminders to update the codec descriptor list with new codec IDs.
12 years ago
Anton Khirnov
91e59fea30
lavc: add avcodec_descriptor_get_by_name().
12 years ago
Anton Khirnov
0a0f19b577
lavc: add const to AVCodec* function parameters.
12 years ago
Anton Khirnov
51efed152d
lavc: add an intra-only codec property.
12 years ago
Anton Khirnov
c223d79945
lavc: add codec descriptors.
...
They describe properties that are inherent to a codec (as described by
an AVCodecID) without referring to a specific implementation.
12 years ago
Anton Khirnov
2ff67c909c
lavc: fix mixing CODEC_ID/AV_CODEC_ID in C++ code.
...
C++ does not allow to mix different enums, so e.g. code comparing
ACodecID with CodecID would fail to compile with gcc.
This very evil hack should fix this problem.
12 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Anton Khirnov
104e10fb42
lavc: add AV prefix to codec ids.
12 years ago
Derek Buitenhuis
45eaac02cb
Canopus Lossless decoder
...
At the moment it only does BGR24, but I plan to add the rest after.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Janne Grunau
f30260d32a
imgconvert: deprecate avcodec_find_best_pix_fmt()
13 years ago
Janne Grunau
ac29054fda
imgconvert: add avcodec_find_best_pix_fmt2()
...
The number of pixel formats outgrew the number of available bits in
the bitmask used in avcodec_find_best_pix_fmt().
avcodec_find_best_pix_fmt2() uses a PIX_FMT_NONE terminated list
of pixel formats instead.
13 years ago
Kostya Shishkov
5b7e3a195d
MS Expression Encoder Screen decoder
13 years ago
Martin Storsjö
372597e538
libavcodec: Add more AAC profiles
...
The numerical values of the profiles are the MPEG4 Audio Object
Type values, minus one.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Kostya Shishkov
781888da89
TechSmith Screen Codec 2 decoder
13 years ago
Kostya Shishkov
edf35d8342
MS ATC Screen (aka MSS3) decoder
13 years ago
Kostya Shishkov
005c80b645
MS Screen 1 decoder
13 years ago
Simon A. Eugster
7146177d18
lavc: Extend the documentation for avcodec_init_packet
...
Add a note that pkt->data and pkt->size must be initialized.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
3641b0489c
Add support for iLBC decoding/encoding via the external library libilbc
...
The library is 3-clause BSD licensed.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Kostya Shishkov
c6061443f7
Indeo Audio decoder
13 years ago
Anton Khirnov
a5117a2444
lavc: pad last audio frame with silence when needed.
13 years ago
Anton Khirnov
828bd088f3
lavc: add sample rate and channel layout to AVFrame.
...
Rationale is the same as for video width/height etc.
13 years ago
Robert Nagy
ad0278661b
avcodec: Improve comment for thread_safe_callbacks to avoid misinterpretation.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Hendrik Leppkes
ca93f0fa36
Add SMPTE240M transfer characteristics flag.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
13 years ago
Hendrik Leppkes
85395ba73f
avcodec: introduce YCoCg colorspace
...
Non perceptual color model that aims to have an increase effectiveness
in compression like the normal YCbCr while having near-lossless/lossless
mapping to RGB.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Luca Barbato
ccc2dfbcdf
avcodec: cosmetic cleanup on header
...
Apply coding style to the structs.
13 years ago
Mans Rullgard
2bcbd98459
Remove lowres video decoding
...
This feature is complex, of questionable utility, and slows down
normal decoding.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
95510be8c3
avcodec: remove AVCodecContext.dsp_mask
...
This removes all references to AVCodecContext.dsp_mask and marks
it for eviction at the next version bump. It has been superseded
by av_set_cpu_flag_mask() which, unlike this field, works everywhere.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Anton Khirnov
8a74029ea2
lavc doxy: add remaining avcodec.h functions to a misc doxygen group.
13 years ago
Anton Khirnov
6aadfbda09
lavc doxy: add AVPicture functions to a doxy group.
13 years ago
Anton Khirnov
56512ce104
lavc doxy: add resampling functions to a doxy group.
13 years ago
Anton Khirnov
40ca0e6a75
lavc doxy: replace \ with /
...
It's the more proper symbol to use and it prevents doxygen from thinking
it's a command.
13 years ago
Anton Khirnov
f038515f0a
lavc doxy: add encoding functions to a doxy group.
13 years ago
Anton Khirnov
c8ef8464c2
lavc doxy: add decoding functions to a doxy group.
13 years ago
Anton Khirnov
199ada4944
lavc doxy: fix formatting of AV_PKT_DATA_{PARAM_CHANGE,H263_MB_INFO}
13 years ago