aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3enc_template.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-141-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: rtpdec: Use 4 byte startcodes for H.264 matroskadec: Mark variable as av_unused. Move some conditionally used variables into the block where they are used. Drop some completely unnecessary av_unused attributes. swscale: Remove unused variable alpMmxFilter. Drop unnecessary av_uninit attributes from some variable declarations. movenc: Support muxing wmapro in ismv/isma mpegtsenc: Add an AVOption for forcing a new PAT/PMT/SDT to be written swscale: move YUV2PACKED16WRAPPER() macro down to where it is used. swscale: handle gray16 as a "planar" YUV format (Y-only, of course). swscale: use yuv2packed1() functions for unscaled chroma also. swscale: fix incorrect chroma bias in yuv2rgb48_1_c(). swscale: fix invalid memory accesses in yuvpacked1() functions. Move PS2 MMI code below the mips subdirectory, where it belongs. mips: Move MMI function declarations to a header. build: Set correct dependencies for rtmp* protocols implemented by librtmp. Conflicts: libavcodec/ac3enc_template.c libavformat/mpegtsenc.c libswscale/output.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Drop unnecessary av_uninit attributes from some variable declarations.Diego Biurrun2012-02-131-1/+1
| | | | | | | | Recent versions of gcc (4.4+) no longer give false positive warnings.
* | ac3enc: clenaup project name in one commentMichael Niedermayer2011-11-291-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-11-031-7/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (44 commits) replacement Indeo 3 decoder gsm demuxer: do not allocate packet twice. flvenc: use first packet delay as global delay. ac3enc: doxygen update. imc: return error codes instead of 0 for error conditions. imc: return meaningful error codes instead of -1 imc: do not set channel layout for stereo imc: validate channel count imc: check for ff_fft_init() failure imc: check output buffer size before decoding imc: use DSPContext.bswap16_buf() to byte-swap packet data rtsp: add allowed_media_types option libgsm: add flush function to reset the decoder state when seeking libgsm: simplify decoding by using a loop gsm: log error message when packet is too small libgsmdec: do not needlessly set *data_size to 0 gsmdec: do not needlessly set *data_size to 0 gsmdec: add flush function to reset the decoder state when seeking libgsmdec: check output buffer size before decoding gsmdec: log error message when output buffer is too small. ... Conflicts: Changelog ffplay.c libavcodec/indeo3.c libavcodec/mjpeg_parser.c libavcodec/vp3.c libavformat/cutils.c libavformat/id3v2.c libavutil/parseutils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ac3enc: doxygen update.Justin Ruggles2011-11-021-7/+4
| | | | | | | | | | | | Add some parameters to existing function documentation. Remove some unneeded documentation. Convert some static function documentation to non-doxygen style.
* | Merge remote-tracking branch 'mans/ac3'Michael Niedermayer2011-10-221-12/+7
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | * mans/ac3: ac3enc: slightly faster quantize_mantissas_blk_ch() ac3enc: NEON optimised sum_square_butterfly_float ac3enc: neon optimised sum_square_butterfly_int32 ac3enc: move inner loop of compute_rematrixing_strategy to ac3dsp Conflicts: libavcodec/ac3enc_template.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ac3enc: move inner loop of compute_rematrixing_strategy to ac3dspMans Rullgard2011-07-061-12/+7
| |
* | ac3enc: Add channel coupling support for the fixed-point AC-3 encoder.Justin Ruggles2011-09-051-18/+14
| | | | | | | | Update FATE references accordingly.
* | ac3enc: scale floating-point coupling channel coefficients inJustin Ruggles2011-09-051-4/+0
| | | | | | | | scale_coefficients() rather than in apply_channel_coupling()
* | ac3enc: fix encoding of stereo ac3 files when rematrixing is disabled.Justin Ruggles2011-09-051-5/+5
| | | | | | | | The number of rematrixing bands still needs to be calculated.
* | ac3enc: remove outdated TODO comment for apply_channel_coupling()Justin Ruggles2011-08-221-5/+0
| |
* | ac3enc: clip coupling coordinates during calculationJustin Ruggles2011-08-101-2/+1
| | | | | | | | | | | | This is faster than using the clip_coefficients() function. Also, clipping the coordinates before determining reuse is better since it will compare coordinates that are closer to their final encoded values.
* | ac3enc: remove unneeded #includeJustin Ruggles2011-08-091-2/+0
| |
* | ac3enc: restructure coupling coordinate reuse calculationJustin Ruggles2011-08-091-21/+27
| |
* | ac3enc: allow new coupling coordinates to be sent independently for eachJustin Ruggles2011-08-091-31/+19
| | | | | | | | channel.
* | ac3enc: separate exponent bit counting from exponent grouping.Justin Ruggles2011-08-091-0/+2
| | | | | | | | | | | | Move bit counting to the bit allocation function. Move exponent grouping to after bit allocation. This will allow for adjustment of bandwidth parameters during bit allocation without having to do exponent grouping multiple times.
* | eac3enc: support writing of basic mixing and info metadataJustin Ruggles2011-07-271-1/+1
| |
* | eac3enc: use different numbers of blocks per frame to allow higher bitratesJustin Ruggles2011-07-211-12/+12
| |
* | ac3enc: merge AC3MDCTContext with AC3EncodeContext.Justin Ruggles2011-07-131-3/+3
| | | | | | | | | | | | Since both the fixed-point and floating-point encoders use the FFTContext, this no longer needs to be in a separate context. Also, when a short-transform context is added, the same MDCT window will be used.
* | ac3enc: prefer passing AC3EncodeContext rather than AVCodecContextJustin Ruggles2011-07-131-1/+1
|/
* ac3enc: clip coefficients after MDCT.Justin Ruggles2011-07-011-3/+13
| | | | | This ensures that any processing between the MDCT and exponent extraction will be using clipped coefficients.
* ac3enc: move ff_ac3_encode_frame() to ac3enc_template.cJustin Ruggles2011-06-271-8/+70
| | | | | This avoids using function pointers for quite a few small functions, most of which just call DSP functions.
* ac3enc: use correct alignment and length in channel coupling dsp functions.Justin Ruggles2011-06-151-11/+13
| | | | This fixes a segfault when using the C version of ac3dsp.float_to_fixed24().
* ac3enc: fix allocation of floating point samples.Justin Ruggles2011-06-131-0/+20
| | | | sizeof(SampleType) is different for fixed and float encoders.
* ac3enc: split templated float vs. fixed functions into a separate file.Justin Ruggles2011-06-131-0/+377
Function pointers are used for templated functions instead of needlessly duplicating many functions.