]> git.sesse.net Git - ffmpeg/log
ffmpeg
12 years agoSupport gray8a encoding with libopenjpeg.
Carl Eugen Hoyos [Thu, 19 Jan 2012 22:13:48 +0000 (23:13 +0100)]
Support gray8a encoding with libopenjpeg.

Reviewed-by: Michael Bradshaw
Reviewed-by: Paul B Mahol
12 years agoSimplify 32bit png decoding.
Carl Eugen Hoyos [Thu, 19 Jan 2012 22:11:53 +0000 (23:11 +0100)]
Simplify 32bit png decoding.

12 years agoSupport encoding 16bit pixel formats to sgi.
Carl Eugen Hoyos [Thu, 19 Jan 2012 22:09:17 +0000 (23:09 +0100)]
Support encoding 16bit pixel formats to sgi.

12 years agoSimplify 32bit pam decoding.
Carl Eugen Hoyos [Thu, 19 Jan 2012 22:08:12 +0000 (23:08 +0100)]
Simplify 32bit pam decoding.

Reviewed-by: Paul B Mahol
12 years agoSimplify PIX_FMT_RGB555LE selection in targa decoder.
Carl Eugen Hoyos [Thu, 19 Jan 2012 22:03:21 +0000 (23:03 +0100)]
Simplify PIX_FMT_RGB555LE selection in targa decoder.

Suggested by Jean First.

12 years agoSimplify targa decoding on big endian.
Carl Eugen Hoyos [Thu, 19 Jan 2012 22:02:27 +0000 (23:02 +0100)]
Simplify targa decoding on big endian.

12 years agolibcelt: configure: check for recent version.
Nicolas George [Thu, 19 Jan 2012 11:55:54 +0000 (12:55 +0100)]
libcelt: configure: check for recent version.

12 years agoAdd "S263" FourCC
ami_stuff [Thu, 19 Jan 2012 13:16:41 +0000 (14:16 +0100)]
Add "S263" FourCC

fixes ticket #923

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoDNxHD: frame multithreading
Javier Cabezas [Thu, 19 Jan 2012 01:06:29 +0000 (02:06 +0100)]
DNxHD: frame multithreading

