Diego Biurrun
ca14e2a8b7
Handle conditional compilation of CPU-specific FFT code in the Makefile.
...
Also replace one coarse MMX condition with more fine-grained
3DNow!/3DNowExt!/SSE conditions.
Originally committed as revision 17409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 00:11:49 +00:00
Diego Biurrun
3d17b948fd
mpegvideo_xvmc.o depends on mpegvideo.o.
...
Originally committed as revision 17405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 23:59:53 +00:00
Diego Biurrun
7df33ec28e
Replace sizeof(short) by the more robust sizeof(*s->pblocks[i]) in memset and
...
memcpy calls. s->pblocks is the element actually being handled.
Originally committed as revision 17404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 23:51:28 +00:00
Diego Biurrun
63864cb810
small Doxygen comment grammar fix
...
Originally committed as revision 17403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 23:36:28 +00:00
Diego Biurrun
bd0eddb795
Revert converting two asserts into if checks and error messages.
...
It did not achieve the intended effect.
Originally committed as revision 17402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 23:35:41 +00:00
Stephen Warren
ef7ae94ba2
Fix MBAFF/PAFF samples.
...
Patch by Stephen Warren, swarren nvidia com
Originally committed as revision 17401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 23:30:07 +00:00
Diego Biurrun
9ba8bc0164
spelling/grammar/wording fixes for the Doxygen comments
...
Originally committed as revision 17400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 22:36:48 +00:00
Diego Biurrun
30f68128ab
Add missing #includes to fix 'make checkheaders'.
...
Originally committed as revision 17398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 21:43:57 +00:00
Gwenole Beauchesne
ce09f9270a
Move initialization of {luma,chroma}_weight_flag[] up,
...
to make sure they are always initialized.
Patch by Gwenole Beauchesne g${name} splitted-desktop com
Originally committed as revision 17393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 13:41:27 +00:00
Diego Biurrun
de86157836
cosmetics: 'void/int inline' --> 'inline void/int' to avoid warnings of the type
...
"'inline' is not at beginning of declaration" with -Wextra.
Originally committed as revision 17392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 12:11:46 +00:00
Diego Biurrun
1bf6e565dd
cosmetics: 'const static' --> 'static const' to avoid warnings of the type
...
"'static' is not at beginning of declaration" with -Wextra.
Originally committed as revision 17391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 12:03:10 +00:00
Ivan Kalvachev
649c171aec
Thoroughly check all fields set by the application in xvmc struct.
...
Originally committed as revision 17387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 22:46:30 +00:00
Patrik Kullman
7846418bdb
flacdec: Silence false positive warning about uninitialized variables in
...
decode_subframe_fixed(). Patch by Patrik Kullman (patrik A yes D nu).
Originally committed as revision 17386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 22:23:47 +00:00
Ivan Kalvachev
02c0c8d17d
Minor clarification of xvmc field description.
...
Originally committed as revision 17384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 18:19:48 +00:00
Ivan Kalvachev
e7de624bcc
Improvements in xvmc structure fields descriptions.
...
Originally committed as revision 17383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 18:16:23 +00:00
Diego Biurrun
3842560379
whitespace cosmetics: Reindent a few lines after the last commit.
...
Originally committed as revision 17370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 11:50:06 +00:00
Diego Biurrun
83344066d3
Get rid of some '#if CONFIG_MPEG_XVMC_DECODER' preprocessor checks around if
...
statements by merging the CONFIG_MPEG_XVMC_DECODER check into the if condition.
Originally committed as revision 17369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 11:49:08 +00:00
Diego Biurrun
42dfc2bfa9
whitespace cosmetics: Place spaces around += for better readability.
...
Originally committed as revision 17368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 11:35:38 +00:00
Diego Biurrun
ed80a059ba
Add missing object dependencies: eatqi.o depends on mpeg12.o.
...
Originally committed as revision 17366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 10:38:23 +00:00
Kostya Shishkov
42402a55b0
Make BMP decoder try to decode files with incorrect filesize field value
...
Originally committed as revision 17363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 06:57:11 +00:00
Diego Biurrun
f9d5bf3c2d
Replace two asserts by checks and error messages.
...
Originally committed as revision 17362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 02:02:49 +00:00
Diego Biurrun
e7c88eb76f
Doxygen comment wording fix
...
Originally committed as revision 17361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 01:59:51 +00:00
Diego Biurrun
6545996fb9
whitespace cosmetics
...
Originally committed as revision 17358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 01:33:02 +00:00
Diego Biurrun
cad1928f15
Give struct members more sensible names:
...
total_number_of_mv_blocks --> allocated_mv_blocks
total_number_of_data_blocks --> allocated_data_blocks
Originally committed as revision 17356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 00:21:16 +00:00
Diego Biurrun
648410c1fc
cosmetics: one more wording fix
...
Originally committed as revision 17355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 00:09:00 +00:00
Diego Biurrun
df9d2e04bb
cosmetics: Keep lines below 80 characters where sensibly possible.
...
Originally committed as revision 17354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 00:06:32 +00:00
Diego Biurrun
037f13fe21
Doxygen spelling/wording fixes
...
Originally committed as revision 17353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 23:55:34 +00:00
Diego Biurrun
2f953883e3
spelling/wording fixes for the Doxygen comments
...
Originally committed as revision 17352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 23:23:39 +00:00
Diego Biurrun
8f66518d0b
draw_horiz_band() is really ff_draw_horiz_band().
...
Originally committed as revision 17350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 21:05:48 +00:00
Diego Biurrun
058bcd7b6b
spelling/grammar/wording/whitespace for Doxygen comments
...
Originally committed as revision 17349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 21:03:52 +00:00
Diego Biurrun
4e30fa6e7b
Rename AV_XVMC_RENDER_MAGIC constant to AV_XVMC_ID to reflect a similar
...
change in the name of the struct member xvmc_id.
Originally committed as revision 17348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 20:45:33 +00:00
Stefano Sabatini
c1b0210115
Improve grammar: "X next after Y" -> "next X after Y".
...
Originally committed as revision 17347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 20:45:10 +00:00
Diego Biurrun
864899c329
cosmetics: typo fix
...
Originally committed as revision 17346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 20:37:39 +00:00
Ivan Kalvachev
ad0405fc03
Describe all fields in xvmc struct.
...
Originally committed as revision 17345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 20:13:00 +00:00
Diego Biurrun
d758a5cb50
spelling/grammar/wording fixes for Doxygen comments
...
Originally committed as revision 17344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 19:10:16 +00:00
Diego Biurrun
1909fadea9
comment spelling/grammar/wording fixes
...
Originally committed as revision 17343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 19:06:05 +00:00
Diego Biurrun
e98b47557b
Explain how AV_XVMC_RENDER_MAGIC got its seemingly arbitrary value.
...
Originally committed as revision 17342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 18:59:18 +00:00
Ivan Kalvachev
1fcef40847
Rename unique_id to the way michaelni likes it. (xvmc_id)
...
Originally committed as revision 17341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 18:45:22 +00:00
Ivan Kalvachev
3d43e42f29
Document all functions in mpegvideo_xvmc.
...
Originally committed as revision 17340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 18:30:39 +00:00
Diego Biurrun
f602b044b5
Rename xvmc_pixfmt_render structure to xvmc_pix_fmt.
...
Originally committed as revision 17339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 17:42:08 +00:00
Ivan Kalvachev
11f8aa042d
Kill the magic field in xvmc structure.
...
Originally committed as revision 17338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 17:21:37 +00:00
Diego Biurrun
9043202e6e
K&R whitespace cosmetics
...
Originally committed as revision 17337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 16:54:02 +00:00
Diego Biurrun
c1e7b256ec
10l: Remove duplicated hunk of code.
...
Originally committed as revision 17335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 16:29:31 +00:00
Stefano Sabatini
0334f79994
Document av_codec_next().
...
Originally committed as revision 17333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 16:02:07 +00:00
Carl Eugen Hoyos
c99a35768f
Silence following warning if only zeros were not consumed:
...
AVC: Consumed only m bytes instead of n
Originally committed as revision 17327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 15:23:02 +00:00
Reimar Döffinger
06aae1238f
Place spaces consistently in pointer types in vdpau.c
...
Originally committed as revision 17320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 12:31:01 +00:00
Ivan Kalvachev
9e0a8a368e
Cosmetics. Vertical align.
...
Originally committed as revision 17319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 10:15:02 +00:00
Ivan Kalvachev
d76c5ed574
Almost cosmetics.
...
Move some assignments after the checks.
Originally committed as revision 17318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 10:14:16 +00:00
Ivan Kalvachev
d2d600b71f
Check all critical xvmc struct fields in ff_xvmc_field_start()
...
and log error if they are not correct. All other functions
are supposedly called after that one, so use assert() for them.
Originally committed as revision 17317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 10:06:23 +00:00
Ivan Kalvachev
afb9342a3e
Proper condition in xvmc decode mb.
...
The old one would try to use mv blocks that are written outside their buffer,
in case of unhandled error.
Originally committed as revision 17315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 09:03:47 +00:00