Commit Graph

8707 Commits

Author SHA1 Message Date
Diego Biurrun db68113d5e cosmetics: alphabetical order
Originally committed as revision 17224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 13:12:49 +00:00
Kostya Shishkov 7fa70598e8 Enable dropping frames for RV3/4
Originally committed as revision 17221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 06:38:50 +00:00
Patrik Kullman 3cfe88194a lpc: Remove false positive compilation warning about weight being
uninitialized. Patch by Patrik Kullman (patrik A yes D nu).

Originally committed as revision 17218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 22:05:55 +00:00
Patrik Kullman eabe8c7033 Assert that ff_lpc_calc_coefs() is called with a valid LPC method.
Patch by Patrik Kullman (patrik A yes D nu).

Originally committed as revision 17217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 22:03:11 +00:00
Patrik Kullman 83f63ffb22 lpc: Document the use_lpc parameter to ff_lpc_calc_coefs().
Patch by Patrik Kullman (patrik A yes D nu).

Originally committed as revision 17216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 22:01:46 +00:00
Alex Converse 03b127477f Re-indent after last commit.
Originally committed as revision 17211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 16:07:20 +00:00
Alex Converse f1ade11e33 Make set coup.gain[c][0] aand only coup.gain[c][0] is set for a independently switched CCE.
Discussed/OKed at http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-February/062219.html

Originally committed as revision 17210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 16:06:22 +00:00
Kostya Shishkov 86dd3974e5 In RV3/4 nonzero MB offset for the first slice also indicates error
Originally committed as revision 17201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 07:06:36 +00:00
Alexander Strange b6188c5a55 Put dispatch_tab in the rodata section for macho64.
This fixes linking shared libavcodec, since the linker doesn't allow
text relocations in shared libraries under Darwin/x86_64.

Based on a patch by Art Clarke (aclarke xuggle com)

Originally committed as revision 17197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 00:57:22 +00:00
Alex Converse 4eb311d01c Correctly map ADTS profile_ObjectType to MPEG-4 AOT
Patch by Alex Converse ( alex converse gmail com )

Originally committed as revision 17196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 00:08:15 +00:00
Zuxy Meng ecb24904fe add SSE2 version of vp6_filter_diag
original patch by Zuxy Meng  zuxy.meng _at_ gmail _dot_ com

Originally committed as revision 17195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 00:02:33 +00:00
Sebastien Lucas 6af3c226c3 add MMX version of vp6_filter_diag
original patch by Sebastien Lucas  sebastien.lucas _at_ gmail _dot_ com

Originally committed as revision 17194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 23:52:52 +00:00
Aurelien Jacobs 5110b25e1e convert ff_pw_64 into an xmm_reg for future use in vp6 sse code
Originally committed as revision 17192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 23:48:07 +00:00
Reimar Döffinger 29ef9575ab Fix compilation, there is no file vdpauvideo.c, only vdpau.c
Originally committed as revision 17185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 17:27:53 +00:00
Robert Swain 5f401ee03c AAC: Cosmetic alterations after the last commit
Originally committed as revision 17182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 13:49:59 +00:00
Alex Converse b2d9d4a531 Give an error message when returning due to an unallocated channel element
Patch by Alex Converse ( alex converse gmail com )

Originally committed as revision 17181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 13:47:21 +00:00
Alex Converse 30272450f9 Add support for sample rate index 12, 7350 Hz
Patch by Alex Converse ( alex converse gmail com )

Originally committed as revision 17180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 13:31:43 +00:00
Alex Converse ff587009ae Remove bogus coupling_point assignment for non-CCE as this value is not checked
in this case

Patch by Alex Converse ( alex converse gmail com )

Originally committed as revision 17179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 13:22:41 +00:00
Björn Axelsson 37a43cfb39 Set AVSubtitle format to 0. Neither dvdsubdec nor xsubdec intializes format
to 0, but ffplay checks it before displaying subtitles (ffplay.c:1437).
patch by Björn Axelsson, gecko acc.umu se

Originally committed as revision 17170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 01:27:56 +00:00
Diego Biurrun 508048afe2 10l: Rename vdpau.h --> vdpau_pixfmt.h in the Makefile as well.
Originally committed as revision 17169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 01:07:13 +00:00
Diego Biurrun 8df3bf60cf Rename xvmc_render.h --> xvmc_pixfmt.h and vdpau.h --> vdpau_pixfmt.h as
suggested by Michael, the new names better describe the contents of the files.

Originally committed as revision 17168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 01:00:46 +00:00
Michael Niedermayer 8c7f820686 Let rgb32 pass for ljpeg.
Originally committed as revision 17167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 00:48:30 +00:00
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
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
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 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
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
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
Aurelien Jacobs 26f3ae828b move vp6_filter_diag4() to a new vp6dsp.c file and use it throught dsputil
Originally committed as revision 17111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 23:37:31 +00:00
Patrik 862c1d2f05 Replace snprintf() with av_strlcpy().
Fixes the following warning on some systems:
audioconvert.c:131: warning: format not a string literal and no format
arguments

Patch by Patrik patrik A yes D nu

Originally committed as revision 17110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 23:11:26 +00:00
Ivan Schreter 37a558fe51 Add SEI recovery point frame counter to H264Context and use it when
setting key_frame.

Patch by Ivan Schreter schreter A gmx D net

Originally committed as revision 17109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 23:04:16 +00:00
Aurelien Jacobs ed76106755 vp56: alpha_offset is uninitialized on purpose
Originally committed as revision 17108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 22:45:30 +00:00
Nicolas George 05276956ce libvorbis: Use 0-10 range for audio quality.
Patch by Nicolas George (nicolas george normalesup org)

Originally committed as revision 17107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 22:11:28 +00:00
Michael Niedermayer a503722750 Fix: libavcodec/msmpeg4.c:1612: warning: ‘dc_pred_dir’ may be used uninitialized in this function
Originally committed as revision 17106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 22:04:34 +00:00
Michael Niedermayer 990058bdc7 Try to doxyfy av_resample_init(). I hope I did not misremember anything as I
just briefly checked the source.

Originally committed as revision 17100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 15:49:06 +00:00