Signed-off-by: Javier Cabezas <jcabgz@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agowmalossless: Fix incompatoble pointer type warnings
Michael Niedermayer [Thu, 19 Jan 2012 07:51:56 +0000 (08:51 +0100)]
wmalossless: Fix incompatoble pointer type warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 19 Jan 2012 00:19:38 +0000 (01:19 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  avprobe, cmdutils: K&R formatting cosmetics
  tests: K&R formatting cosmetics for test programs
  lavf: free packets for muxers implementing interleave_packet().
  lavf: fix and extend av_interleaved_write_frame() doxy.
  mov: Remove dead stores for spherical coordinates for channel position.
  error_resilience: K&R formatting cosmetics
  RELEASE_NOTES: mention hiding private symbols in shared builds.
  RELEASE_NOTES: mention some notable API changes in 0.8

Conflicts:
cmdutils.h
doc/RELEASE_NOTES
ffprobe.c
libavcodec/error_resilience.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoReplace a av_fast_malloc with av_fast_padded_malloc.
Reimar Döffinger [Wed, 18 Jan 2012 21:00:27 +0000 (22:00 +0100)]
Replace a av_fast_malloc with av_fast_padded_malloc.

This one was missed in the previous fraps fix, the
allocation is exactly the same in both cases.
Fixes fraps-v5 under valgrind.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agoUse av_fast_padded_malloc in mimic and truemotion2 decoders.
Reimar Döffinger [Wed, 18 Jan 2012 20:23:22 +0000 (21:23 +0100)]
Use av_fast_padded_malloc in mimic and truemotion2 decoders.

Fixes use of uninitialized data errors under valgrind.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agopp: bump major in git master to match what debian contains.
Michael Niedermayer [Sat, 14 Jan 2012 23:45:28 +0000 (00:45 +0100)]
pp: bump major in git master to match what debian contains.

The ABI differences are negligible, but its easier for all if
all distros have libpostproc HEAD under the same soname and
debian bumped soname without consulting upstream, so as silly as
it is following this is probably the least pain for all.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoUse av_fast_padded_malloc in fraps and mpc decoders.
Reimar Döffinger [Tue, 17 Jan 2012 21:20:23 +0000 (22:20 +0100)]
Use av_fast_padded_malloc in fraps and mpc decoders.

Fixes FATE failures due to uninitialized reads under valgrind
for these two codecs.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agoavprobe, cmdutils: K&R formatting cosmetics
Gaurav Narula [Wed, 18 Jan 2012 19:54:04 +0000 (20:54 +0100)]
avprobe, cmdutils: K&R formatting cosmetics

12 years agotests: K&R formatting cosmetics for test programs
Gaurav Narula [Wed, 18 Jan 2012 19:51:54 +0000 (20:51 +0100)]
tests: K&R formatting cosmetics for test programs

12 years agolavf: free packets for muxers implementing interleave_packet().
Anton Khirnov [Wed, 18 Jan 2012 07:07:40 +0000 (08:07 +0100)]
lavf: free packets for muxers implementing interleave_packet().

Fixes a memleak.

12 years agolavf: fix and extend av_interleaved_write_frame() doxy.
Anton Khirnov [Wed, 18 Jan 2012 06:59:02 +0000 (07:59 +0100)]
lavf: fix and extend av_interleaved_write_frame() doxy.

Specify that lavf is responsible for freeing the data.

12 years agomov: Remove dead stores for spherical coordinates for channel position.
Alex Converse [Wed, 18 Jan 2012 00:58:16 +0000 (16:58 -0800)]
mov: Remove dead stores for spherical coordinates for channel position.

12 years agoerror_resilience: K&R formatting cosmetics
Donald Ovcharov [Sat, 17 Dec 2011 19:30:01 +0000 (21:30 +0200)]
error_resilience: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years agofix rtp 916 issue, patch 2
Dmitry Volyntsev [Wed, 18 Jan 2012 09:54:16 +0000 (13:54 +0400)]
fix rtp 916 issue, patch 2

Reviewed-by: Luca Abeni <lucabe72@email.it>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agofix rtp 916 issue
Dmitry Volyntsev [Wed, 18 Jan 2012 09:46:37 +0000 (13:46 +0400)]
fix rtp 916 issue

Reviewed-by: Luca Abeni <lucabe72@email.it>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavc: call ff_init_buffer_info() from default reget buffer.
Michael Niedermayer [Wed, 18 Jan 2012 00:14:01 +0000 (01:14 +0100)]
lavc: call ff_init_buffer_info() from default reget buffer.

This is needed in case the get_buffer() callback doesnt set
width/height.
Ideally all decoders would make calls through some wraper
to the callbacks and that wraper would call ff_init_buffer_info()
But until thats done, the default reget buffer must call this
itself as it needs the values for the changed size check later.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavc: when w/h changes in reget buffer, print the values.
Michael Niedermayer [Wed, 18 Jan 2012 00:13:22 +0000 (01:13 +0100)]
lavc: when w/h changes in reget buffer, print the values.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoRELEASE_NOTES: mention hiding private symbols in shared builds.
Anton Khirnov [Tue, 17 Jan 2012 12:38:35 +0000 (13:38 +0100)]
RELEASE_NOTES: mention hiding private symbols in shared builds.

12 years agoRELEASE_NOTES: mention some notable API changes in 0.8
Anton Khirnov [Tue, 17 Jan 2012 11:42:34 +0000 (12:42 +0100)]
RELEASE_NOTES: mention some notable API changes in 0.8

12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 18 Jan 2012 01:07:42 +0000 (02:07 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  tta: cast output data pointer to the correct type
  avconv: fix -frames for video encoders with delay.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffprobe: add more safe casts in value_string()
Stefano Sabatini [Tue, 17 Jan 2012 23:36:33 +0000 (00:36 +0100)]
ffprobe: add more safe casts in value_string()

Second attempt at fixing ticket #921.

12 years agoffprobe: use safer type for index variable in value_string()
Stefano Sabatini [Tue, 17 Jan 2012 23:22:17 +0000 (00:22 +0100)]
ffprobe: use safer type for index variable in value_string()

There is no guarantee that the casted double which is assigned to the
variable will be contained in an int (also if it is almost sure for most
non-alien architectures).

12 years agoffprobe: fix printing of unit values which cannot be contained in an int
Stefano Sabatini [Tue, 17 Jan 2012 23:01:07 +0000 (00:01 +0100)]
ffprobe: fix printing of unit values which cannot be contained in an int

Use long long int to contain such values instead of an int, which is
required to contain at least 64 bits, so it is guaranteed to contain also
int64_t values, which are used by some fields.

In particular, should fix trac ticket #921.

12 years agodoc/ffmpeg.texi: specify symbolic names for the vsync parameter
Stefano Sabatini [Tue, 17 Jan 2012 12:32:17 +0000 (13:32 +0100)]
doc/ffmpeg.texi: specify symbolic names for the vsync parameter

12 years agoFix memleak after switch to encode_audio2 API.
Reimar Döffinger [Tue, 17 Jan 2012 19:55:54 +0000 (20:55 +0100)]
Fix memleak after switch to encode_audio2 API.

Obviously the packet allocated by the encoder must be freed somewhere.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agoUse ff_packet_free_side_data instead of duplicating it.
Reimar Döffinger [Tue, 17 Jan 2012 19:34:26 +0000 (20:34 +0100)]
Use ff_packet_free_side_data instead of duplicating it.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agomxfdec: Consider OPAtom files that don't have exactly one EC to be OP1a
Tomas Härdin [Wed, 11 Jan 2012 10:29:57 +0000 (11:29 +0100)]
mxfdec: Consider OPAtom files that don't have exactly one EC to be OP1a

This fixes demuxing of 2011_DCPTEST_24FPS.V.mxf.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavc: remove unused headers
Paul B Mahol [Tue, 17 Jan 2012 19:31:39 +0000 (19:31 +0000)]
lavc: remove unused headers

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffmpeg: check tcgetattr result.
Reimar Döffinger [Mon, 16 Jan 2012 23:10:17 +0000 (00:10 +0100)]
ffmpeg: check tcgetattr result.

This fixes parallel FATE (make fate -j4) failing under valgrind with:
 Syscall param ioctl(TCSET{S,SW,SF}) points to uninitialised byte(s)
    at 0x5D98B23: tcsetattr (tcsetattr.c:88)
    by 0x43D66C: term_init (ffmpeg.c:734)
    by 0x43CD8D: main (ffmpeg.c:5071)
  Address 0x7fefffdd0 is on thread 1's stack
  Uninitialised value was created by a stack allocation
    at 0x43D5B0: term_init (ffmpeg.c:716)

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agoAdd and use av_fast_padded_malloc.
Reimar Döffinger [Sun, 15 Jan 2012 13:26:55 +0000 (14:26 +0100)]
Add and use av_fast_padded_malloc.

The same as av_fast_malloc but uses av_mallocz and keeps extra
always-0 padding.
This does not mean the memory will be 0-initialized after each call,
but actually only after each growth of the buffer.
However this makes sure that
a) all data anywhere in the buffer is always initialized
b) the padding is always 0
c) the user does not have to bother with adding the padding themselves
Fixes another valgrind warning about use of uninitialized data,
this time with fate-vsynth1-jpegls.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agolavc: Check CODEC_CAP_VARIABLE_FRAME_SIZE && !frame
Michael Niedermayer [Tue, 17 Jan 2012 02:17:56 +0000 (03:17 +0100)]
lavc: Check CODEC_CAP_VARIABLE_FRAME_SIZE && !frame

