]> git.sesse.net Git - ffmpeg/log
ffmpeg
12 years agoindeo4: add some missing static and const qualifiers
Kostya Shishkov [Thu, 12 Jan 2012 09:01:33 +0000 (10:01 +0100)]
indeo4: add some missing static and const qualifiers

From the patch by Reimar Döffinger.

12 years agoffprobe: fix leak in show_packets()
Stefano Sabatini [Wed, 11 Jan 2012 23:30:24 +0000 (00:30 +0100)]
ffprobe: fix leak in show_packets()

Call av_free_packets() at each demuxing loop iteration, not only when
decoding.

X-ColaCount: +10l

12 years agoffprobe: replace av_destruct_packet() with av_free_packet()
Stefano Sabatini [Wed, 11 Jan 2012 23:16:21 +0000 (00:16 +0100)]
ffprobe: replace av_destruct_packet() with av_free_packet()

av_destruct_packet() always frees the packet data even when the demuxer
is going to re-use it, thus causing crashes when decoding audio
frames (as implemented in a pending patch).

av_free_packet() is used instead, as it allows each demuxer to set the
right packet data releasing mechanism through the pkt->destruct callback.

12 years agolavfi/testsrc: add "d" alias for the duration option
Stefano Sabatini [Tue, 10 Jan 2012 10:04:59 +0000 (11:04 +0100)]
lavfi/testsrc: add "d" alias for the duration option

12 years agorv34: DC-only inverse transform
Christophe GISQUET [Sun, 1 Jan 2012 17:33:22 +0000 (18:33 +0100)]
rv34: DC-only inverse transform

When decoding coefficients, detect whether the block is DC-only, and take
advantage of this knowledge to perform DC-only inverse transform.

This is achieved by:
- first, changing the 108x4 element modulo_three_table into a 108 element
  table (kind of base4), and accessing each value using mask and shifts.
- then, checking low bits for 0 (as they represent the presence of higher
  frequency coefficients)

Also provide x86 SIMD code for the DC-only inverse transform.

Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
12 years agoavconv: use AVFrame.width/height/format instead of corresponding AVCodecContext fields
Anton Khirnov [Sat, 31 Dec 2011 16:15:50 +0000 (17:15 +0100)]
avconv: use AVFrame.width/height/format instead of corresponding AVCodecContext fields

12 years agolavfi: move version macros to a new installed header version.h
Anton Khirnov [Sat, 31 Dec 2011 15:20:10 +0000 (16:20 +0100)]
lavfi: move version macros to a new installed header version.h

12 years agovsrc_buffer: release the buffer on uninit.
Anton Khirnov [Fri, 30 Dec 2011 19:56:06 +0000 (20:56 +0100)]
vsrc_buffer: release the buffer on uninit.

