Ivan Schreter
b283ba26ce
Add handling of frame position in the parser.
...
Originally committed as revision 17823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 07:35:06 +00:00
Justin Ruggles
8d1e885fc2
flacdec: cosmetics: Add a comment with the data of the smallest FLAC
...
frame for future reference.
Originally committed as revision 17822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 04:40:42 +00:00
Justin Ruggles
629fb5c46a
flacdec: There is an even smaller FLAC frame size possibility.
...
Originally committed as revision 17821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 02:36:17 +00:00
Justin Ruggles
5756bc7b02
flacdec: 10l to me. I miscalculated the smallest FLAC frame. It is 16
...
bytes, not 24.
Originally committed as revision 17820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 02:21:35 +00:00
Justin Ruggles
bf1d7e285c
flacdec: cosmetics: move 2 statements to immediately after frame
...
decoding.
Originally committed as revision 17819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 01:23:53 +00:00
Justin Ruggles
fd6fd470ce
flacdec: Simplify frame sync by not using the bitstream reader.
...
Originally committed as revision 17818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 01:15:38 +00:00
Justin Ruggles
a8ec12bc2e
flacdec: Split the metadata_parse() function into 2 separate functions,
...
parse_streaminfo() and get_metadata_size().
Originally committed as revision 17817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 00:56:09 +00:00
Justin Ruggles
5ef4fa87b3
flacdec: Add a check for small buffer size. This ensures reading as
...
much of the frame header as possible without excluding the smallest
possible FLAC frame. It also fixes a false positive warning message
that was being emitted at the end of decoding.
Originally committed as revision 17816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 23:55:10 +00:00
Justin Ruggles
c51997297a
flacdec: cosmetics: Use a more descriptive variable name for the number
...
of bytes read, instead of reusing 'i'.
Originally committed as revision 17815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 23:24:44 +00:00
Justin Ruggles
549bccdbe4
flacdec: Handle 32 bps data when checking allocated size.
...
Originally committed as revision 17814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 23:16:30 +00:00
Justin Ruggles
a3d2379bdd
flacdec: Check curr_bps after wasted bits are subtracted.
...
Originally committed as revision 17813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 23:10:40 +00:00
Stefano Sabatini
d3f766124a
Fix typo: "i" -> "in".
...
Originally committed as revision 17812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 21:50:10 +00:00
Ivan Schreter
70e01da3bf
Add support for ct_type to correctly detect interlaced flag
...
Originally committed as revision 17811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 19:37:19 +00:00
Reimar Döffinger
6d08f6c911
100l, interplayvideo uses 8x8 blocks, so call the 8x8 put_pixels_tab function
...
instead of the 16x16 one. Seems to fix decoding on PPC.
Originally committed as revision 17808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 18:18:49 +00:00
Reimar Döffinger
5133816627
Set AVFrame.reference correctly for nuv decoder.
...
Originally committed as revision 17807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 17:12:58 +00:00
Vitor Sessak
a66430c0d0
Add more correct bound checking in filter_mb().
...
Should fix decoding of CVMAPAQP3_Sony_E.jsv in MinGW
Originally committed as revision 17806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 16:56:55 +00:00
Gwenole Beauchesne
34e46c44da
Add frame buffer allocators. aka simplify calls to
...
AVCodecContext.{get,release}_buffer().
Originally committed as revision 17804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 08:47:29 +00:00
Reynaldo H. Verdejo Pinochet
87574416f7
Part 2 of 2 of Kenan Gillet's 'make ff_qcelp_lspf2lpc
...
more general' changeset. This one relocates the QCELP
especific code to the qcelpdec.* files.
Originally committed as revision 17800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 01:33:56 +00:00
Reynaldo H. Verdejo Pinochet
77bd18e117
Part 1 of 2 of Kenan Gillet's 'make ff_qcelp_lspf2lpc
...
more general' changeset. This one splits ff_qcelp_lspf2lpc
into the QCELP-especific ff_qcelp_lspf2lpc + the more general
ff_qcelp_lspf2lpc.
Originally committed as revision 17799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 01:28:07 +00:00
Justin Ruggles
e1374c06d6
flacdec: When there is not enough data to read the next header block,
...
reset the bitstream reader instead of skipping backwards.
Originally committed as revision 17798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 01:08:26 +00:00
Justin Ruggles
6a85fb34c9
cosmetics: indentation after last commit
...
Originally committed as revision 17796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 00:53:04 +00:00
Justin Ruggles
55a727383b
flacdec: Check for an inline header before calling metadata_parse().
...
Originally committed as revision 17795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 00:52:18 +00:00
Justin Ruggles
239b961fbf
flacdec: Allocate buffers right after STREAMINFO is parsed.
...
Originally committed as revision 17794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 00:21:46 +00:00
Stefano Sabatini
9d9de444e3
Fix syntax for the libfaad_decoder definition.
...
Fix compilation (when libfaad is enabled).
Originally committed as revision 17792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 23:52:31 +00:00
Justin Ruggles
184bc53db4
cosmetics: indentation after last commit
...
Originally committed as revision 17791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 23:50:21 +00:00
Justin Ruggles
7d0303587d
flacdec: Avoid parsing the STREAMINFO multiple times.
...
Originally committed as revision 17790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 23:49:36 +00:00
Michael Niedermayer
6d4f53cbac
Remove old scaler.
...
Originally committed as revision 17786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 22:51:30 +00:00
Diego Biurrun
59701aeb46
Do not use a macro to generate a single AVCodec declaration.
...
Originally committed as revision 17773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 15:48:52 +00:00
Panagiotis Issaris
a0f8005079
When a H.264 stream references a PPS or SPS id which doesn't exist, instead of
...
just saying that a non-existing id is referenced, show the value of the id.
Originally committed as revision 17771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 14:32:24 +00:00
Gwenole Beauchesne
0d8ee24c7b
Set PixFmtInfo::{x, y}_chroma_shift for VDPAU and VAAPI formats.
...
Originally committed as revision 17766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 13:43:24 +00:00
Benoit Fouet
4f46099b90
Use sign_extend().
...
On behalf of Jai.
Originally committed as revision 17759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 13:11:10 +00:00
Justin Ruggles
2e78513cee
flacdec: Warn about invalid max blocksize and limit the minimum value.
...
Originally committed as revision 17751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 05:53:38 +00:00
Alex Converse
09a64ee614
H.264: Simplify decode_residual()
...
Originally committed as revision 17750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 05:26:39 +00:00
Justin Ruggles
0c89ca72a5
cosmetics: remove a pointless comment
...
Originally committed as revision 17749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 05:25:58 +00:00
Justin Ruggles
95db6659d8
flacdec: Remove unused variable, min_blocksize.
...
Originally committed as revision 17748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 05:25:23 +00:00
Justin Ruggles
dde318d5d9
flacdec: Return error when blocksize code of 0 is found. It is a
...
reserved value per the FLAC format documentation.
Originally committed as revision 17747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 05:22:44 +00:00
Kostya Shishkov
c978997a88
Enable PB-frames decoding for H.263
...
Originally committed as revision 17746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 05:18:39 +00:00
Kostya Shishkov
685502cf3d
Add PB-frame decoding support for H.263/i263 (and enable it for i263)
...
Originally committed as revision 17745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 05:17:22 +00:00
Justin Ruggles
6053da0182
alacdec: Simplify reading of uncompressed samples by using
...
get_sbits_long().
Originally committed as revision 17744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 04:57:02 +00:00
Justin Ruggles
5b37e2fc9a
flacdec: Avoid trying to read 33 bits. This occurs when the source
...
is 32 bits-per-sample and channel decorrelation is used. Such files
are valid, but not supported currently.
Originally committed as revision 17743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 04:45:45 +00:00
Justin Ruggles
505cc62f75
flacdec: ALT_BITSTREAM_READER is no longer required.
...
Originally committed as revision 17742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 02:53:11 +00:00
Justin Ruggles
9de6e090a7
flacdec: use get_sbits_long() where needed.
...
Originally committed as revision 17741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 02:19:01 +00:00
Justin Ruggles
017c0811a1
Add a get_sbits_long() function.
...
Originally committed as revision 17740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 02:00:47 +00:00
Måns Rullgård
8858990f07
ALAC: use sign_extend() from mathops.h
...
Originally committed as revision 17739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 01:53:54 +00:00
Måns Rullgård
101dfa7d0a
Add sign_extend() function to mathops.h
...
Originally committed as revision 17738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 00:03:55 +00:00
Reimar Döffinger
edd532db64
Simplify show_bits_long and copy the GetBitsContext around only once instead of twice.
...
Originally committed as revision 17736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 19:42:31 +00:00
Justin Ruggles
ee4d0322e8
flacdec: Use get/skip_bits_long() for more than 17-bits and
...
get/skip_bits() for 17-bits or less.
Originally committed as revision 17735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 17:32:53 +00:00
Kostya Shishkov
b89e77cff7
Factor out block decoding in ff_h263_decode_mb()
...
Originally committed as revision 17734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 17:18:49 +00:00
Michael Niedermayer
7115cbda30
Consider all packets in the parser, not just ones with timestamps,
...
this should greatly simplify handling of packet pos.
Originally committed as revision 17733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 15:13:58 +00:00
Michael Niedermayer
2cc304215d
Favor container packets that end after the first byte of the access
...
unit in fetch_timestamp(). This should make no difference for valid
streams but may help invalid ones, also its needed for future changes.
Originally committed as revision 17732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 15:12:26 +00:00