Commit Graph

17911 Commits

Author SHA1 Message Date
Baptiste Coudurier
d1e3c6fd40 extend resampling API, add S16 internal conversion
Originally committed as revision 17163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 22:57:10 +00:00
Stefano Sabatini
b5fdaebb44 Document sws_getIdentityVec().
Originally committed as revision 28533 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-11 21:34:44 +00:00
Baptiste Coudurier
5b4f5e5dff fix frame size, time rate is not stts duration anymore with time offset
Originally committed as revision 17162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 21:11:19 +00:00
Baptiste Coudurier
fcdd622cfc do not set start time to 0, it is not the case with elst time offset
Originally committed as revision 17161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 20:19:35 +00:00
Vitor Sessak
d3b771bbc8 Document old scaler as deprecated
Originally committed as revision 17160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 19:07:25 +00:00
Toshimitsu Kimura
865780ae9b Gopher protocol, patch by Toshimitsu Kimura, lovesyao gmail com
Originally committed as revision 17159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 16:28:46 +00:00
Diego Biurrun
15c13dde98 Fix wrong file name in header, noticed by David DeHaven, dave sagetv com.
Originally committed as revision 17158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 16:12:04 +00:00
Diego Biurrun
b57ac115ae Add av_uninit macro to variable to avoid false positive warning:
libavformat/electronicarts.c: In function ‘ea_read_packet’:
libavformat/electronicarts.c:447: warning: ‘num_samples’ may be used uninitialized in this function

Originally committed as revision 17157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 15:01:52 +00:00
Diego Biurrun
1e4eb387d4 Add av_uninit macro to variables to avoid false positive warnings:
libavcodec/msrledec.c: In function ‘ff_msrle_decode’:
libavcodec/msrledec.c:139: warning: ‘pix32’ may be used uninitialized in this function
libavcodec/msrledec.c:138: warning: ‘pix16’ may be used uninitialized in this function

Originally committed as revision 17156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 14:57:42 +00:00
Diego Biurrun
f59f814874 Add av_uninit macro to variable to avoid false positive warning:
libavcodec/qtrleenc.c: In function ‘qtrle_encode_frame’:
libavcodec/qtrleenc.c:113: warning: ‘bulkcount’ may be used uninitialized in this function

Originally committed as revision 17155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 14:55:24 +00:00
Diego Biurrun
decae20f36 Add av_uninit macro to variable to avoid false positive warning:
libavcodec/eatgv.c: In function ‘tgv_decode_frame’:
libavcodec/eatgv.c:66: warning: ‘offset’ may be used uninitialized in this function

Originally committed as revision 17154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 14:52:35 +00:00
Kostya Shishkov
71a3dff9d5 Initialize s->gob_index for Intel variant of H.263 too
Originally committed as revision 17153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 12:02:16 +00:00
Diego Biurrun
9b4cfc360a Rename vdpauvideo.c --> vdpau.c and xvmcvideo.c --> xvmc.c to better fit
the general libavcodec naming structure.

Originally committed as revision 17152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 12:01:59 +00:00
Diego Biurrun
d3a4b4e09c Add check whether the compiler/assembler supports 10 or more operands.
thanks to Loren for some help with the asm statements

Originally committed as revision 17151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 11:16:00 +00:00
Benoit Fouet
80e58c6153 Allow demuxing of audio substreams stored as 0x06 type.
Fixes issue 725: MPEG2 PS with PCM audio.
On behalf of Jai.

Originally committed as revision 17150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 11:09:36 +00:00
Baptiste Coudurier
7a10119057 parse mpeg2 gop header time code and use it
Originally committed as revision 17149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 08:02:23 +00:00
Baptiste Coudurier
7c9668cf8a write timecode track
Originally committed as revision 17148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 07:18:00 +00:00
Alexander Strange
898189880b H264: Change left_block_options to uint8_t from int, saving a little space.
Originally committed as revision 17147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 06:03:18 +00:00
Baptiste Coudurier
a5929abe7a adjust time rate according to elst time offset
Originally committed as revision 17146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 02:32:39 +00:00
Baptiste Coudurier
0cfa359660 fix last keyframe index accross body partitions
Originally committed as revision 17145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 01:06:12 +00:00
Baptiste Coudurier
1585b93a2c fix body offset
Originally committed as revision 17144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 00:56:27 +00:00
Stefano Sabatini
4c08b2bdcb Cosmetics: vertical align "*" for consistency with the other doxyies.
Originally committed as revision 17143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 00:25:30 +00:00
Stefano Sabatini
3dc6cb2e92 Remove @deprecated notice from AVFrac, it is not deprecated anymore.
Originally committed as revision 17142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 00:19:05 +00:00
Patrik Kullman
6d0c77ba40 Use av_strlcpy instead of snprintf without formatting.
Prevents warnings about "format not a string literal and no format arguments".
patch by Patrik Kullman, patrik yes nu

