summaryrefslogtreecommitdiffstats
path: root/libavcodec/alac.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec: av_log_ask_for_sample() ---> avpriv_request_sample()Diego Biurrun2013-03-131-2/+1
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-081-1/+1
|
* alac: decode directly to the user-provided AVFrameJustin Ruggles2013-02-121-12/+8
|
* alacdec: do not be too strict about the extradata sizeJustin Ruggles2012-12-221-4/+3
| | | | | | | Sometimes the extradata has duplicate atoms, but that shouldn't prevent decoding. Just ensure that it is at least 36 bytes as a sanity check. CC: libav-stable@libav.org
* alacenc: add support for multi-channel encodingJustin Ruggles2012-12-051-40/+6
|
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-041-1/+2
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* Include libavutil/channel_layout.h instead of libavutil/audioconvert.hJustin Ruggles2012-11-111-1/+1
| | | | Also reorder some other #include when applicable.
* alacdec: set bits_per_raw_sampleJustin Ruggles2012-10-211-0/+1
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-1/+1
|
* alac: check for truncated packetsJustin Ruggles2012-07-271-4/+11
| | | | | This will give a clearer error message when the error is caused by a truncated packet.
* alac: reverse lpc coeff order, simplify filterJustin Ruggles2012-07-271-13/+12
| | | | Reversing the lpc coefficient order simplifies indexing in the filter.
* alac: fix channel pointer assignment for 24 and 32-bitJustin Ruggles2012-07-191-4/+4
| | | | Needs to be done separately for each element.
* alac: cosmetics: general pretty-printing and comment clean upJustin Ruggles2012-07-191-31/+18
|
* alac: calculate buffer size outside the loop in allocate_buffers()Justin Ruggles2012-07-191-2/+2
|
* alac: change some data types to plain intJustin Ruggles2012-07-191-5/+5
|
* alac: cosmetics: rename some variables and function namesJustin Ruggles2012-07-191-93/+77
|
* alac: multi-channel decoding supportAndrew D'Addesio2012-07-191-18/+43
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* alac: split element parsing into a separate functionJustin Ruggles2012-07-191-40/+81
| | | | | This will make multi-channel implementation simpler. Based partially on a patch by Andrew D'Addesio <modchipv12@gmail.com>.
* alac: support a read sample size of up to 32Justin Ruggles2012-07-191-10/+11
| | | | | Use get_bits_long() in decode_scalar(). Use unsigned int for decoded value.
* alac: output in planar sample formatJustin Ruggles2012-07-191-27/+19
| | | | | Avoids unneeded interleaving and allows for reusing the AVFrame output buffer as the internal buffer for 24-bit and 32-bit sample size.
* alac: add 32-bit decoding supportJustin Ruggles2012-07-191-1/+14
|
* alac: simplify channel interleavingAndrew D'Addesio2012-07-191-43/+14
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* alac: use AVPacket fields directly in alac_decode_frame()Justin Ruggles2012-07-191-6/+5
|
* alac: fix check for valid max_samples_per_frameJustin Ruggles2012-07-191-3/+3
|
* alac: use get_sbits() to read LPC coefficients instead of castingJustin Ruggles2012-07-191-1/+1
|
* alac: move the current samples per frame to the ALACContextJustin Ruggles2012-07-191-23/+22
| | | | This will simplify the multi-channel implementation.
* alac: avoid using a double-negative when checking if the frame is compressedJustin Ruggles2012-07-191-4/+3
|
* alac: factor out output_size check in predictor_decompress_fir_adapt()Justin Ruggles2012-07-191-5/+3
|
* alac: factor out loading of next decoded sample in LPC predictionJustin Ruggles2012-07-191-3/+4
|
* alac: use index into buffer_out instead of incrementing the pointerJustin Ruggles2012-07-191-8/+6
|
* alac: simplify lpc coefficient adaptationJustin Ruggles2012-07-191-31/+10
|
* alac: reduce the number of local variables needed in lpc predictionJustin Ruggles2012-07-191-12/+12
|
* alac: simplify 1st order prediction and reading of warm-up samplesJustin Ruggles2012-07-191-13/+5
|
* alac: cosmetics: reindent after last commitJustin Ruggles2012-07-191-45/+45
|
* alac: remove unneeded conditionals in predictor_decompress_fir_adapt()Justin Ruggles2012-07-191-3/+0
|
* alac: use sizeof() instead of hardcoded data sizesJustin Ruggles2012-07-191-2/+4
|
* alac: make block_size signedJustin Ruggles2012-07-191-1/+1
| | | | It does not need to be unsigned.
* alac: remove a duplicate local variableJustin Ruggles2012-07-191-1/+0
|
* alac: conditionally set sign_modifier to 1Justin Ruggles2012-07-191-4/+2
| | | | | It is already unconditionally set to 0 prior to this, so we can modify it only when needed.
* alac: eliminate 2 unneeded local variables in bastardized_rice_decompress()Justin Ruggles2012-07-191-16/+7
| | | | | x_modified is just unnecessary, and final_val can be removed by simplifying the unsigned-to-signed conversion.
* alac: adjust conditions for updating entropy decoder historyJustin Ruggles2012-07-191-3/+3
| | | | avoids some unnecessary arithmetic in certain situations
* alac: cosmetics: reindent after last commitJustin Ruggles2012-07-191-8/+8
|
* alac: limit the rice param before passing to decode_scalar()Justin Ruggles2012-07-191-9/+7
| | | | | reduces the number of parameters to decode_scalar() and slightly simplifies the code
* alac: reduce the number of parameters to bastardized_rice_decompress()Justin Ruggles2012-07-191-11/+5
| | | | Use the ALACContext fields directly instead.
* alac: cosmetics: rename some ALACContext parametersJustin Ruggles2012-07-191-64/+63
|
* alac: clean up and update comments leftover from reverse-engineeringJustin Ruggles2012-07-191-31/+18
|
* cosmetics: Align codec declarationsMartin Storsjö2012-04-061-1/+1
| | | | | | | Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
* alac: convert extradata reading to bytestream2.Ronald S. Bultje2012-03-251-19/+20
|
* alacdec: implement the 2-pass prediction type.Justin Ruggles2012-01-031-16/+21
| | | | | The reference encoder does not generate any streams using this, but the reference decoder can handle it, so we should as well.
* alacdec: fill in missing or guessed info about the extradata format.Justin Ruggles2012-01-031-21/+17
| | | | | Now that there is official documentation from Apple about this, we don't have to guess anymore.
OpenPOWER on IntegriCloud