12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 11 Jan 2012 23:52:40 +0000 (00:52 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  fft: init functions with INIT_XMM/YMM.
  pcmenc: set frame_size to 0.
  gsm demuxer: use generic seeking instead of a gsm-specific function.
  gsm demuxer: return packets with only 1 gsm block at a time.
  avcodec: add GSM parser
  doc: Replace ffmpeg references in avserver config file by avconv.
  doc: Fix names of av_log color environment variables.
  Fix a bunch of platform name and other typos.
  Add some missing changelog entries and release 0.8_beta2
  No longer build libpostproc by default
  wtv: fix memleaks during normal operation
  threads: add CODEC_CAP_AUTO_THREADS for libvpx and xavs

Conflicts:
Changelog
RELEASE
cmdutils.c
configure
doc/ffserver.conf
doc/platform.texi
ffplay.c
libavcodec/Makefile
libavcodec/version.h
libavformat/wtv.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agorgb2rgb: rgb12tobgr12()
Paul B Mahol [Wed, 11 Jan 2012 19:19:00 +0000 (19:19 +0000)]
rgb2rgb: rgb12tobgr12()

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agoSupport encoding RGB48 with libopenjpeg.
Carl Eugen Hoyos [Wed, 11 Jan 2012 22:58:43 +0000 (23:58 +0100)]
Support encoding RGB48 with libopenjpeg.

Reviewed-by: Michael Bradshaw
12 years agolatmdec: Check AudioSpecificConfig length before decoding extradata.
Alex Converse [Wed, 11 Jan 2012 22:03:57 +0000 (14:03 -0800)]
latmdec: Check AudioSpecificConfig length before decoding extradata.

This is different than a normal get_bits() over read because
decode_audio_specific_config() creates its own GetBitContext.

Fixes Bug 170.

12 years agoffplay: silence buffer size must be a multiple of frame size
Marton Balint [Sun, 8 Jan 2012 23:23:12 +0000 (00:23 +0100)]
ffplay: silence buffer size must be a multiple of frame size

Otherwise the audio channels sometimes would be shifted on output.

Signed-off-by: Marton Balint <cus@passwd.hu>
12 years agoffplay: use swr_set_compensation for audio synchronization
Marton Balint [Thu, 29 Dec 2011 20:05:38 +0000 (21:05 +0100)]
ffplay: use swr_set_compensation for audio synchronization

Also change synchronize_audio to only calculate the wanted number of samples
instead of doing the actual synchronization, and make swr_convert handle the
sample addition or deletion.

This new method replaces the old buggy way which simply deleted or
multiplied samples.

Signed-off-by: Marton Balint <cus@passwd.hu>
12 years agocabac: Try to disable problematic ASM for gcc-llvm 4.2.1
Michael Niedermayer [Wed, 11 Jan 2012 17:09:56 +0000 (18:09 +0100)]
cabac: Try to disable problematic ASM for gcc-llvm 4.2.1

This should fix compilation with gcc-llvm (see darwin fate box)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agosws: Remove unneeded YUV cliping from yuv2rgb_X_c_template()
Michael Niedermayer [Tue, 10 Jan 2012 19:18:06 +0000 (20:18 +0100)]
sws: Remove unneeded YUV cliping from yuv2rgb_X_c_template()

This should slightly improve speed.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agobmpenc: support for BGRA
Paul B Mahol [Wed, 11 Jan 2012 18:50:05 +0000 (18:50 +0000)]
bmpenc: support for BGRA

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoswscale: Force full horizontal chroma internally when the output has a odd size.
Michael Niedermayer [Sun, 8 Jan 2012 21:48:58 +0000 (22:48 +0100)]
swscale: Force full horizontal chroma internally when the output has a odd size.

This fixes a gray line on the right side due to 1 column of pixels being skiped.
Fixes Ticket891

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibmp3lame: It appears the buffer used is a bit too small.
Michael Niedermayer [Sun, 8 Jan 2012 17:36:17 +0000 (18:36 +0100)]
libmp3lame: It appears the buffer used is a bit too small.

Increase it by an arbitrary amount.
Fixes part of Ticket676

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agofft: init functions with INIT_XMM/YMM.
Henrik Gramner [Wed, 11 Jan 2012 17:40:34 +0000 (17:40 +0000)]
fft: init functions with INIT_XMM/YMM.

This is required to handle clobbering of XMM registers on Win64
correctly. Fixes FFT and all tests depending on FFT on Win64.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
12 years agotimecode: support >24h timecode.
Clément Bœsch [Wed, 4 Jan 2012 16:30:03 +0000 (17:30 +0100)]
timecode: support >24h timecode.

12 years agotimecode: string representation can be negative.
Clément Bœsch [Wed, 4 Jan 2012 16:06:39 +0000 (17:06 +0100)]
timecode: string representation can be negative.

Timecode can be specified with a negative value in MOV...

12 years agotimecode: set a fixed buffer size of 16B for tc string.
Clément Bœsch [Wed, 11 Jan 2012 16:51:57 +0000 (17:51 +0100)]
timecode: set a fixed buffer size of 16B for tc string.

12 years agopcmenc: set frame_size to 0.
Justin Ruggles [Tue, 10 Jan 2012 20:17:39 +0000 (15:17 -0500)]
pcmenc: set frame_size to 0.

This indicates that the actual frame size is based on the buf_size passed to
avcodec_encode_audio().

12 years agosws: Move yuv2rgb clipping into the tables.
Michael Niedermayer [Tue, 10 Jan 2012 19:56:15 +0000 (20:56 +0100)]
sws: Move yuv2rgb clipping into the tables.

This fixes some cases where the clipping was entirely missing.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Thanks (for the comments and review) -to: Reimar, beastd, Ronald

12 years agobmpdec: support various bitfields for 32 bit depth
Paul B Mahol [Wed, 11 Jan 2012 02:56:24 +0000 (02:56 +0000)]
bmpdec: support various bitfields for 32 bit depth

Fixes #740

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoRevert "v4l2: poll the file descriptor"
Michael Niedermayer [Wed, 11 Jan 2012 13:17:16 +0000 (14:17 +0100)]
Revert "v4l2: poll the file descriptor"

This reverts commit 0efd48dfd15273a5ac85f2fd42f19d419fafe90d.
Reason for the revert is that the code seems based on some
misunderstanding on how the code works.

Conflicts:

libavdevice/v4l2.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agogsm demuxer: use generic seeking instead of a gsm-specific function.
Justin Ruggles [Mon, 9 Jan 2012 18:49:52 +0000 (13:49 -0500)]
gsm demuxer: use generic seeking instead of a gsm-specific function.

Since packets all contain only a single block, the generic seek function can
be used while still maintaining block-accuracy.

12 years agogsm demuxer: return packets with only 1 gsm block at a time.
Justin Ruggles [Mon, 9 Jan 2012 18:48:46 +0000 (13:48 -0500)]
gsm demuxer: return packets with only 1 gsm block at a time.

fixes stream copy of raw gsm to mov.
tested with QuickTime.

12 years agoavcodec: add GSM parser
Justin Ruggles [Mon, 9 Jan 2012 00:50:31 +0000 (19:50 -0500)]
avcodec: add GSM parser

The WAVE demuxer returns packets with many blocks per frame, which needs to be
parsed into single blocks. This has a side-effect of fixing the timestamps.

12 years agodoc: Replace ffmpeg references in avserver config file by avconv.
Diego Biurrun [Wed, 11 Jan 2012 09:50:35 +0000 (10:50 +0100)]
doc: Replace ffmpeg references in avserver config file by avconv.

12 years agodoc: Fix names of av_log color environment variables.
Diego Biurrun [Wed, 11 Jan 2012 09:49:49 +0000 (10:49 +0100)]
doc: Fix names of av_log color environment variables.

12 years agoFix a bunch of platform name and other typos.
Diego Biurrun [Mon, 12 Dec 2011 20:21:24 +0000 (21:21 +0100)]
Fix a bunch of platform name and other typos.

12 years agoAdd some missing changelog entries and release 0.8_beta2
Reinhard Tartler [Wed, 11 Jan 2012 08:32:56 +0000 (09:32 +0100)]
Add some missing changelog entries and release 0.8_beta2

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
12 years agotiffdec: notify user that tile support is missing
Paul B Mahol [Tue, 10 Jan 2012 18:45:44 +0000 (18:45 +0000)]
tiffdec: notify user that tile support is missing

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
12 years agoFix step_minus1 pixel descirption for RGB64.
Carl Eugen Hoyos [Wed, 11 Jan 2012 09:54:12 +0000 (10:54 +0100)]
Fix step_minus1 pixel descirption for RGB64.

12 years agoNo longer build libpostproc by default
Reinhard Tartler [Tue, 10 Jan 2012 16:52:50 +0000 (17:52 +0100)]
No longer build libpostproc by default

update documentation to inform developers that it may be removed in a
later release.

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
12 years agoFixes wrong duration in .mov file. Issue 599
Oana Stratulat [Wed, 11 Jan 2012 01:33:25 +0000 (03:33 +0200)]
Fixes wrong duration in .mov file. Issue 599

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agosws: fix unscaled LE<->BE rgb<->bgr
Michael Niedermayer [Wed, 11 Jan 2012 03:07:02 +0000 (04:07 +0100)]
sws: fix unscaled LE<->BE rgb<->bgr

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodoc: Fix stray references to libva
Michael Niedermayer [Wed, 11 Jan 2012 02:02:02 +0000 (03:02 +0100)]
doc: Fix stray references to libva
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 11 Jan 2012 01:23:55 +0000 (02:23 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (22 commits)
  rv34: frame-level multi-threading
  mpegvideo: claim ownership of referenced pictures
  aacsbr: prevent out of bounds memcpy().
  ipmovie: fix pts for CODEC_ID_INTERPLAY_DPCM
  sierravmd: fix audio pts
  bethsoftvideo: Use bytestream2 functions to prevent buffer overreads.
  bmpenc: support for PIX_FMT_RGB444
  swscale: fix crash in fast_bilinear code when compiled with -mred-zone.
  swscale: specify register type.
  rv34: use get_bits_left()
  avconv: reinitialize the filtergraph on resolution change.
  vsrc_buffer: error on changing frame parameters.
  avconv: fix -copyinkf.
  fate: Update file checksums after the mov muxer change in a78dbada55d6
  movenc: Don't store a nonzero creation time if nothing was set by the caller
  bmpdec: support for rgb444 with bitfields compression
  rgb2rgb: allow conversion for <15 bpp
  doc: fix stray reference to FFmpeg
  v4l2: use C99 struct initializer
  v4l2: poll the file descriptor
  ...

Conflicts:
avconv.c
libavcodec/aacsbr.c
libavcodec/bethsoftvideo.c
libavcodec/kmvc.c
libavdevice/v4l2.c
libavfilter/vsrc_buffer.c
libswscale/swscale_unscaled.c
libswscale/x86/input.asm
tests/ref/acodec/alac
tests/ref/acodec/pcm_s16be
tests/ref/acodec/pcm_s24be
tests/ref/acodec/pcm_s32be
tests/ref/acodec/pcm_s8
tests/ref/lavf/mov
tests/ref/vsynth1/dnxhd_1080i
tests/ref/vsynth1/mpeg4
tests/ref/vsynth1/qtrle
tests/ref/vsynth1/svq1
tests/ref/vsynth2/dnxhd_1080i
tests/ref/vsynth2/mpeg4
tests/ref/vsynth2/qtrle
tests/ref/vsynth2/svq1

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agowtv: fix memleaks during normal operation
Janne Grunau [Wed, 11 Jan 2012 00:34:30 +0000 (01:34 +0100)]
wtv: fix memleaks during normal operation

12 years agothreads: add CODEC_CAP_AUTO_THREADS for libvpx and xavs
Janne Grunau [Tue, 10 Jan 2012 16:21:52 +0000 (17:21 +0100)]
threads: add CODEC_CAP_AUTO_THREADS for libvpx and xavs

12 years agoMerge remote-tracking branch 'richardpl/sws'
Michael Niedermayer [Tue, 10 Jan 2012 22:12:21 +0000 (23:12 +0100)]
Merge remote-tracking branch 'richardpl/sws'

* richardpl/sws:
  rgb2rgb: remove unused bgr8torgb8()
  rgb2rgb: rgb12tobgr12()
  rgb2rgb: allow conversion for <15 bpp
  bmpenc: support for PIX_FMT_RGB444
  bmpdec: support for rgb444 with bitfields compression

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agox86inc: remove duplicate movlhps
Michael Niedermayer [Tue, 10 Jan 2012 21:59:34 +0000 (22:59 +0100)]
x86inc: remove duplicate movlhps

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoljpegdec: Fix the left column of rgb24 decoding
Michael Niedermayer [Mon, 9 Jan 2012 19:12:33 +0000 (20:12 +0100)]
ljpegdec: Fix the left column of rgb24 decoding

Fixes Ticket894

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agorv34: frame-level multi-threading
Janne Grunau [Fri, 9 Sep 2011 12:26:32 +0000 (14:26 +0200)]
rv34: frame-level multi-threading

Statistics for bourne.rmvb -an -f null

1 thread:  37.12s user 0.03s system  99% cpu 37.174 total
2 threads: 47.63s user 0.24s system 185% cpu 25.807 total
4 threads: 41.21s user 0.30s system 327% cpu 12.674 total

12 years agompegvideo: claim ownership of referenced pictures
Janne Grunau [Tue, 10 Jan 2012 14:08:20 +0000 (15:08 +0100)]
mpegvideo: claim ownership of referenced pictures

Under certain conditions pictures could be released before they were
returned with frame-threading. Broken mv computation in the upcoming
rv34 frame-threading patch was caused by this.

To prevent contexts from running out of available pictures the loop
releasing "unused" pictures has to be run for B frames too.

12 years agoffprobe: use av_toupper() in upcase_string()
Stefano Sabatini [Tue, 10 Jan 2012 21:11:02 +0000 (22:11 +0100)]
ffprobe: use av_toupper() in upcase_string()

12 years agoaacsbr: prevent out of bounds memcpy().
Alex Converse [Tue, 10 Jan 2012 21:07:09 +0000 (13:07 -0800)]
aacsbr: prevent out of bounds memcpy().

Fixes Libav Bug 195.

This doesn't make the code handle sample rate or upsample/downsample
change properly but this is still a good sanity check.

Based on change by Michael Niedermayer.

Signed-off-by: Alex Converse <alex.converse@gmail.com>
12 years agoMerge remote-tracking branch 'hexene/stagefright'
Michael Niedermayer [Tue, 10 Jan 2012 19:59:36 +0000 (20:59 +0100)]
Merge remote-tracking branch 'hexene/stagefright'

* hexene/stagefright:
  libstagefright: fix build

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoipmovie: fix pts for CODEC_ID_INTERPLAY_DPCM
Justin Ruggles [Tue, 10 Jan 2012 13:48:23 +0000 (08:48 -0500)]
ipmovie: fix pts for CODEC_ID_INTERPLAY_DPCM

frame sample count calculation was incorrect

12 years agosierravmd: fix audio pts
Justin Ruggles [Tue, 10 Jan 2012 14:24:21 +0000 (09:24 -0500)]
sierravmd: fix audio pts

The duration of the first packet was being calculated incorrectly, leading to
an incorrect timestamp offset.

12 years agoRevert "swscale: fix integer overflows in RGB pixel writing."
Michael Niedermayer [Tue, 10 Jan 2012 16:24:14 +0000 (17:24 +0100)]
Revert "swscale: fix integer overflows in RGB pixel writing."

This reverts commit 77d88b872d8cbb42738ede2d4fc098c16f204236.

The revert fixes actual overflows and a segfault as the variables
are signed and can be negative.

Conflicts:

libswscale/swscale.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agobethsoftvideo: Use bytestream2 functions to prevent buffer overreads.
Aneesh Dogra [Tue, 10 Jan 2012 18:08:03 +0000 (23:38 +0530)]
bethsoftvideo: Use bytestream2 functions to prevent buffer overreads.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agorgb2rgb: remove unused bgr8torgb8()
Paul B Mahol [Tue, 10 Jan 2012 18:15:16 +0000 (18:15 +0000)]
rgb2rgb: remove unused bgr8torgb8()

RGB8 and BGR8 are paletted formats now.

12 years agoRELEASE: We're now at 0.9.1.git
Dominique Leuenberger [Tue, 10 Jan 2012 18:19:53 +0000 (19:19 +0100)]
RELEASE: We're now at 0.9.1.git

12 years agorgb2rgb: rgb12tobgr12()
Paul B Mahol [Tue, 10 Jan 2012 17:29:16 +0000 (17:29 +0000)]
rgb2rgb: rgb12tobgr12()

12 years agorgb2rgb: allow conversion for <15 bpp
Paul B Mahol [Tue, 10 Jan 2012 02:17:33 +0000 (02:17 +0000)]
rgb2rgb: allow conversion for <15 bpp

12 years agobmpenc: support for PIX_FMT_RGB444
Paul B Mahol [Tue, 10 Jan 2012 00:42:20 +0000 (00:42 +0000)]
bmpenc: support for PIX_FMT_RGB444

12 years agobmpdec: support for rgb444 with bitfields compression
Paul B Mahol [Mon, 9 Jan 2012 23:12:40 +0000 (23:12 +0000)]
bmpdec: support for rgb444 with bitfields compression

Do not display garbage for invalid/unsupported bitfields values.

12 years agobmpenc: support for PIX_FMT_RGB444
Paul B Mahol [Tue, 10 Jan 2012 16:06:02 +0000 (16:06 +0000)]
bmpenc: support for PIX_FMT_RGB444

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agoffprobe: add compact option to JSON writer
Stefano Sabatini [Mon, 9 Jan 2012 13:36:52 +0000 (14:36 +0100)]
ffprobe: add compact option to JSON writer

12 years agoffprobe: add -show_program_version and -show_library_versions options
Stefano Sabatini [Sun, 1 Jan 2012 16:19:58 +0000 (17:19 +0100)]
ffprobe: add -show_program_version and -show_library_versions options

12 years agoswscale: fix crash in fast_bilinear code when compiled with -mred-zone.
Ronald S. Bultje [Sun, 20 Nov 2011 23:54:15 +0000 (15:54 -0800)]
swscale: fix crash in fast_bilinear code when compiled with -mred-zone.

Additional comments from Måns Rullgard have been integrated
by Reinhard Tartler.

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
12 years agoffprobe: make upcase_string() ignore non-ASCII characters
Stefano Sabatini [Sun, 8 Jan 2012 10:10:06 +0000 (11:10 +0100)]
ffprobe: make upcase_string() ignore non-ASCII characters

This is required as some section names may contain non-ASCII characters
(e.g. '_').

12 years agoswscale: specify register type.
Oka Motofumi [Tue, 10 Jan 2012 14:39:04 +0000 (06:39 -0800)]
swscale: specify register type.

Fixes a compilation failure on win64.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agolibstagefright: fix build
Dmitry Monakhov [Sat, 7 Jan 2012 15:05:51 +0000 (15:05 +0000)]
libstagefright: fix build

- Use headers from gingerbread-release branch instead of the current default ice cream sandwich
- Fix path mistype

12 years agorv34: use get_bits_left()
Janne Grunau [Mon, 9 Jan 2012 01:06:59 +0000 (02:06 +0100)]
rv34: use get_bits_left()

It is not necessary to store the bit stream length in a RV34DecContext
field.

12 years agoavconv: reinitialize the filtergraph on resolution change.
Anton Khirnov [Mon, 2 Jan 2012 14:02:46 +0000 (15:02 +0100)]
avconv: reinitialize the filtergraph on resolution change.

This is a hopefully temporary solution until lavfi can properly deal
with resolution changes.

12 years agovsrc_buffer: error on changing frame parameters.
Anton Khirnov [Tue, 3 Jan 2012 10:18:00 +0000 (11:18 +0100)]
vsrc_buffer: error on changing frame parameters.

12 years agoavconv: fix -copyinkf.
Anton Khirnov [Tue, 10 Jan 2012 08:13:32 +0000 (09:13 +0100)]
avconv: fix -copyinkf.

This option only applies to streamcopy, but is currently processed only
when encoding.

12 years agofate: Update file checksums after the mov muxer change in a78dbada55d6
Martin Storsjö [Tue, 10 Jan 2012 14:37:40 +0000 (16:37 +0200)]
fate: Update file checksums after the mov muxer change in a78dbada55d6

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agomovenc: Don't store a nonzero creation time if nothing was set by the caller
Martin Storsjö [Mon, 9 Jan 2012 16:35:01 +0000 (18:35 +0200)]
movenc: Don't store a nonzero creation time if nothing was set by the caller

If the creation time is stored in the file as a zero, the
mov demuxer skips exporting the creation time. Currently,
files muxed without a creation time get demuxed with a
Jan 1st 1970 creation timestamp.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agobmpdec: support for rgb444 with bitfields compression
Paul B Mahol [Mon, 9 Jan 2012 23:37:24 +0000 (23:37 +0000)]
bmpdec: support for rgb444 with bitfields compression

Do not display garbage for invalid/unsupported bitfields values.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agofate: Disable fate-wmv8-x8intra
Michael Niedermayer [Tue, 10 Jan 2012 06:15:18 +0000 (07:15 +0100)]
fate: Disable fate-wmv8-x8intra

This test does not work on all platforms and until it does
it just hides new failures, which is really bad.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomjpeg: update whitespaces to qatar
anonymous [Tue, 10 Jan 2012 05:36:19 +0000 (06:36 +0100)]
mjpeg: update whitespaces to qatar

12 years agorgb2rgb: allow conversion for <15 bpp
Paul B Mahol [Tue, 10 Jan 2012 02:54:34 +0000 (02:54 +0000)]
rgb2rgb: allow conversion for <15 bpp

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agodoc: fix stray reference to FFmpeg
Luca Barbato [Sun, 8 Jan 2012 16:49:43 +0000 (17:49 +0100)]
doc: fix stray reference to FFmpeg

12 years agov4l2: use C99 struct initializer
Luca Barbato [Sat, 7 Jan 2012 09:59:35 +0000 (10:59 +0100)]
v4l2: use C99 struct initializer

Remove some unneeded memsets.

12 years agov4l2: poll the file descriptor
Luca Barbato [Thu, 5 Jan 2012 11:17:45 +0000 (12:17 +0100)]
v4l2: poll the file descriptor

Instead of busy waiting use poll();

12 years agov4l2: support compressed formats
Luca Barbato [Wed, 4 Jan 2012 14:06:10 +0000 (15:06 +0100)]
v4l2: support compressed formats

Let pass the codec name to -pixel_format and introduce -input_format.

12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 10 Jan 2012 01:50:54 +0000 (02:50 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  fate: Add tests for more AAC features.
  aacps: Add missing newline in error message.
  fate: Add tests for vc1/wmapro in ism.
  aacdec: Add a fate test for 5.1 channel SBR.
  aacdec: Turn off PS for multichannel files that use PCE based configs.
  cabac: remove put_cabac_u/ueg from cabac-test.
  swscale: RGB4444 and BGR444 input
  FATE: add test for xWMA demuxer.
  FATE: add test for SMJPEG demuxer and associated IMA ADPCM audio decoder.
  mpegaudiodec: optimized iMDCT transform
  mpegaudiodec: change imdct window arrangment for better pointer alignment
  mpegaudiodec: move imdct and windowing function to mpegaudiodsp
  mpegaudiodec: interleave iMDCT buffer to simplify future SIMD implementations
  swscale: convert yuy2/uyvy/nv12/nv21ToY/UV from inline asm to yasm.
  FATE: test to exercise WTV demuxer.
  mjpegdec: K&R formatting cosmetics
  swscale: K&R formatting cosmetics for code examples
  swscale: K&R reformatting cosmetics for header files
  FATE test: cvid-grayscale; ensures that the grayscale Cinepak variant is exercised.

Conflicts:
libavcodec/cabac.c
libavcodec/mjpegdec.c
libavcodec/mpegaudiodec.c
libavcodec/mpegaudiodsp.c
libavcodec/mpegaudiodsp.h
libavcodec/mpegaudiodsp_template.c
libavcodec/x86/Makefile
libavcodec/x86/imdct36_sse.asm
libavcodec/x86/mpegaudiodec_mmx.c
libswscale/swscale-test.c
libswscale/swscale.c
libswscale/swscale_internal.h
libswscale/x86/swscale_template.c
tests/fate/demux.mak
tests/fate/microsoft.mak
tests/fate/video.mak
tests/fate/wma.mak
tests/ref/lavfi/pixfmts_scale

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agokmvc: Use bytestream2 functions to prevent buffer overreads.
Laurentiu Ion [Tue, 10 Jan 2012 01:21:17 +0000 (03:21 +0200)]
kmvc: Use bytestream2 functions to prevent buffer overreads.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Mon, 9 Jan 2012 23:27:56 +0000 (00:27 +0100)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  ffplay: Exit on ctrl-c.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffplay: Exit on ctrl-c.
Michael Niedermayer [Mon, 9 Jan 2012 06:03:55 +0000 (07:03 +0100)]
ffplay: Exit on ctrl-c.

This allows to get out of ffplay if it or SDL got stuck.
This for example happens when the audio driver is playing something
else and doesnt support mixing multiple sources.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
12 years agoSupport decoding 1bpp and 4bpp palettized sunrast images.
Carl Eugen Hoyos [Mon, 9 Jan 2012 21:38:09 +0000 (22:38 +0100)]
Support decoding 1bpp and 4bpp palettized sunrast images.

Fixes ticket #864 and ticket #897.

12 years agolog: use a different color for debug (green).
Clément Bœsch [Thu, 5 Jan 2012 22:07:18 +0000 (23:07 +0100)]
log: use a different color for debug (green).

12 years agopngdec: show verbose message for unsupported files
Paul B Mahol [Mon, 9 Jan 2012 21:35:19 +0000 (22:35 +0100)]
pngdec: show verbose message for unsupported files

12 years agofate: Add tests for more AAC features.
Gaurav Narula [Thu, 29 Dec 2011 21:20:22 +0000 (02:50 +0530)]
fate: Add tests for more AAC features.

al15_44 uses independent coupling.
al18_44 uses PNS (perceptual noise substitution).
am05_44 uses main prediction and independent coupling.

Signed-off-by: Alex Converse <alex.converse@gmail.com>
12 years agoaacps: Add missing newline in error message.
Alex Converse [Fri, 6 Jan 2012 22:49:11 +0000 (14:49 -0800)]
aacps: Add missing newline in error message.

12 years agofate: Add tests for vc1/wmapro in ism.
Alex Converse [Fri, 6 Jan 2012 02:39:20 +0000 (18:39 -0800)]
fate: Add tests for vc1/wmapro in ism.

12 years agoaacdec: Add a fate test for 5.1 channel SBR.
Alex Converse [Sat, 7 Jan 2012 01:23:49 +0000 (17:23 -0800)]
aacdec: Add a fate test for 5.1 channel SBR.

12 years agoaacdec: Turn off PS for multichannel files that use PCE based configs.
Alex Converse [Sat, 7 Jan 2012 01:22:45 +0000 (17:22 -0800)]
aacdec: Turn off PS for multichannel files that use PCE based configs.

Fixes al_sbr_cm_48_5.1.mp4.

12 years agocabac: 3rd try at working around a compiler bug in clang.
Michael Niedermayer [Mon, 9 Jan 2012 15:02:11 +0000 (16:02 +0100)]
cabac: 3rd try at working around a compiler bug in clang.

Switch to a broader detection of versions.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agocabac: remove put_cabac_u/ueg from cabac-test.
Diego Biurrun [Sat, 7 Jan 2012 19:27:31 +0000 (20:27 +0100)]
cabac: remove put_cabac_u/ueg from cabac-test.

The functions are not used in any part of Libav, therefore testing them in the
cabac-test is unnecessary. Since this makes them unused, remove the functions.

12 years agoffprobe: change formatting logic in the JSON writer
Stefano Sabatini [Sun, 8 Jan 2012 00:44:02 +0000 (01:44 +0100)]
ffprobe: change formatting logic in the JSON writer

Print a "\n" at the end of each section, also print the section name in
the section print function, print the chapter name only in case the
chapter contains multiple entries.

Increase textual output readability - different sections can be
distinguished more easily.

12 years agoffprobe: implement generic reindent logic in the JSON writer
Stefano Sabatini [Sun, 8 Jan 2012 00:20:03 +0000 (01:20 +0100)]
ffprobe: implement generic reindent logic in the JSON writer

Clarify/generalize indent logic.

12 years agosgidec: make compiler optimize away memcpy call in inner loop.
Reimar Döffinger [Sun, 8 Jan 2012 11:19:48 +0000 (12:19 +0100)]
sgidec: make compiler optimize away memcpy call in inner loop.

Using an always_inline function makes the memcpy length a constant,
any reasonable compiler will replace it by a single mov instruction
without us having to duplicate the actual code.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agorawdec: use av_shrink_packet.
Reimar Döffinger [Sun, 8 Jan 2012 15:56:46 +0000 (16:56 +0100)]
rawdec: use av_shrink_packet.

This fixes reads of uninitialized data by the parser when running
FATE sample h264-conformance/SL1_SVA_B.264.

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