Alexandra Hájková
|
942e84d2a3
|
cook: Convert to the new bitstream reader
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
2016-11-18 10:34:32 +01:00 |
|
Anton Khirnov
|
683da86aab
|
audiodsp: reorder arguments for vector_clipf
This will make the x86 asm simpler.
ARM conversion by Martin Storsjö <martin@martin.st> and Janne Grunau
<janne-libav@jannau.net>
|
2016-09-22 09:47:52 +02:00 |
|
Anton Khirnov
|
409d1cd2c9
|
cook: use the bytestream2 API for reading extradata
Fixes possible invalid reads in corrupted files.
CC: libav-stable@libav.org
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
|
2016-08-18 17:06:46 +02:00 |
|
Vittorio Giovara
|
41ed7ab45f
|
cosmetics: Fix spelling mistakes
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
2016-05-04 18:16:21 +02:00 |
|
Vittorio Giovara
|
059a934806
|
lavc: Consistently prefix input buffer defines
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
2015-07-27 15:24:59 +01:00 |
|
Vittorio Giovara
|
def97856de
|
lavc: AV-prefix all codec capabilities
Express bitfields more simply.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
2015-07-27 15:24:58 +01:00 |
|
Vittorio Giovara
|
6a85dfc830
|
lavc: Replace av_dlog and tprintf with internal macros
|
2015-04-19 12:41:59 +01:00 |
|
Diego Biurrun
|
7f9f771eac
|
avcodec: Don't anonymously typedef structs
|
2015-02-14 10:13:49 -08:00 |
|
Luca Barbato
|
299d8ab104
|
cook: Make sure there is enough extradata
At least 8 bytes are needed (Mono audio).
Bug-Id: CID 741418
CC: libav-stable@libav.org
|
2014-11-24 01:30:15 +00:00 |
|
Gabriel Dume
|
f929ab0569
|
cosmetics: Write NULL pointer equality checks more compactly
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
2014-08-15 03:18:18 -07:00 |
|
Diego Biurrun
|
9a9e2f1c8a
|
dsputil: Split audio operations off into a separate context
|
2014-06-22 06:20:15 -07:00 |
|
Diego Biurrun
|
b2bed9325d
|
cosmetics: Group .name and .long_name together in codec/format declarations
|
2013-10-03 23:32:01 +02:00 |
|
Diego Biurrun
|
6d97484d72
|
avcodec: av_log_ask_for_sample() ---> avpriv_request_sample()
|
2013-03-13 21:20:12 +01:00 |
|
Anton Khirnov
|
759001c534
|
lavc decoders: work with refcounted frames.
|
2013-03-08 07:38:30 +01:00 |
|
Justin Ruggles
|
7b78321597
|
cook: decode directly to the user-provided AVFrame
|
2013-02-12 12:21:22 -05:00 |
|
Anton Khirnov
|
594d4d5df3
|
lavc: add a wrapper for AVCodecContext.get_buffer().
It will be useful in the upcoming transition to refcounted AVFrames.
|
2012-12-04 21:41:59 +01:00 |
|
Justin Ruggles
|
a903f8f087
|
Include libavutil/channel_layout.h instead of libavutil/audioconvert.h
Also reorder some other #include when applicable.
|
2012-11-11 13:35:12 -05:00 |
|
Justin Ruggles
|
93e27f86f1
|
cook: use av_dlog() for debug logging instead of av_log() with AV_LOG_ERROR
|
2012-11-01 11:29:15 -04:00 |
|
Justin Ruggles
|
8f173ef019
|
cook: move samples_per_frame from COOKSubpacket to where it is used
|
2012-11-01 11:29:15 -04:00 |
|
Justin Ruggles
|
7efbba2e36
|
cook: use av_get_channel_layout_nb_channels() instead of cook_count_channels()
|
2012-11-01 11:29:15 -04:00 |
|
Justin Ruggles
|
d21b2e4726
|
cook: reverse a condition so that the code makes more sense
|
2012-11-01 11:29:15 -04:00 |
|
Justin Ruggles
|
926e9d28f1
|
cook: remove unneeded COOKContext variable, sample_rate
|
2012-11-01 11:29:15 -04:00 |
|
Justin Ruggles
|
8aa5b8c5c8
|
cook: remove unneeded COOKContext variable, bit_rate
|
2012-11-01 11:29:15 -04:00 |
|
Justin Ruggles
|
3509eee19c
|
cook: use AVCodecContext.channels instead of keeping a private copy
|
2012-11-01 11:29:14 -04:00 |
|
Diego Biurrun
|
707f58f515
|
cook: Remove some silly Doxygen comments
|
2012-10-26 18:28:38 +02:00 |
|
Diego Biurrun
|
8a61ba0e81
|
cook: Remove senseless maybe_reformat_buffer32() function
|
2012-10-26 18:28:38 +02:00 |
|
Diego Biurrun
|
f23b4a0682
|
cook: cosmetics: Better names for joint_decode() function parameters
|
2012-10-26 18:28:38 +02:00 |
|
Diego Biurrun
|
20015379a4
|
cook: cosmetics: Better name for ccpl COOKSubpacket member
|
2012-10-26 18:28:38 +02:00 |
|
Justin Ruggles
|
cbf6ee7823
|
cook: use planar sample format
|
2012-10-01 13:42:43 -04:00 |
|
Diego Biurrun
|
6f6b0311a3
|
avcodec: Drop some silly commented-out av_log() invocations
|
2012-10-01 10:24:28 +02:00 |
|
Anton Khirnov
|
36ef5369ee
|
Replace all CODEC_ID_* with AV_CODEC_ID_*
|
2012-08-07 16:00:24 +02:00 |
|
Diego Biurrun
|
0177b7d23a
|
Improve descriptiveness of a number of codec and container long names
|
2012-07-30 20:46:55 +02:00 |
|
Alex Converse
|
b5d2bf964b
|
cook: Make constants passed to AV_BE2NE32C() unsigned to avoid signed overflow.
|
2012-04-17 14:51:23 -07:00 |
|
Diego Biurrun
|
a92be9b856
|
Replace memset(0) by zero initializations.
Also remove one pointless zero initialization in rangecoder.c.
|
2012-03-28 09:38:33 +02:00 |
|
Ronald S. Bultje
|
97e48b2f54
|
cook: error out on quant_index values outside [-63, 63] range.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
|
2012-03-10 17:51:28 -08:00 |
|
Ronald S. Bultje
|
442c3a8cb1
|
cook: expand dither_tab[], and make sure indexes into it don't overflow.
Fixes overflows in accessing dither_tab[].
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
|
2012-03-10 12:03:53 -08:00 |
|
Ronald S. Bultje
|
37cc8600d0
|
cook: extend channel uncoupling tables so the full bit range is covered.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
|
2012-03-07 11:40:46 -08:00 |
|
Ronald S. Bultje
|
941fc1ea1e
|
cook: prevent div-by-zero if channels is zero.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
|
2012-02-17 12:35:07 -08:00 |
|
Martin Storsjö
|
e96b4a53df
|
vlc/rl: Add ff_ prefix to the nonstatic symbols
Signed-off-by: Martin Storsjö <martin@martin.st>
|
2012-02-15 22:06:26 +02:00 |
|
Shitiz Garg
|
c3513477bb
|
cook: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
2011-12-31 01:04:09 +01:00 |
|
Justin Ruggles
|
0eea212943
|
Add avcodec_decode_audio4().
Deprecate avcodec_decode_audio3().
Implement audio support in avcodec_default_get_buffer().
Implement the new audio decoder API in all audio decoders.
|
2011-12-02 17:40:40 -05:00 |
|
Mans Rullgard
|
b7581b5c83
|
cook: use a table for xor key rotation
This is simpler and avoids an invalid shift by 32 in the
aligned case.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
2011-11-26 11:38:41 +00:00 |
|
K.Y.H
|
51f316a997
|
cook: fix apparent typo in extradata parsing
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
2011-11-26 08:33:31 +01:00 |
|
Justin Ruggles
|
5c353eb8e3
|
cook: return AVERROR_PATCHWELCOME instead of ENOTSUP
ENOTSUP is not defined on some systems
|
2011-10-29 14:32:55 -04:00 |
|
Justin Ruggles
|
e34c6c9708
|
cook: check output buffer size before decoding
|
2011-10-29 13:43:28 -04:00 |
|
Justin Ruggles
|
6631294c26
|
cook: do not needlessly set *data_size to 0
|
2011-10-29 13:43:28 -04:00 |
|
Justin Ruggles
|
b277ebd508
|
cook: remove pointless return statements
|
2011-10-29 13:43:28 -04:00 |
|
Justin Ruggles
|
c9c841e231
|
cook: simplify decouple_info()
|
2011-10-29 13:43:28 -04:00 |
|
Justin Ruggles
|
f193c96f49
|
cook: return appropriate error codes instead of -1
|
2011-10-29 13:43:28 -04:00 |
|
Justin Ruggles
|
e694831f9d
|
cook: avoid hardcoded sizes in sizeof()
|
2011-10-29 13:43:28 -04:00 |
|