d99fe3a478
mpeg12: fix mpeg_decode_slice context parameter type
...
During slice threading only MpegEncContext is passed to
mpeg_decode_slice, remove a wrong cast and change the function
definition to take MpegEncContext pointer.
2011-10-24 01:05:00 +02:00
cd8c64e197
Revert "mpeg12: move full_pel from MpegEncContext to Mpeg1Context"
...
This reverts commit da22ba7df4
since it
broke slice threading. Slice threading just duplicates MpegEncContext
so every value used during mpeg_decode_slice has to be in it.
A second patch will fix the illusion that Mpeg1Context is available
in mpeg_decode_slice.
2011-10-24 00:59:41 +02:00
16ad77b357
Move id3v2 tag writing to a separate file.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2011-10-23 19:17:53 +02:00
9e66b892e8
swscale: add missing colons to x86 assembly yuv2planeX.
...
This fixes assembling using "nasm".
2011-10-23 09:44:03 -07:00
704721bc9c
g722: split decoder and encoder into separate files
2011-10-23 11:42:34 -04:00
b95fbba705
cosmetics: remove extra spaces before end-of-statement semi-colons
2011-10-23 11:36:56 -04:00
60aa1a358d
vorbisdec: check output buffer size before writing output
2011-10-23 11:36:56 -04:00
d2604f9260
wavpack: calculate bpp using av_get_bytes_per_sample()
2011-10-23 11:35:46 -04:00
ddfb8e1adb
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 >
2011-10-23 11:30:54 -04:00
1deb66c50c
lavc: move get_b_cbp() from h263.h to mpeg4videoenc.c
...
It's not used anywhere else.
2011-10-23 14:16:16 +02:00
3fc0830432
mpeg12: move closed_gop from MpegEncContext to Mpeg1Context
...
It's MPEG-1/2 specific.
2011-10-23 14:15:56 +02:00
da22ba7df4
mpeg12: move full_pel from MpegEncContext to Mpeg1Context
...
It's MPEG-1 specific.
2011-10-23 14:14:39 +02:00
cc05a45d33
mpeg12: move Mpeg1Context from mpeg12.c to mpeg12.h
...
It will be used in vdpau code.
2011-10-23 14:14:34 +02:00
acffe45732
mpegvideo: remove some unused variables from MpegEncContext.
2011-10-23 14:13:40 +02:00
e71ebb1972
id3v2: fix doxy comment - 'machine byte order' makes no sense on char arrays
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2011-10-22 22:52:18 +02:00
f18746528d
VC1: restore mistakenly removed code
...
The code was mistakenly removed in cad16562c8
.
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 >
2011-10-22 22:51:00 +02:00
e53eecd0e7
twinvq: check output buffer size before decoding
2011-10-22 15:38:05 -04:00
5ed6817822
twinvq: return an error when the packet size is too small
2011-10-22 15:38:05 -04:00
07e1256456
lavf: export some forgotten symbols with non-av prefixes.
2011-10-22 21:08:31 +02:00
f48b12e0a6
swscale: update altivec yuv2planeX asm to new per-plane API.
2011-10-22 10:35:14 -07:00
6cacecdca3
swscale: make yuv2yuvX_10_sse2/avx 8/9/16-bits aware.
...
Also implement MMX/MMX2 versions and SSE4 versions.
2011-10-22 10:35:14 -07:00
7fbbf95293
yuv2planeX10 SIMD
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-10-22 10:35:14 -07:00
109f62e8f8
swscale: decide whether to use yuv2plane1/X on a per-plane basis.
2011-10-22 10:35:14 -07:00
f99654d470
swscale: reintroduce full precision in 16-bit output.
2011-10-22 10:35:14 -07:00
ff7913aef1
Split up yuv2yuvX functions
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-10-22 10:35:13 -07:00
34e8d147b3
Split out yuv2yuv1 luma and chroma in order to make them generic DSP functions
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-10-22 10:35:13 -07:00
9abc98737f
lavc: replace references to deprecated AVCodecContext.error_recognition to use AVCodecContext.err_recognition
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2011-10-22 14:49:55 +02:00
5ea0001f9e
lavc: translate non-flag-based er options into flag-based ef options at codec open
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2011-10-22 14:49:22 +02:00
c8dad9a694
add -err_filter AVOptions to access flag-based error recognition
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2011-10-22 14:49:14 +02:00
b0b3231074
h264_weight: initialize "height" function argument properly.
...
Right now it's not actually initialized on 32-bit, leading to crashes
on win32.
2011-10-22 00:23:24 -07:00
27cedd838a
presets: spelling error in libvpx 1080p50_60
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net >
2011-10-22 00:28:56 +02:00
fec5777ed7
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.
2011-10-22 00:28:55 +02:00
f4b51d061f
flvdec: Do not call parse_keyframes_index with a NULL stream
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2011-10-22 00:59:33 +03:00
b19e0c2b4e
libspeexdec: include system headers before local headers
2011-10-21 17:07:05 -04:00
a470fe80ba
libspeexdec: return meaningful error codes
2011-10-21 17:07:04 -04:00
14bc60dbae
libspeexdec: cosmetics: reindent
2011-10-21 17:07:04 -04:00
7eeaa6796b
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.
2011-10-21 17:07:04 -04:00
41ac093f7e
swscale: fix signed shift overflows in ff_yuv2rgb_c_init_tables()
...
Signed-off-by: Mans Rullgard <mans@mansr.com >
2011-10-21 20:56:59 +01:00
5dd35b43f1
Move timefilter code from lavf to lavd.
...
It's only used in the JACK device.
Fixes linking shared lavd with JACK enabled.
2011-10-21 20:29:05 +02:00
b06df70755
mov: add support for hdvd and pgapmetadata atoms
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2011-10-21 20:29:05 +02:00
5da35d1cb3
mov: rename function _stik, some indentation cosmetics
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2011-10-21 20:29:05 +02:00
80951f5cf6
mov: rename function _int8 to remove ambiguity, some indentation cosmetics
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2011-10-21 20:29:02 +02:00
94395fbf8c
mov: parse the gnre atom
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2011-10-21 19:50:51 +02:00
95891804bf
mp3on4: check for allocation failures in decode_init_mp3on4()
2011-10-21 12:34:43 -04:00
180bf988bc
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.
2011-10-21 12:33:15 -04:00
53c8443ad2
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.
2011-10-21 12:32:35 -04:00
1183d6cd98
mp3on4: set channel layout
2011-10-21 12:29:51 -04:00
fff0f831e0
mp3on4: fix the output channel order
2011-10-21 12:29:51 -04:00
f507dd067a
mp3on4: allocate temp buffer with av_malloc() instead of on the stack.
...
Avoids allocating unnecessary memory and ensures proper alignment.
2011-10-21 12:29:51 -04:00
cb72230dfa
mp3on4: copy MPADSPContext from first context to all contexts.
...
Fixes segfault when decoding multi-channel MP3onMP4 files.
2011-10-21 12:29:51 -04:00