Originally committed as revision 17141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 00:07:32 +00:00
Stefano Sabatini
6d3cf67c2a Move sws_getGaussianVec() documentation from swscale.c to swscale.h.
Originally committed as revision 28528 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-10 23:45:50 +00:00
Stefano Sabatini
89b7464732 Document sws_cloneVec().
Originally committed as revision 28527 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-10 23:43:08 +00:00
Stefano Sabatini
70838eefbf Fix typo: lenght -> length.
Originally committed as revision 28526 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-10 23:40:58 +00:00
Stefano Sabatini
0bcb5b3918 Document sws_scaleVec().
Originally committed as revision 28525 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-10 23:38:01 +00:00
Stefano Sabatini
c326825e51 Document sws_getConstVec().
Originally committed as revision 28524 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-10 23:32:16 +00:00
Stefano Sabatini
b954b34a6d Move documentation of sws_getCachedContext() from swscale.c to
swscale.h.

Originally committed as revision 28523 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-10 23:26:56 +00:00
Baptiste Coudurier
9c91a0b049 fix partition offset when only one stream present
Originally committed as revision 17140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 23:25:23 +00:00
Stefano Sabatini
9ea5e6f639 Remove pointless comment regarding sws_scale_ordered().
Originally committed as revision 28522 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-10 23:25:09 +00:00
Stefano Sabatini
1eeded3992 Add a @deprecated notice to swscale_get_ordered().
Originally committed as revision 28521 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-10 23:22:07 +00:00
Baptiste Coudurier
0e633e2b01 fix timecode value
Originally committed as revision 17139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 22:59:13 +00:00
Stefan Gehrer
6847ab4375 introduce a macroblock index to avoid a few x*width+y calculations
Originally committed as revision 17138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 22:38:02 +00:00
Stefan Gehrer
b9fce05205 fix multiple slices per frame
Originally committed as revision 17137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 20:51:35 +00:00
Stefan Gehrer
4ca6f4b29c fix parsing of pic_structure
Originally committed as revision 17136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 17:08:56 +00:00
Stefan Gehrer
e090c70f2f avoid duplicating dsputil's clear_block
Originally committed as revision 17135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 16:45:02 +00:00
Stefan Gehrer
ae2d3e3b25 time_code has 24 bits, not 16
Originally committed as revision 17134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 16:36:01 +00:00
Stefan Gehrer
d934de5c5d do not check for minimum slice start code, 0x00000100 is valid
Originally committed as revision 17133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 16:34:45 +00:00
Anuradha Suraparaju
9fc88d7e20 Fix crash when encoding using libschroedinger.
Currently only pixel and half-pixel motion vector precisions are supported in
libschroedinger. Setting the mv_precision field to 2 (i.e. quarter pixel)
causes a crash in the libschroedinger encoder calls. By not setting this
parameter, we fall back to the default value used in libschroedinger.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 17132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 14:27:16 +00:00
Jai Menon
f418b86151 Check sampling index validity for AAC decoding
Patch by Jai Menon ( jmenon86 gmail com )

Originally committed as revision 17131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 13:47:50 +00:00
Patrik Kullman
c7efffcb44 Add a default (error) for the switch in case of an unsupported PIX_FMT.
Removes warnings about possibly uninitialized variables.
Patch by Patrik Kullman %patrik A yes P nu%

Originally committed as revision 17130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 12:38:56 +00:00
Mathieu Malaterre
3d6fac8cee Use default system include path for an installed OpenJPEG library.
patch by Mathieu Malaterre, mathieu.malaterre gmail com

Originally committed as revision 17129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 11:29:31 +00:00
Patrik Kullman
79ff462e73 Fix (with av_uninit()) false positive warning about uninitialized variable:
offset is initialized and used if code == 1.
patch by Patrik Kullman %patrik A yes P nu%

Originally committed as revision 17128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 10:35:05 +00:00
Carl Eugen Hoyos
0dd8966638 Silence one icc warning:
variable "..." is used before its value is set

Originally committed as revision 17127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 09:12:52 +00:00
Baptiste Coudurier
99b170f896 write body partitions
Originally committed as revision 17126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 09:02:29 +00:00
Baptiste Coudurier
7524f46e21 compute index byte count in mxf_write_partition
Originally committed as revision 17125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 08:46:04 +00:00
Baptiste Coudurier
c1425a14f1 remove check, mxf muxer does not have track number limitation anymore
Originally committed as revision 17124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 08:35:14 +00:00
Baptiste Coudurier
4a15f3ee99 retrieve flags from mxf_parse_mpeg2_frame using a param
Originally committed as revision 17123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 08:31:48 +00:00