This combination is quite odd and almost certainly a bug if
it happens.

Reviewed-by: Justin Ruggles <justin.ruggles@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavc: use av_freep() for freeing extended_data
Michael Niedermayer [Tue, 17 Jan 2012 02:11:45 +0000 (03:11 +0100)]
lavc: use av_freep() for freeing extended_data

This is safer

Reviewed-by: Justin Ruggles <justin.ruggles@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agotta: cast output data pointer to the correct type
Justin Ruggles [Sat, 7 Jan 2012 15:25:32 +0000 (10:25 -0500)]
tta: cast output data pointer to the correct type

fixes "warning: assignment from incompatible pointer type"

12 years agotools: add ffeval tool
Stefano Sabatini [Sun, 15 Jan 2012 22:05:07 +0000 (23:05 +0100)]
tools: add ffeval tool

The tool is useful for testing the internal arithmetic evaluation engine
(indeed I plan to use it in FATE), and provides a handy calculator when
you can't rely on bc ;-).

12 years agodoc/eval.texi: add precisation about the assumption for "trueness" in conditional...
Stefano Sabatini [Sun, 15 Jan 2012 23:43:21 +0000 (00:43 +0100)]
doc/eval.texi: add precisation about the assumption for "trueness" in conditional expressions

12 years agolavu/eval: add if() and ifnot() eval functions
Stefano Sabatini [Sun, 15 Jan 2012 21:59:42 +0000 (22:59 +0100)]
lavu/eval: add if() and ifnot() eval functions

