Diego Biurrun
967d2ae616
Remove redundant assert(render) in ff_xvmc_init_block(). The immediately
...
following if condition checks render and does an assert if it fails.
Originally committed as revision 17304 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
e26f8d76d7
Remove asserts that are immediately followed by a check and error return.
...
Originally committed as revision 17303 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
8f38ff007a
Doxygen comment/explanation for ff_xvmc_init_block().
...
Originally committed as revision 17301 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
0b2eb2e8be
Add Doxygen comment similar to ff_xvmc_field_start() to ff_xvmc_field_end().
...
Originally committed as revision 17296 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
fe4be5dbd5
whitespace cosmetics: remove stray space
...
Originally committed as revision 17295 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
9107f7cd07
Doxygenize ff_xvmc_field_start() comment.
...
Originally committed as revision 17292 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
a1bce01171
Clarify ff_xvmc_field_start() comment.
...
Originally committed as revision 17291 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
b71bd0ed11
Merge some declarations and initializations.
...
Originally committed as revision 17288 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Kalvachev
013cebfbe8
Return error instead of triggering assert.
...
Originally committed as revision 17287 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
930efaf410
cosmetics: comment wording/grammar
...
Originally committed as revision 17286 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
6e4b41f880
cosmetics: Change '8*8' to '64'.
...
Originally committed as revision 17285 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
cb18fb6288
cosmetics: K&R style
...
Originally committed as revision 17284 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Kalvachev
9939841fe2
Give nice message for failed assert.
...
Originally committed as revision 17283 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
4440bd0da4
Add xvmc_internal.h that contains all internal xvmc function declarations.
...
This allows getting rid of a bunch of ugly forward declarations.
Originally committed as revision 17280 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Kalvachev
6e2803405d
Cosmetic 64 instead 8*8
...
Originally committed as revision 17279 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Kalvachev
ae4dde76d3
Clarify some assert usage.
...
They are not to check application supplied parameters.
Originally committed as revision 17278 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
99df0aa59e
another (last?) round of K&R whitespace cosmetics
...
Originally committed as revision 17276 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
ba585726be
whitespace cosmetics: Align some comments.
...
Originally committed as revision 17275 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
81189e4ff6
whitespace cosmetics: Put some spaces around operators for better readability.
...
Originally committed as revision 17274 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
465ce23e4d
Remove a comment that references a non-existing function.
...
Originally committed as revision 17273 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
0439c09d22
Make one comment slightly clearer and more readable.
...
Originally committed as revision 17272 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
63a21bc041
Remove one more commented-out line.
...
Originally committed as revision 17271 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
7e2e870e06
some more K&R whitespace cosmetics
...
Originally committed as revision 17270 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
a1db3b93c0
cosmetics: grammar/spelling/wording fixes in comments
...
Originally committed as revision 17269 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
052f377934
Remove useless comment.
...
Originally committed as revision 17268 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
eba9cecc8b
Restore one set of parentheses to avoid the warning:
...
libavcodec/mpegvideo_xvmc.c: In function ‘ff_xvmc_decode_mb’:
libavcodec/mpegvideo_xvmc.c:269: warning: suggest parentheses around && within ||
Originally committed as revision 17267 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
1f7c1d140a
whitespace cosmetics: consistently format all comments
...
Originally committed as revision 17266 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
d15876d3bd
whitespace cosmetics: Correctly indent all comments.
...
Originally committed as revision 17265 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Kalvachev
788aa94a9d
Clarify TODO comment
...
Originally committed as revision 17264 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
36c5204d4e
Drop two more sets of useless parentheses.
...
Originally committed as revision 17262 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Kalvachev
90509ec7bf
get rid of the branch prediction
...
Originally committed as revision 17261 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
4ec58e1397
cosmetics: Consistently format all if/else statements in K&R style
...
and drop braces from if statements where unnecessary.
Originally committed as revision 17260 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
9f00a41cb3
Remove some useless parentheses.
...
Originally committed as revision 17259 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Kalvachev
f0a902ad82
remove obsolete comment
...
Originally committed as revision 17257 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Kalvachev
4742762f5d
remove some useless ()
...
Originally committed as revision 17255 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Kalvachev
78f9a87830
use ff_xvmc for function names instead of XVMC_
...
Originally committed as revision 17254 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
ea375af8c9
Give public #defines that are used by MPlayer an AV_ prefix.
...
Originally committed as revision 17244 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
3ae0192839
Replace all (x == NULL) or (x != NULL) in assert and if conditions by !x and x.
...
Originally committed as revision 17243 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Kalvachev
ef1b5ae2cd
remove assertion that use external definitions
...
Originally committed as revision 17241 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
4ef690f565
whitespace cosmetics: vertical alignment
...
Originally committed as revision 17236 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
2d7d8cc7f4
whitespace cosmetics: another round of formatting consistency fixes
...
Originally committed as revision 17235 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
148302e7e4
whitespace cosmetics: consistent (more or less) K&R style
...
Originally committed as revision 17234 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
39dba5e8df
whitespace cosmetics: Fix indentation depth.
...
Originally committed as revision 17233 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
8e5cfb6e82
Remove commented-out code.
...
Originally committed as revision 17232 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
9e47796048
Rename xvmc.c --> mpegvideo_xvmc.c as suggested by Ivan.
...
Originally committed as revision 17228 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
fd949a6353
Revert adding a _pixfmt to vdpau/xvmc header names.
...
Since vdpau.h was an installed header this would break API.
Originally committed as revision 17225 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
Diego Biurrun
c96da3edc3
Avoid POSIX-reserved _t namespace.
...
Originally committed as revision 16408 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
7a74e06796
Fix a bunch of typos in comments.
...
Originally committed as revision 12656 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago