Justin Ruggles [Sat, 24 Sep 2011 03:19:53 +0000 (23:19 -0400)]
wavpack: calculate bpp using av_get_bytes_per_sample()
John Stebbins [Sun, 23 Oct 2011 15:24:26 +0000 (11:24 -0400)]
ac3enc: Set max value for mode options correctly
for example:
Attempting to set ac3 dsur_mode to "on" results in:
[AC-3 Encoder @ 0x7f508f0a3280] Value 2.000000 for parameter 'dsur_mode' out of range
[AC-3 Encoder @ 0x7f508f0a3280] Error setting option dsur_mode to value on.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Anton Khirnov [Fri, 21 Oct 2011 14:02:29 +0000 (16:02 +0200)]
lavc: move get_b_cbp() from h263.h to mpeg4videoenc.c
It's not used anywhere else.
Anton Khirnov [Wed, 19 Oct 2011 07:28:45 +0000 (09:28 +0200)]
mpeg12: move closed_gop from MpegEncContext to Mpeg1Context
It's MPEG-1/2 specific.
Anton Khirnov [Wed, 19 Oct 2011 07:28:45 +0000 (09:28 +0200)]
mpeg12: move full_pel from MpegEncContext to Mpeg1Context
It's MPEG-1 specific.
Anton Khirnov [Wed, 19 Oct 2011 07:25:52 +0000 (09:25 +0200)]
mpeg12: move Mpeg1Context from mpeg12.c to mpeg12.h
It will be used in vdpau code.
Anton Khirnov [Tue, 18 Oct 2011 17:53:25 +0000 (19:53 +0200)]
mpegvideo: remove some unused variables from MpegEncContext.
Michael Karcher [Sat, 22 Oct 2011 13:41:30 +0000 (15:41 +0200)]
id3v2: fix doxy comment - 'machine byte order' makes no sense on char arrays
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Mashiat Sarker Shakkhar [Sat, 22 Oct 2011 14:41:04 +0000 (19:41 +0500)]
VC1: restore mistakenly removed code
The code was mistakenly removed in
cad16562c8d76ea2a2a6495f29296c3ff7966946.
It stored some motion vector data for future use in B-pictures.
This fixes Bugzilla bug #57.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Justin Ruggles [Fri, 23 Sep 2011 23:50:41 +0000 (19:50 -0400)]
twinvq: check output buffer size before decoding
Justin Ruggles [Fri, 23 Sep 2011 23:25:47 +0000 (19:25 -0400)]
twinvq: return an error when the packet size is too small
Anton Khirnov [Sat, 22 Oct 2011 19:08:31 +0000 (21:08 +0200)]
lavf: export some forgotten symbols with non-av prefixes.
Ronald S. Bultje [Sat, 15 Oct 2011 23:00:42 +0000 (16:00 -0700)]
swscale: update altivec yuv2planeX asm to new per-plane API.
Ronald S. Bultje [Sat, 15 Oct 2011 21:19:33 +0000 (14:19 -0700)]
swscale: make yuv2yuvX_10_sse2/avx 8/9/16-bits aware.
Also implement MMX/MMX2 versions and SSE4 versions.
Kieran Kunhya [Sun, 9 Oct 2011 15:20:48 +0000 (16:20 +0100)]
yuv2planeX10 SIMD
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Ronald S. Bultje [Wed, 5 Oct 2011 14:37:24 +0000 (07:37 -0700)]
swscale: decide whether to use yuv2plane1/X on a per-plane basis.
Ronald S. Bultje [Wed, 5 Oct 2011 13:27:52 +0000 (06:27 -0700)]
swscale: reintroduce full precision in 16-bit output.
Kieran Kunhya [Tue, 4 Oct 2011 11:22:03 +0000 (12:22 +0100)]
Split up yuv2yuvX functions
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Kieran Kunhya [Fri, 30 Sep 2011 12:50:49 +0000 (13:50 +0100)]
Split out yuv2yuv1 luma and chroma in order to make them generic DSP functions
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Dustin Brody [Sat, 22 Oct 2011 12:44:16 +0000 (08:44 -0400)]
lavc: replace references to deprecated AVCodecContext.error_recognition to use AVCodecContext.err_recognition
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Dustin Brody [Sat, 22 Oct 2011 12:44:15 +0000 (08:44 -0400)]
lavc: translate non-flag-based er options into flag-based ef options at codec open
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Dustin Brody [Sat, 22 Oct 2011 12:44:14 +0000 (08:44 -0400)]
add -err_filter AVOptions to access flag-based error recognition
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Ronald S. Bultje [Sat, 22 Oct 2011 01:00:39 +0000 (18:00 -0700)]
h264_weight: initialize "height" function argument properly.
Right now it's not actually initialized on 32-bit, leading to crashes
on win32.
Lou Logan [Thu, 20 Oct 2011 21:21:31 +0000 (21:21 +0000)]
presets: spelling error in libvpx 1080p50_60
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Marton Balint [Fri, 21 Oct 2011 12:56:57 +0000 (14:56 +0200)]
avplay: fix fullscreen behaviour with SDL 1.2.14 on Mac OS X
The blue channel went missing when toggling fullscreen on Mac OS X.
Reimar Döffinger [Wed, 19 Oct 2011 16:41:02 +0000 (18:41 +0200)]
flvdec: Do not call parse_keyframes_index with a NULL stream
Signed-off-by: Martin Storsjö <martin@martin.st>
Justin Ruggles [Fri, 21 Oct 2011 16:13:28 +0000 (12:13 -0400)]
libspeexdec: include system headers before local headers
Justin Ruggles [Fri, 21 Oct 2011 16:13:04 +0000 (12:13 -0400)]
libspeexdec: return meaningful error codes
Justin Ruggles [Fri, 21 Oct 2011 16:10:35 +0000 (12:10 -0400)]
libspeexdec: cosmetics: reindent
Justin Ruggles [Fri, 21 Oct 2011 16:07:42 +0000 (12:07 -0400)]
libspeexdec: decode one frame at a time.
This allows for knowing the output size before decoding even when there is no
header (e.g. FLV). Otherwise we would have to do a preliminary full frame
decode to determine the number of frames-per-packet.
Mans Rullgard [Fri, 21 Oct 2011 19:36:11 +0000 (20:36 +0100)]
swscale: fix signed shift overflows in ff_yuv2rgb_c_init_tables()
Signed-off-by: Mans Rullgard <mans@mansr.com>
Anton Khirnov [Fri, 21 Oct 2011 09:47:39 +0000 (11:47 +0200)]
Move timefilter code from lavf to lavd.
It's only used in the JACK device.
Fixes linking shared lavd with JACK enabled.
Raivo Hool [Fri, 21 Oct 2011 13:04:15 +0000 (16:04 +0300)]
mov: add support for hdvd and pgapmetadata atoms
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Raivo Hool [Fri, 21 Oct 2011 13:04:14 +0000 (16:04 +0300)]
mov: rename function _stik, some indentation cosmetics
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Raivo Hool [Fri, 21 Oct 2011 13:04:13 +0000 (16:04 +0300)]
mov: rename function _int8 to remove ambiguity, some indentation cosmetics
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Raivo Hool [Fri, 21 Oct 2011 13:51:33 +0000 (16:51 +0300)]
mov: parse the gnre atom
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Justin Ruggles [Sun, 25 Sep 2011 18:32:42 +0000 (14:32 -0400)]
mp3on4: check for allocation failures in decode_init_mp3on4()
Justin Ruggles [Sun, 25 Sep 2011 17:39:04 +0000 (13:39 -0400)]
mp3on4: create a separate flush function for MP3onMP4.
The correct decoder private context needs to be used.
This fixes mp3on4 playback and seeking in avplay.
Justin Ruggles [Sun, 25 Sep 2011 17:04:39 +0000 (13:04 -0400)]
mp3on4: ensure that the frame channel count does not exceed the codec channel
count.
This also allows for checking output data size based on the actual
number of channel instead of the maximum number of channels.
Justin Ruggles [Sun, 25 Sep 2011 16:52:11 +0000 (12:52 -0400)]
mp3on4: set channel layout
Justin Ruggles [Sun, 25 Sep 2011 16:46:54 +0000 (12:46 -0400)]
mp3on4: fix the output channel order
Justin Ruggles [Sun, 25 Sep 2011 16:30:16 +0000 (12:30 -0400)]
mp3on4: allocate temp buffer with av_malloc() instead of on the stack.
Avoids allocating unnecessary memory and ensures proper alignment.
Justin Ruggles [Sun, 25 Sep 2011 16:16:34 +0000 (12:16 -0400)]
mp3on4: copy MPADSPContext from first context to all contexts.
Fixes segfault when decoding multi-channel MP3onMP4 files.
Justin Ruggles [Mon, 10 Oct 2011 04:43:08 +0000 (00:43 -0400)]
fmtconvert: port float_to_int16_interleave() 2-channel x86 inline asm to yasm
Justin Ruggles [Mon, 10 Oct 2011 03:52:03 +0000 (23:52 -0400)]
fmtconvert: port int32_to_float_fmul_scalar() x86 inline asm to yasm
Justin Ruggles [Mon, 10 Oct 2011 00:01:22 +0000 (20:01 -0400)]
fmtconvert: check compile-time x86 instruction set flags
Justin Ruggles [Sun, 9 Oct 2011 23:12:09 +0000 (19:12 -0400)]
fmtconvert: port float_to_int16() x86 inline asm to yasm
Justin Ruggles [Sun, 9 Oct 2011 20:30:11 +0000 (16:30 -0400)]
fmtconvert: fix and extend documentation for float_interleave()
Justin Ruggles [Thu, 20 Oct 2011 19:08:48 +0000 (15:08 -0400)]
flvenc: store delay and last_ts per-stream.
Mans Rullgard [Fri, 21 Oct 2011 11:34:08 +0000 (12:34 +0100)]
h264: fix ppc/altivec build
Signed-off-by: Mans Rullgard <mans@mansr.com>
Jean First [Fri, 30 Sep 2011 07:42:45 +0000 (09:42 +0200)]
Enable multithreding when decoding with libopenjpeg
Enable multithreding when decoding with libopenjpeg
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Ronald S. Bultje [Fri, 21 Oct 2011 06:36:23 +0000 (23:36 -0700)]
h264: mark some MC functions with av_always_inline instead of inline.
This actually causes them to be inlined, leading to a significant
speedup (1-1.5% in my measurements).
Ronald S. Bultje [Fri, 21 Oct 2011 07:01:16 +0000 (00:01 -0700)]
H264: have hl_motion() and its callees take a chroma_idc argument.
Ronald S. Bultje [Fri, 21 Oct 2011 07:00:39 +0000 (00:00 -0700)]
H264: change weight/biweight functions to take a height argument.
Neon parts by Mans Rullgard <mans@mansr.com>.
Ronald S. Bultje [Wed, 12 Oct 2011 15:55:37 +0000 (08:55 -0700)]
Support for lossless and inter H264 4:2:2.
Baptiste Coudurier [Tue, 16 Aug 2011 15:05:44 +0000 (17:05 +0200)]
h264: 4:2:2 intra decoding support
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Ronald S. Bultje [Fri, 21 Oct 2011 07:38:04 +0000 (00:38 -0700)]
sws/pixfmt/pixdesc: add support for yuv420p9le/be.
Ronald S. Bultje [Fri, 21 Oct 2011 07:21:31 +0000 (00:21 -0700)]
Revert
d1d421cbc0d13b08535f7fc08d179572ee352072: change to fate-lavfi-crop_scale.
Ronald S. Bultje [Tue, 18 Oct 2011 00:10:16 +0000 (17:10 -0700)]
vp8: fix up handling of segmentation_maps in reference frames.
Associate segmentation_map[] with reference frame, rather than
decoding instance. This fixes cases where the map would be free()'ed
on e.g. a size change in one thread, whereas the other thread was
still accessing it. Also, it fixes cases where threads overwrite data
that is still being referenced by the previous thread, who thinks that
it's part of the frame previously decoded by the next thread.
Ronald S. Bultje [Thu, 20 Oct 2011 02:56:56 +0000 (19:56 -0700)]
swscale: prevent overflow in coefficient calculation.
Anton Khirnov [Mon, 17 Oct 2011 08:13:16 +0000 (10:13 +0200)]
lavc: hide private symbols.
Overhead as reported by rbelf-size goes from 90860 to 20204.
Anton Khirnov [Mon, 17 Oct 2011 18:08:02 +0000 (20:08 +0200)]
lavc: deprecate img_get_alpha_info().
It's never been touched or used in any way since it was added in 2003
and only works for PIX_FMT_PAL8, which makes me conclude that nobody's
ever used it.
Anton Khirnov [Mon, 17 Oct 2011 08:12:51 +0000 (10:12 +0200)]
lavc: use avpriv_ prefix for ff_toupper4.
It's used in lavf.
Anton Khirnov [Mon, 17 Oct 2011 08:10:42 +0000 (10:10 +0200)]
lavc: use avpriv_ prefix for ff_copy_bits and align_put_bits.
They are used in lavf.
Anton Khirnov [Mon, 17 Oct 2011 08:04:12 +0000 (10:04 +0200)]
lavc: use avpriv_ prefix for ff_ac3_parse_header.
It's used in lavf.
Anton Khirnov [Mon, 17 Oct 2011 07:59:31 +0000 (09:59 +0200)]
lavc: use avpriv_ prefix for ff_frame_rate_tab.
It's used in lavf.
Anton Khirnov [Mon, 17 Oct 2011 07:51:55 +0000 (09:51 +0200)]
lavc: rename ff_find_start_code to avpriv_mpv_find_start_code
It's used in lavf.
Anton Khirnov [Mon, 17 Oct 2011 07:45:27 +0000 (09:45 +0200)]
lavc: use avpriv_ prefix for ff_split_xiph_headers.
It's used in lavf.
Anton Khirnov [Mon, 17 Oct 2011 07:45:27 +0000 (09:45 +0200)]
lavc: use avpriv_ prefix for ff_dirac_parse_sequence_header.
It's used in lavf.
Anton Khirnov [Mon, 17 Oct 2011 07:28:53 +0000 (09:28 +0200)]
lavc: use avpriv_ prefix for some dv symbols used in lavf.
Specifically, ff_dv_frame_profile and ff_dv_codec_profile.
Anton Khirnov [Mon, 17 Oct 2011 07:28:53 +0000 (09:28 +0200)]
lavc: use avpriv_ prefix for some flac symbols used in lavf.
Specifically, ff_flac_parse_streaminfo, ff_flac_is_extradata_valid and
ff_flac_parse_block_header
Anton Khirnov [Mon, 17 Oct 2011 07:28:53 +0000 (09:28 +0200)]
lavc: use avpriv_ prefix for some mpeg4audio symbols used in lavf.
Specifically, ff_mpeg4audio_sample_rates, ff_mpeg4audio_get_config and
ff_copy_pce_data
Anton Khirnov [Mon, 17 Oct 2011 07:28:53 +0000 (09:28 +0200)]
lavc: use avpriv_ prefix for some mpegaudio symbols used in lavf.
Specifically, ff_mpa_freq_tab, ff_mpa_bitrate_tab, ff_mpa_decode_header,
ff_mpegaudio_decode_header.
Anton Khirnov [Mon, 17 Oct 2011 07:22:04 +0000 (09:22 +0200)]
lavc: use avpriv_ prefix for ff_aac_parse_header().
It's used in lavf.
Anton Khirnov [Mon, 17 Oct 2011 07:14:04 +0000 (09:14 +0200)]
lavf: hide private symbols.
Overhead as reported by rbelf-size goes from 40147 to 20877.
Anton Khirnov [Mon, 17 Oct 2011 06:58:50 +0000 (08:58 +0200)]
lavf: use avpriv_ prefix for some dv functions.
They are used in libavdevice.
Anton Khirnov [Mon, 17 Oct 2011 06:58:50 +0000 (08:58 +0200)]
lavf: use avpriv_ prefix for ff_new_chapter().
It's used in libavdevice.
Justin Ruggles [Sun, 25 Sep 2011 21:09:57 +0000 (17:09 -0400)]
avcodec: add CODEC_CAP_DELAY note to avcodec_decode_audio3() documentation
Justin Ruggles [Sun, 25 Sep 2011 21:09:03 +0000 (17:09 -0400)]
avcodec: clarify the CODEC_CAP_DELAY note in avcodec_decode_video2()
Justin Ruggles [Sun, 25 Sep 2011 21:05:34 +0000 (17:05 -0400)]
avcodec: clarify documentation of CODEC_CAP_DELAY
Justin Ruggles [Sat, 17 Sep 2011 01:34:42 +0000 (21:34 -0400)]
shorten: fix end-of-stream decoding.
enable CODEC_CAP_DELAY to flush any remaining frames in the buffer.
Stop decoding when the FN_QUIT command is found so that a trailing seek table
isn't decoded as a normal frame.
decode all channels in the same call to avcodec_decode_audio3() so that
decoding will not stop after the first channel of the last frame.
Updated FATE reference. More valid audio is now decoded.
Justin Ruggles [Sat, 17 Sep 2011 00:54:11 +0000 (20:54 -0400)]
shorten: do not use block size to determine whether to read the header.
Justin Ruggles [Fri, 16 Sep 2011 22:01:28 +0000 (18:01 -0400)]
shorten: check output buffer size before decoding
Justin Ruggles [Fri, 16 Sep 2011 21:51:40 +0000 (17:51 -0400)]
shorten: use av_clip_int16() for output sample clipping
Justin Ruggles [Fri, 16 Sep 2011 21:40:44 +0000 (17:40 -0400)]
shorten: use bytestream functions to decode the embedded WAVE header
Justin Ruggles [Fri, 16 Sep 2011 21:31:12 +0000 (17:31 -0400)]
shorten: add some comments
Justin Ruggles [Fri, 16 Sep 2011 19:55:27 +0000 (15:55 -0400)]
shorten: merge decoding of FN_DIFF* subblocks into decode_subframe_lpc()
Justin Ruggles [Fri, 16 Sep 2011 19:39:51 +0000 (15:39 -0400)]
cosmetics: remove some needless commented-out stuff
Justin Ruggles [Fri, 16 Sep 2011 19:31:31 +0000 (15:31 -0400)]
shorten: validate block size
Justin Ruggles [Fri, 16 Sep 2011 15:24:14 +0000 (11:24 -0400)]
shorten: move declaration of 'ret' to top of shorten_decode_frame()
Justin Ruggles [Fri, 16 Sep 2011 15:22:37 +0000 (11:22 -0400)]
shorten: pass on error value from allocate_buffers() instead of returning -1
Justin Ruggles [Thu, 15 Sep 2011 22:08:52 +0000 (18:08 -0400)]
shorten: check for realloc failure
Justin Ruggles [Wed, 14 Sep 2011 23:16:14 +0000 (19:16 -0400)]
shorten: move decoding of prediction order and applying of global offset to
decode_subframe_lpc().
Justin Ruggles [Wed, 14 Sep 2011 22:54:42 +0000 (18:54 -0400)]
shorten: only calculate output size when returning decoded samples, otherwise
just set data_size to zero.
Justin Ruggles [Thu, 15 Sep 2011 04:03:35 +0000 (00:03 -0400)]
cosmetics: reindent
Justin Ruggles [Wed, 14 Sep 2011 22:46:37 +0000 (18:46 -0400)]
shorten: separate processing of audio commands from non-audio commands
Justin Ruggles [Wed, 14 Sep 2011 19:20:22 +0000 (15:20 -0400)]
shorten: skip some fields in the WAV header embedded in the shorten header.
fixes incorrect bitrate reporting and potential misreporting of the number of
channels.
Justin Ruggles [Wed, 14 Sep 2011 19:02:35 +0000 (15:02 -0400)]
shorten: split reading of file header into a separate functions
Justin Ruggles [Wed, 19 Oct 2011 18:00:06 +0000 (14:00 -0400)]
avformat: do not require frame_size for Speex.
Having it there forces decoding of a frame in order to get frame_size, but it
is not really needed for proper demuxing or decoding.
Justin Ruggles [Wed, 19 Oct 2011 17:28:12 +0000 (13:28 -0400)]
ogg/speex: set correct timestamp and duration for the first packet.
The first timestamp should be negative due to delay.
Also, do not set AVCodecContext.frame_size unnecessarily.