They allow to implement the if/then/else logic, which cannot be
implemented otherwise.

For example the expression:
A*B + not(A)*C

always evaluates to NaN if B is NaN, even in the case where A is 0.

12 years agolavfi/testsrc: add "decimals" option to the testsrc filter
Stefano Sabatini [Tue, 10 Jan 2012 10:20:21 +0000 (11:20 +0100)]
lavfi/testsrc: add "decimals" option to the testsrc filter

12 years agolavc/mpegvideo_enc: improve log message in case of too large GOP
Stefano Sabatini [Mon, 16 Jan 2012 17:53:59 +0000 (18:53 +0100)]
lavc/mpegvideo_enc: improve log message in case of too large GOP

Change log level from ERROR to WARNING and provide more specific
information in the message itself.

12 years agolibopenjpegenc: Remove two redundant function parameters.
Michael Bradshaw [Tue, 17 Jan 2012 11:01:42 +0000 (12:01 +0100)]
libopenjpegenc: Remove two redundant function parameters.

12 years agolibopenjpegenc: Simplify gray encoding.
Michael Bradshaw [Tue, 17 Jan 2012 10:57:36 +0000 (11:57 +0100)]
libopenjpegenc: Simplify gray encoding.

12 years agolibopenjpegenc: Add error messages.
Michael Bradshaw [Tue, 17 Jan 2012 10:47:08 +0000 (11:47 +0100)]
libopenjpegenc: Add error messages.

12 years agolibopenjpegenc: Rename four conversion functions.
Michael Bradshaw [Tue, 17 Jan 2012 10:43:44 +0000 (11:43 +0100)]
libopenjpegenc: Rename four conversion functions.

12 years agoavconv: fix -frames for video encoders with delay.
Anton Khirnov [Mon, 2 Jan 2012 08:22:41 +0000 (09:22 +0100)]
avconv: fix -frames for video encoders with delay.

Frames must be counted when they are passed to the encoder, not when
they come out.

Fixes Bug 202.

12 years agoUse correct register size.
Reimar Döffinger [Tue, 17 Jan 2012 07:41:04 +0000 (08:41 +0100)]
Use correct register size.

