Alex Converse
0ad522afb3
mov: Add support for MPEG2 HDV 720p24 (hdv4)
13 years ago
Diego Biurrun
89d94b2182
swscale: K&R formatting cosmetics (part I)
13 years ago
Diego Biurrun
72b95764d0
swscale: variable declaration and placement cosmetics
13 years ago
Anton Khirnov
5d42ac7ffb
mpegvideo_enc: only allocate output packet when we know there will be output
...
Fixes a memleak.
13 years ago
Tim W
b38b6d56ca
Add names for more channel layouts to the channel layout map.
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Aneesh Dogra
79c7064c5f
sunrast: Add a sample request for RMP_RAW colormap.
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Justin Ruggles
70749c483c
avcodec: do not override pts or duration from the audio encoder
...
This allows encoders to set pts and/or duration even if they do not use
CODEC_CAP_DELAY.
13 years ago
Reimar Döffinger
2c87c7a952
Add prores regression test.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Reimar Döffinger
a86ca94615
Enable already existing rso regression test.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Reimar Döffinger
ecdb31caf2
Add regression test for "sox" format muxer/demuxer.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Carl Eugen Hoyos
8ee2ddcb2a
Add dpx encoding regression test.
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Diego Biurrun
04217de4d6
swscale: K&R formatting cosmetics for PowerPC code (part I/II)
13 years ago
Diego Biurrun
3f486e0dae
img2: Use ff_guess_image2_codec(filename) shorthand where appropriate.
13 years ago
Diego Biurrun
24d150b773
Clarify licensing information about files borrowed from libjpeg.
13 years ago
Alex Converse
b0f29db5c2
Mark mutable static data const where appropriate.
13 years ago
Janne Grunau
e48a70e6da
avplay: fix -threads option
...
The AVOptions based default to threads auto in 2473a45c8
works only if avplay does not use custom option handling
for -threads.
CC: <libav-stable@libav.org>
13 years ago
Janne Grunau
6a4cf065c7
dvbsubdec: avoid undefined signed left shift in RGBA macro
13 years ago
Paul B Mahol
ca085e667b
mlpdec: use av_log_ask_for_sample()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Aneesh Dogra
33510e86b1
gif: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Paul B Mahol
08630d25a2
png: make .long_name more descriptive
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Martin Storsjö
a5c50913a8
movdec: Adjust keyframe flagging in fragmented files
...
For video, mark the first sample in a trun which doesn't have the
sample-is-non-sync-sample flag set as a keyframe.
In particular, the "sample does not depend on other samples" flag
isn't enough to make it a keyframe, since later frames still can
reference frames prior to that one (the flag only says that that
particular frame doesn't depend on other frames).
This fixes bug 215.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Ronald S. Bultje
3ab9a2a557
rv34: change most "int stride" into "ptrdiff_t stride".
...
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.
13 years ago
Justin Ruggles
770a5c6d02
adpcmenc: Use correct frame_size for Yamaha ADPCM.
...
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
13 years ago
Justin Ruggles
91a28b0e8e
avcodec: add ff_samples_to_time_base() convenience function to internal.h
13 years ago
Justin Ruggles
41ac9bb253
adx parser: set duration
13 years ago
Justin Ruggles
b3a4c7e0f1
mlp parser: set duration instead of frame_size
13 years ago
Justin Ruggles
2460b168b4
gsm parser: set duration
13 years ago
Justin Ruggles
7575ffac8a
mpegaudio parser: set duration instead of frame_size
13 years ago
Justin Ruggles
16e54ac725
(e)ac3 parser: set duration instead of frame_size
13 years ago
Justin Ruggles
c7f3f1c91e
flac parser: set duration instead of frame_size
13 years ago
Justin Ruggles
e9cda85351
avcodec: add duration field to AVCodecParserContext
...
This will allow parsers to export the duration of the current frame being
output, if known, instead of using AVCodecContext.frame_size.
13 years ago
Justin Ruggles
0b42a9388c
avutil: add av_rescale_q_rnd() to allow different rounding
13 years ago
Paul B Mahol
0996f406c4
pnmdec: remove useless .pix_fmts
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Justin Ruggles
e00959a9b1
libmp3lame: support float and s32 sample formats
13 years ago
Justin Ruggles
e232225276
libmp3lame: renaming, rearrangement, alignment, and comments
13 years ago
Justin Ruggles
232e16dd02
libmp3lame: use the LAME default bit rate
...
Also, only set bit rate for CBR.
13 years ago
Justin Ruggles
1f516c0451
libmp3lame: use avpriv_mpegaudio_decode_header() for output frame parsing
13 years ago
Justin Ruggles
e3d2c89e9d
libmp3lame: cosmetics: remove some pointless comments
13 years ago
Justin Ruggles
bf909fc456
libmp3lame: convert some debugging code to av_dlog()
...
also remove unneeded commented-out full frame data debugging
13 years ago
Justin Ruggles
469d2a8e8e
libmp3lame: remove outdated comment.
...
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.
13 years ago
Justin Ruggles
35cfd7d09c
libmp3lame: do not set coded_frame->key_frame.
...
it is already set in avcodec_alloc_frame()
13 years ago
Justin Ruggles
8dad25ebf7
libmp3lame: improve error handling in MP3lame_encode_init()
13 years ago
Justin Ruggles
310c372e12
libmp3lame: remove unneeded 'stereo' field from Mp3AudioContext
13 years ago
Martin Storsjö
a4f97be1a9
hls: Reset the AVIOContext when seeking
...
This avoids reading any old data in the AVIOContext buffer after
the seek, and indicates to the mpegts demuxer that we've seeked,
avoiding continuity check errors.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
55fd7da107
pcxenc: switch to encode2().
13 years ago
Anton Khirnov
fb11e22fda
sgienc: switch to encode2().
13 years ago
Anton Khirnov
61eaf45c99
targaenc: switch to encode2().
13 years ago
Anton Khirnov
1e742ea3c8
targaenc: don't modify input frame.
...
Set the pict_type/key_frame properties on the coded picture.
13 years ago
Anton Khirnov
3227770092
roqvideoenc: switch to encode2().
13 years ago
Anton Khirnov
4fd7cfef0b
roqvideoenc: add const qualifier to the input frame.
13 years ago