summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
...
* | v408enc: switch to encode2()Paul B Mahol2012-02-231-12/+13
| | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | yuv4enc: switch to encode2()Paul B Mahol2012-02-231-11/+12
| | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | v308enc: switch to encode2()Paul B Mahol2012-02-231-11/+12
| | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-234-17/+19
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: dxva2: don't check for DXVA_PictureParameters->wDecodedPictureIndex img2: split muxer and demuxer into separate files rm: prevent infinite loops for index parsing. aac: fix infinite loop on end-of-frame with sequence of 1-bits. mov: Add more HDV and XDCAM FourCCs. lavf: don't set AVCodecContext.has_b_frames in compute_pkt_fields(). rmdec: when using INT4 deinterleaving, error out if sub_packet_h <= 1. cdxl: correctly synchronize video timestamps to audio mlpdec_parser: fix a few channel layouts. Add channel names to channel_names[] array for channels added in b2890f5 movenc: Buffer the mdat for the initial moov fragment, too flvdec: Ignore the index if the ignidx flag is set flvdec: Fix indentation movdec: Don't parse all fragments if ignidx is set movdec: Restart parsing root-level atoms at the right spot prores: use natural integer type for the codebook index mov: Add support for MPEG2 HDV 720p24 (hdv4) swscale: K&R formatting cosmetics (part I) swscale: variable declaration and placement cosmetics Conflicts: configure libavcodec/aacdec.c libavcodec/mlp_parser.c libavformat/flvdec.c libavformat/img2.c libavformat/isom.h libavformat/mov.c libavformat/movenc.c libswscale/rgb2rgb.c libswscale/rgb2rgb_template.c libswscale/yuv2rgb.c Merged-by: Michael Niedermayer <[email protected]>
| * aac: fix infinite loop on end-of-frame with sequence of 1-bits.Alex Converse2012-02-221-12/+13
| | | | | | | | | | | | Based-on-work-by: Ronald S. Bultje <[email protected]> Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
| * mlpdec_parser: fix a few channel layouts.Tim Walker2012-02-221-4/+5
| | | | | | | | Signed-off-by: Justin Ruggles <[email protected]>
| * prores: use natural integer type for the codebook indexChristophe GISQUET2012-02-222-3/+3
| | | | | | | | | | | | | | | | | | | | | | The operations that use it require it to be promoted to a larger (natural) type and thus perform sign extension on it. While an optimal compiler may account for this, gcc 4.6 (for x86 Windows) fails. Using the natural integer type provides a 2% speedup for Win64 and 1% for Win32. Signed-off-by: Diego Biurrun <[email protected]>
* | lavc: introduce av_get_pcm_codec.Nicolas George2012-02-223-2/+31
| |
* | r210enc and y41penc: don't set same pkt->size twicePaul B Mahol2012-02-222-2/+0
| | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | pngdec: Print error if signature is wrong.Michael Niedermayer2012-02-221-1/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-2218-76/+76
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mpegvideo_enc: only allocate output packet when we know there will be output Add names for more channel layouts to the channel layout map. sunrast: Add a sample request for RMP_RAW colormap. avcodec: do not override pts or duration from the audio encoder Add prores regression test. Enable already existing rso regression test. Add regression test for "sox" format muxer/demuxer. Add dpx encoding regression test. swscale: K&R formatting cosmetics for PowerPC code (part I/II) img2: Use ff_guess_image2_codec(filename) shorthand where appropriate. Clarify licensing information about files borrowed from libjpeg. Mark mutable static data const where appropriate. avplay: fix -threads option dvbsubdec: avoid undefined signed left shift in RGBA macro mlpdec: use av_log_ask_for_sample() gif: K&R formatting cosmetics png: make .long_name more descriptive movdec: Adjust keyframe flagging in fragmented files rv34: change most "int stride" into "ptrdiff_t stride". Conflicts: avprobe.c ffplay.c libavcodec/mlpdec.c libavcodec/mpegvideo_enc.c libavcodec/pngenc.c libavcodec/x86/v210-init.c libavfilter/vf_boxblur.c libavfilter/vf_crop.c libavfilter/vf_drawtext.c libavfilter/vf_lut.c libavfilter/vf_overlay.c libavfilter/vf_pad.c libavfilter/vf_scale.c libavfilter/vf_select.c libavfilter/vf_setpts.c libavfilter/vf_settb.c libavformat/img2.c libavutil/audioconvert.c tests/codec-regression.sh tests/lavf-regression.sh tests/ref/lavf/dpx tests/ref/vsynth1/prores tests/ref/vsynth2/prores Merged-by: Michael Niedermayer <[email protected]>
| * mpegvideo_enc: only allocate output packet when we know there will be outputAnton Khirnov2012-02-211-14/+14
| | | | | | | | Fixes a memleak.
| * sunrast: Add a sample request for RMP_RAW colormap.Aneesh Dogra2012-02-211-1/+5
| | | | | | | | Signed-off-by: Justin Ruggles <[email protected]>
| * avcodec: do not override pts or duration from the audio encoderJustin Ruggles2012-02-211-3/+5
| | | | | | | | | | This allows encoders to set pts and/or duration even if they do not use CODEC_CAP_DELAY.
| * Mark mutable static data const where appropriate.Alex Converse2012-02-213-3/+3
| |
| * dvbsubdec: avoid undefined signed left shift in RGBA macroJanne Grunau2012-02-211-1/+1
| |
| * mlpdec: use av_log_ask_for_sample()Paul B Mahol2012-02-211-18/+12
| | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Janne Grunau <[email protected]>
| * png: make .long_name more descriptivePaul B Mahol2012-02-212-2/+2
| | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Diego Biurrun <[email protected]>
| * rv34: change most "int stride" into "ptrdiff_t stride".Ronald S. Bultje2012-02-207-30/+30
| | | | | | | | | | | | This prevents having to sign-extend on 64-bit systems with 32-bit ints, such as x86-64. Also fixes crashes on systems where we don't do it and arguments are not in registers, such as Win64 for all weight functions.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-2125-343/+412
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (36 commits) adpcmenc: Use correct frame_size for Yamaha ADPCM. avcodec: add ff_samples_to_time_base() convenience function to internal.h adx parser: set duration mlp parser: set duration instead of frame_size gsm parser: set duration mpegaudio parser: set duration instead of frame_size (e)ac3 parser: set duration instead of frame_size flac parser: set duration instead of frame_size avcodec: add duration field to AVCodecParserContext avutil: add av_rescale_q_rnd() to allow different rounding pnmdec: remove useless .pix_fmts libmp3lame: support float and s32 sample formats libmp3lame: renaming, rearrangement, alignment, and comments libmp3lame: use the LAME default bit rate libmp3lame: use avpriv_mpegaudio_decode_header() for output frame parsing libmp3lame: cosmetics: remove some pointless comments libmp3lame: convert some debugging code to av_dlog() libmp3lame: remove outdated comment. libmp3lame: do not set coded_frame->key_frame. libmp3lame: improve error handling in MP3lame_encode_init() ... Conflicts: doc/APIchanges libavcodec/libmp3lame.c libavcodec/pcxenc.c libavcodec/pnmdec.c libavcodec/pnmenc.c libavcodec/sgienc.c libavcodec/utils.c libavformat/hls.c libavutil/avutil.h libswscale/x86/swscale_mmx.c Merged-by: Michael Niedermayer <[email protected]>
| * adpcmenc: Use correct frame_size for Yamaha ADPCM.Justin Ruggles2012-02-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | Output packet size should match avctx->block_align. The target output packet size is 1024 bytes. Before: mono - 1024 samples -> 512 bytes stereo - 2048 samples -> 2048 bytes After: mono - 2048 samples -> 1024 bytes stereo - 1024 samples -> 1024 bytes
| * avcodec: add ff_samples_to_time_base() convenience function to internal.hJustin Ruggles2012-02-204-15/+21
| |
| * adx parser: set durationJustin Ruggles2012-02-201-0/+3
| |
| * mlp parser: set duration instead of frame_sizeJustin Ruggles2012-02-201-1/+1
| |
| * gsm parser: set durationJustin Ruggles2012-02-201-2/+12
| |
| * mpegaudio parser: set duration instead of frame_sizeJustin Ruggles2012-02-201-1/+1
| |
| * (e)ac3 parser: set duration instead of frame_sizeJustin Ruggles2012-02-201-1/+1
| |
| * flac parser: set duration instead of frame_sizeJustin Ruggles2012-02-201-4/+6
| |
| * avcodec: add duration field to AVCodecParserContextJustin Ruggles2012-02-201-0/+7
| | | | | | | | | | This will allow parsers to export the duration of the current frame being output, if known, instead of using AVCodecContext.frame_size.
| * pnmdec: remove useless .pix_fmtsPaul B Mahol2012-02-201-5/+0
| | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
| * libmp3lame: support float and s32 sample formatsJustin Ruggles2012-02-201-11/+84
| |
| * libmp3lame: renaming, rearrangement, alignment, and commentsJustin Ruggles2012-02-201-35/+51
| |
| * libmp3lame: use the LAME default bit rateJustin Ruggles2012-02-201-2/+10
| | | | | | | | Also, only set bit rate for CBR.
| * libmp3lame: use avpriv_mpegaudio_decode_header() for output frame parsingJustin Ruggles2012-02-202-57/+8
| |
| * libmp3lame: cosmetics: remove some pointless commentsJustin Ruggles2012-02-201-2/+0
| |
| * libmp3lame: convert some debugging code to av_dlog()Justin Ruggles2012-02-201-5/+2
| | | | | | | | also remove unneeded commented-out full frame data debugging
| * libmp3lame: remove outdated comment.Justin Ruggles2012-02-201-2/+0
| | | | | | | | | | | | We now require at least libmp3lame 3.98.3. lame_encode_buffer_interleaved() still doesn't work for mono, but it does not "die"; it just expects a stereo interleaved buffer.
| * libmp3lame: do not set coded_frame->key_frame.Justin Ruggles2012-02-201-1/+0
| | | | | | | | it is already set in avcodec_alloc_frame()
| * libmp3lame: improve error handling in MP3lame_encode_init()Justin Ruggles2012-02-201-19/+25
| |
| * libmp3lame: remove unneeded 'stereo' field from Mp3AudioContextJustin Ruggles2012-02-201-5/+2
| |
| * pcxenc: switch to encode2().Anton Khirnov2012-02-201-9/+22
| |
| * sgienc: switch to encode2().Anton Khirnov2012-02-201-14/+25
| |
| * targaenc: switch to encode2().Anton Khirnov2012-02-201-26/+30
| |
| * targaenc: don't modify input frame.Anton Khirnov2012-02-201-3/+1
| | | | | | | | Set the pict_type/key_frame properties on the coded picture.
| * roqvideoenc: switch to encode2().Anton Khirnov2012-02-201-9/+16
| |
| * roqvideoenc: add const qualifier to the input frame.Anton Khirnov2012-02-202-9/+9
| |
| * pnmenc: switch to encode2().Anton Khirnov2012-02-201-13/+19
| |
| * huffyuv: switch to encode2().Anton Khirnov2012-02-201-9/+20
| |
| * v410enc: switch to encode2().Anton Khirnov2012-02-201-12/+13
| |
| * zmbvenc: switch to encode2().Anton Khirnov2012-02-201-15/+26
| |