Fixes compilation with NASM.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 17 Jan 2012 00:40:45 +0000 (01:40 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  rv34: add NEON rv34_idct_add
  rv34: 1-pass inter MB reconstruction
  add SMJPEG muxer
  avformat: split out common SMJPEG code
  pictordec: Use bytestream2 functions
  avconv: use avcodec_encode_audio2()
  pcmenc: use AVCodec.encode2()
  avcodec: bump minor version and add APIChanges for the new audio encoding API
  avcodec: Add avcodec_encode_audio2() as replacement for avcodec_encode_audio()
  avcodec: add a public function, avcodec_fill_audio_frame().
  rv34: Intra 16x16 handling
  rv34: Inter/intra MB code split

Conflicts:
Changelog
libavcodec/avcodec.h
libavcodec/pictordec.c
libavcodec/utils.c
libavcodec/version.h
libavcodec/x86/rv34dsp.asm
libavformat/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodpxenc: Dont store lavc indent when bitexact is set.
Michael Niedermayer [Tue, 17 Jan 2012 00:37:59 +0000 (01:37 +0100)]
dpxenc: Dont store lavc indent when bitexact is set.

This avoids fate breakage from bumping version.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoSupport 64bit pam decoding.
Carl Eugen Hoyos [Mon, 16 Jan 2012 23:38:54 +0000 (00:38 +0100)]
Support 64bit pam decoding.

12 years agoSupport gray8a pam decoding.
Carl Eugen Hoyos [Mon, 16 Jan 2012 23:37:20 +0000 (00:37 +0100)]
Support gray8a pam decoding.

12 years agoFix pix_fmt_info for yuva420.
Carl Eugen Hoyos [Mon, 16 Jan 2012 23:30:28 +0000 (00:30 +0100)]
Fix pix_fmt_info for yuva420.

This allows correct output pix_fmt auto-selection
if the input pix_fmt is yuva420.

Fixes ticket #290.

12 years agofate: add GEN tag for mapchan sw tests.
Clément Bœsch [Fri, 13 Jan 2012 18:17:12 +0000 (19:17 +0100)]
fate: add GEN tag for mapchan sw tests.

12 years agofix av_dlog call with non-AVClass struct
Maksym Veremeyenko [Mon, 16 Jan 2012 14:20:58 +0000 (16:20 +0200)]
fix av_dlog call with non-AVClass struct

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoRemove extraneous newline from dpx reference which breaks FATE.
Reimar Döffinger [Mon, 16 Jan 2012 18:43:41 +0000 (19:43 +0100)]
Remove extraneous newline from dpx reference which breaks FATE.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agorv34: add NEON rv34_idct_add
Janne Grunau [Sun, 15 Jan 2012 18:16:02 +0000 (19:16 +0100)]
rv34: add NEON rv34_idct_add

Overall almost 4% faster, idct_add down from 350 to 85 cycles, idct_dc_add
down from 83 to 30 cycles.

squash: rv34 idct rearrange partial register loads

12 years agorv34: 1-pass inter MB reconstruction
Christophe GISQUET [Tue, 3 Jan 2012 19:38:29 +0000 (20:38 +0100)]
rv34: 1-pass inter MB reconstruction

Implement 1-pass inverse transform and reconstruction for inter blocks.

12 years agoRework VP8 decoder frame skipping code.
Reimar Döffinger [Sun, 11 Dec 2011 15:02:30 +0000 (16:02 +0100)]
Rework VP8 decoder frame skipping code.

This reworks the frame skipping code such that the reference
buffers are still updated according to the header.
However it also ensures that the current frame will not end
up in any reference buffer.
Also fixes a hang with frame-multithreading, probably because
get_buffer was already called and would have reset the progress,
however the frame could remain in framep due to the missing update
(or it could be assigned to next_framep and a skip_frame skip would
then write it into framep - there might be even more failure modes).
Sample might become available at samples/nsv/vp8.nsv

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agomxfdec: Add missing free.
Reimar Döffinger [Sun, 15 Jan 2012 09:08:02 +0000 (10:08 +0100)]
mxfdec: Add missing free.

Should fix valgrind FATE.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agoasfdec: Move variable declarations into the blocks they are used in.
Reimar Döffinger [Sun, 15 Jan 2012 19:18:22 +0000 (20:18 +0100)]
asfdec: Move variable declarations into the blocks they are used in.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agolavu: add 2.1 channel layout.
Clément Bœsch [Wed, 11 Jan 2012 09:09:37 +0000 (10:09 +0100)]
lavu: add 2.1 channel layout.

12 years agoAdd dpx encoding regression test.
Carl Eugen Hoyos [Mon, 16 Jan 2012 11:57:39 +0000 (12:57 +0100)]
Add dpx encoding regression test.

12 years agoadd SMJPEG muxer
Paul B Mahol [Sat, 14 Jan 2012 19:29:59 +0000 (19:29 +0000)]
add SMJPEG muxer

Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
12 years agoavformat: split out common SMJPEG code
Paul B Mahol [Sat, 14 Jan 2012 16:47:07 +0000 (16:47 +0000)]
avformat: split out common SMJPEG code

This is a preparation for adding SMJPEG muxer.

Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
12 years agoSupport rgb64 dpx encoding.
Carl Eugen Hoyos [Mon, 16 Jan 2012 09:59:27 +0000 (10:59 +0100)]
Support rgb64 dpx encoding.

12 years agoAdd gray16 and rgb48 png encoding regression tests.
Carl Eugen Hoyos [Mon, 16 Jan 2012 09:57:56 +0000 (10:57 +0100)]
Add gray16 and rgb48 png encoding regression tests.

12 years agopictordec: Use bytestream2 functions
Laurentiu Ion [Mon, 16 Jan 2012 02:47:07 +0000 (04:47 +0200)]
pictordec: Use bytestream2 functions

Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years agoEnhance HLS seeking.
Panagiotis H.M. Issaris [Tue, 10 Jan 2012 13:48:57 +0000 (14:48 +0100)]
Enhance HLS seeking.

Enhances seeking by demuxing until the requested timestamp is reached within
the segment selected by the seek code using the playlist info.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agovorbisdec: Check that the x values of floor1 are unique.
Michael Niedermayer [Thu, 12 Jan 2012 03:21:47 +0000 (04:21 +0100)]
vorbisdec: Check that the x values of floor1 are unique.

This is required by the spec and fixes video-1frag.ogg.48.ogg. (FPE)

Based on the debuging work of Oana Stratulat and ubitux.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomov: cosmetics - move a line to a better position and add a comment
Jean First [Sat, 14 Jan 2012 13:10:20 +0000 (14:10 +0100)]
mov: cosmetics - move a line to a better position and add a comment

mov: cosmetics - move a line to a better position and add a comment

Oana Andreea Stratulat submitted a similar patch to trac, but forgot
to notify the ML about it.

Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomovenc: add FIXME to add alis and rsrc atoms
Jean First [Sat, 14 Jan 2012 13:10:19 +0000 (14:10 +0100)]
movenc: add FIXME to add alis and rsrc atoms

Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavconv: use avcodec_encode_audio2()
Justin Ruggles [Sat, 31 Dec 2011 14:36:25 +0000 (09:36 -0500)]
avconv: use avcodec_encode_audio2()

12 years agopcmenc: use AVCodec.encode2()
Justin Ruggles [Sun, 8 Jan 2012 22:37:16 +0000 (17:37 -0500)]
pcmenc: use AVCodec.encode2()

12 years agoavcodec: bump minor version and add APIChanges for the new audio encoding API
Justin Ruggles [Mon, 19 Dec 2011 00:47:38 +0000 (19:47 -0500)]
avcodec: bump minor version and add APIChanges for the new audio encoding API

12 years agoavcodec: Add avcodec_encode_audio2() as replacement for avcodec_encode_audio()
Justin Ruggles [Sun, 18 Dec 2011 18:20:15 +0000 (13:20 -0500)]
avcodec: Add avcodec_encode_audio2() as replacement for avcodec_encode_audio()

This allows audio encoders to optionally take an AVFrame as input and write
encoded output to an AVPacket.

This also adds AVCodec.encode2() which will also be usable by video and
subtitle encoders once support is implemented in the public functions.

12 years agoavcodec: add a public function, avcodec_fill_audio_frame().
Justin Ruggles [Thu, 15 Dec 2011 22:56:06 +0000 (17:56 -0500)]
avcodec: add a public function, avcodec_fill_audio_frame().

This is a convenience function for the user to fill audio AVFrame information.

12 years agomovenc: indent cosemtics
Jean First [Sat, 14 Jan 2012 13:10:17 +0000 (14:10 +0100)]
movenc: indent cosemtics

Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 16 Jan 2012 00:20:32 +0000 (01:20 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  fate: split ADPCM and DPCM test references into separate files.
  mov, mxfdec: Employ more meaningful return values.
  lavc: Relax API strictness in avcodec_decode_audio3 with a custom get_buffer()
  wavpack: fix clipping for 32-bit lossy mode
  vb: Use bytestream2 functions

Conflicts:
libavcodec/utils.c
libavcodec/vb.c
libavformat/mxfdec.c
tests/fate/dpcm.mak

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agorv34: Intra 16x16 handling
Christophe GISQUET [Mon, 2 Jan 2012 23:22:11 +0000 (00:22 +0100)]
rv34: Intra 16x16 handling

Extract processing of intra 16x16 blocks from intra macroblock
processing.
Also implement a function performing inverse transform and block
reconstruction for DC-only blocks in 1 pass instead of 2.

12 years agorv34: Inter/intra MB code split
Christophe GISQUET [Mon, 2 Jan 2012 19:53:54 +0000 (20:53 +0100)]
rv34: Inter/intra MB code split

Split inter/intra macroblock handling code. This will allow further
optimizations such as performing inverse transform and block reconstruction
in a single pass as well as specialize code.

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
12 years agoSupport rgb48 and rgba64 png encoding.
Carl Eugen Hoyos [Sun, 15 Jan 2012 21:04:25 +0000 (22:04 +0100)]
Support rgb48 and rgba64 png encoding.

12 years agofate: split ADPCM and DPCM test references into separate files.
Diego Biurrun [Thu, 12 Jan 2012 23:58:22 +0000 (00:58 +0100)]
fate: split ADPCM and DPCM test references into separate files.

12 years agoSimplify RGB32 png encoding.
Carl Eugen Hoyos [Sun, 15 Jan 2012 21:00:11 +0000 (22:00 +0100)]
Simplify RGB32 png encoding.

12 years agomov, mxfdec: Employ more meaningful return values.
Daniel Huang [Sat, 14 Jan 2012 21:25:12 +0000 (15:25 -0600)]
mov, mxfdec: Employ more meaningful return values.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years agoSupport gray16 png encoding.
Carl Eugen Hoyos [Sun, 15 Jan 2012 20:57:02 +0000 (21:57 +0100)]
Support gray16 png encoding.

12 years agoSupport gray8a png encoding.
Carl Eugen Hoyos [Sun, 15 Jan 2012 20:53:01 +0000 (21:53 +0100)]
Support gray8a png encoding.

12 years agolavc: Relax API strictness in avcodec_decode_audio3 with a custom get_buffer()
Reinhard Tartler [Sun, 15 Jan 2012 19:32:11 +0000 (20:32 +0100)]
lavc: Relax API strictness in avcodec_decode_audio3 with a custom get_buffer()

Do not fail audio decoding with avcodec_decode_audio3 if user has set a
custom get_buffer. Strictly speaking, this was never allowed by the API,
but it seems that some software packages did so anyways. In order to
unbreak applications (cf. http://bugs.debian.org/655890), this change
clarifies the API and overrides the custom get_buffer() with the defaults.

This change is inspired by a similar
commit (c3846e3ebab610be691adb8b40d376dc2f675dc4) in FFmpeg.

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
12 years agoFix ff_get_guid for short reads or errors.
Reimar Döffinger [Sun, 15 Jan 2012 15:58:21 +0000 (16:58 +0100)]
Fix ff_get_guid for short reads or errors.

Current code would just return uninitialized data with no way
to detect this condition.
Instead, fill the whole GUID with 0 in that case.
Fixes valgrind uninitialized data errors in fate-seek-lavf_asf.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agolavfi-showfiltfmts: fix typo that segfaulted haiku.
Michael Niedermayer [Sun, 15 Jan 2012 18:46:01 +0000 (19:46 +0100)]
lavfi-showfiltfmts: fix typo that segfaulted haiku.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agowavpack: fix clipping for 32-bit lossy mode
Kostya Shishkov [Sun, 15 Jan 2012 13:23:28 +0000 (14:23 +0100)]
wavpack: fix clipping for 32-bit lossy mode

Reference decoder clips data before shifting it to final range and also
forces 32-bit lossy mode to be actually 24-bit lossy mode in order to be
able to perform proper clipping.

12 years agoffplay: mark i variable in toggle_full_screen() as unused
Stefano Sabatini [Sun, 15 Jan 2012 12:27:45 +0000 (13:27 +0100)]
ffplay: mark i variable in toggle_full_screen() as unused

Fix gcc warning:
ffplay.c: In function ‘toggle_full_screen’:
ffplay.c:2792:9: warning: unused variable ‘i’ [-Wunused-variable]

12 years agolavfi/rgbtestsrc: make alpha plane opaque
Stefano Sabatini [Sun, 15 Jan 2012 12:03:15 +0000 (13:03 +0100)]
lavfi/rgbtestsrc: make alpha plane opaque

12 years agoiff: support masking plane feature
Peter Ross [Sun, 15 Jan 2012 08:34:45 +0000 (19:34 +1100)]
iff: support masking plane feature

Fixes ticket 705.

Reported-by: ami-stuff
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoRevert "buildsystem: add $EXESUF to the used tool for fate"
Michael Niedermayer [Sun, 15 Jan 2012 12:33:08 +0000 (13:33 +0100)]
Revert "buildsystem: add $EXESUF to the used tool for fate"

This reverts commit 668a74e808dad06b15549ed05aa3a879f76c17c3.
10l, this change was unneeded, target_exec can be used to achive the same.

12 years agoFix uninitialized reads for fate-vsynth1-asv2 test.
Reimar Döffinger [Sun, 15 Jan 2012 10:01:01 +0000 (11:01 +0100)]
Fix uninitialized reads for fate-vsynth1-asv2 test.

This is not a real error and memsetting always even when the
size did not change is overkill, but it still should be
an acceptable trade-off.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>