ffmpeg.git
13 years agochange all the occurrences of "FFMIN(FFMAX())" to clip_uint8() or clip()
Luca Abeni [Tue, 26 Dec 2006 18:08:40 +0000 (18:08 +0000)]
change all the occurrences of "FFMIN(FFMAX())" to clip_uint8() or clip()

Originally committed as revision 21776 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

13 years agoMark some variables as possibly unused to avoid warnings
Luca Abeni [Tue, 26 Dec 2006 17:59:28 +0000 (17:59 +0000)]
Mark some variables as possibly unused to avoid warnings

Originally committed as revision 21775 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

13 years agoAdd some explicit casts to avoid "assignment from incompatible pointer type"
Luca Abeni [Tue, 26 Dec 2006 17:41:38 +0000 (17:41 +0000)]
Add some explicit casts to avoid "assignment from incompatible pointer type"
warnings

Originally committed as revision 21774 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

13 years agomake version.h depend on .svn/entries
Måns Rullgård [Tue, 26 Dec 2006 17:25:16 +0000 (17:25 +0000)]
make version.h depend on .svn/entries

Originally committed as revision 7377 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoskiprd doxygen comment from avcodec.h -> AVOption comment
Michael Niedermayer [Tue, 26 Dec 2006 17:08:03 +0000 (17:08 +0000)]
skiprd doxygen comment from avcodec.h -> AVOption comment

Originally committed as revision 7376 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoAdd some other casts, to remove void pointers arithmetic
Luca Abeni [Tue, 26 Dec 2006 16:28:34 +0000 (16:28 +0000)]
Add some other casts, to remove void pointers arithmetic

Originally committed as revision 21773 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

13 years agoAdd some explicit casts to avoid some warnings
Luca Abeni [Tue, 26 Dec 2006 16:21:13 +0000 (16:21 +0000)]
Add some explicit casts to avoid some warnings

Originally committed as revision 21772 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

13 years agoRemove some void pointers arithmetic
Luca Abeni [Tue, 26 Dec 2006 16:12:37 +0000 (16:12 +0000)]
Remove some void pointers arithmetic

Originally committed as revision 21771 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

13 years agoMusepack SV7 decoding support
Kostya Shishkov [Sun, 24 Dec 2006 04:51:43 +0000 (04:51 +0000)]
Musepack SV7 decoding support

Originally committed as revision 7375 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoProperly check for all required bktr headers.
Diego Biurrun [Sun, 24 Dec 2006 03:53:15 +0000 (03:53 +0000)]
Properly check for all required bktr headers.
inspired by a patch from Tatu Kilappa, trilkk iki fi

Originally committed as revision 7374 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoReplace fail test with the die function.
Diego Biurrun [Sun, 24 Dec 2006 03:12:36 +0000 (03:12 +0000)]
Replace fail test with the die function.

Originally committed as revision 7373 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRemove redundant variable setting.
Diego Biurrun [Sun, 24 Dec 2006 02:58:25 +0000 (02:58 +0000)]
Remove redundant variable setting.

Originally committed as revision 7372 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoSlightly shorten libvorbis check.
Diego Biurrun [Sun, 24 Dec 2006 02:14:26 +0000 (02:14 +0000)]
Slightly shorten libvorbis check.

Originally committed as revision 7371 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoDisable Win32 threads by default.
Diego Biurrun [Sun, 24 Dec 2006 01:14:55 +0000 (01:14 +0000)]
Disable Win32 threads by default.

Originally committed as revision 7370 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoAdd AMR directories for out-of-tree builds.
Diego Biurrun [Sat, 23 Dec 2006 22:14:42 +0000 (22:14 +0000)]
Add AMR directories for out-of-tree builds.
based on a patch by Ramiro Polla, ramiro lisha.ufsc br

Originally committed as revision 7369 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agotypo: Properly escape a $ sign.
Diego Biurrun [Sat, 23 Dec 2006 22:06:39 +0000 (22:06 +0000)]
typo: Properly escape a $ sign.

Originally committed as revision 7368 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agosync to libnut, nom->num
Oded Shimon [Sat, 23 Dec 2006 12:33:37 +0000 (12:33 +0000)]
sync to libnut, nom->num

Originally committed as revision 7367 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRegister x11grab only when it has been enabled.
Diego Biurrun [Sat, 23 Dec 2006 07:19:56 +0000 (07:19 +0000)]
Register x11grab only when it has been enabled.

Originally committed as revision 7366 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoskiprd
Michael Niedermayer [Sat, 23 Dec 2006 03:05:36 +0000 (03:05 +0000)]
skiprd

Originally committed as revision 7365 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix regression tests with out-of-tree builds.
Diego Biurrun [Sat, 23 Dec 2006 00:22:15 +0000 (00:22 +0000)]
Fix regression tests with out-of-tree builds.

Originally committed as revision 7364 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoCreate libpostproc pkgconfig files only if libpostproc is enabled.
Diego Biurrun [Fri, 22 Dec 2006 23:54:16 +0000 (23:54 +0000)]
Create libpostproc pkgconfig files only if libpostproc is enabled.

Originally committed as revision 7363 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agosupport files >2GB on MinGW
Ramiro Polla [Fri, 22 Dec 2006 23:44:04 +0000 (23:44 +0000)]
support files >2GB on MinGW
patch by Ramiro Polla, angustia arrozcru.no-ip org

Originally committed as revision 7362 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agotest DIRECT{0,0} too if flag mv0 is used
Michael Niedermayer [Fri, 22 Dec 2006 23:30:57 +0000 (23:30 +0000)]
test DIRECT{0,0} too if flag mv0 is used
slight PSNR/bitrate increase

Originally committed as revision 7361 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoslightly more consistency for the Darwin linker options
Diego Biurrun [Fri, 22 Dec 2006 22:19:02 +0000 (22:19 +0000)]
slightly more consistency for the Darwin linker options

Originally committed as revision 7360 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoClarify that yuv2rgb_init.c cannot be used under LGPL
Luca Abeni [Fri, 22 Dec 2006 17:57:19 +0000 (17:57 +0000)]
Clarify that yuv2rgb_init.c cannot be used under LGPL

Originally committed as revision 21730 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

13 years agoOpss... My last commit was wrong; sorry!
Luca Abeni [Fri, 22 Dec 2006 15:05:30 +0000 (15:05 +0000)]
Opss... My last commit was wrong; sorry!
This one moves the GPL check in the right place

Originally committed as revision 7359 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agolibswscale is not LGPLed, sorry
Luca Abeni [Fri, 22 Dec 2006 15:02:39 +0000 (15:02 +0000)]
libswscale is not LGPLed, sorry

Originally committed as revision 7358 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRemove useless include (not needed now that libswscale uses libavutil)
Luca Abeni [Fri, 22 Dec 2006 11:22:49 +0000 (11:22 +0000)]
Remove useless include (not needed now that libswscale uses libavutil)

Originally committed as revision 21728 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

13 years agobt 0 is invalid, setting min to 1
Baptiste Coudurier [Fri, 22 Dec 2006 10:10:13 +0000 (10:10 +0000)]
bt 0 is invalid, setting min to 1

Originally committed as revision 7357 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoInstall generated .lib files in shlibdir on MinGW.
Ramiro Polla [Fri, 22 Dec 2006 05:29:14 +0000 (05:29 +0000)]
Install generated .lib files in shlibdir on MinGW.
patch by Ramiro Polla, ramiro lisha.ufsc br

Originally committed as revision 7356 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRemove duplicate line.
Diego Biurrun [Fri, 22 Dec 2006 05:25:56 +0000 (05:25 +0000)]
Remove duplicate line.

Originally committed as revision 7355 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix linking on Intel Mac due to local relocation entries in
Tom Harper [Fri, 22 Dec 2006 05:20:47 +0000 (05:20 +0000)]
Fix linking on Intel Mac due to local relocation entries in
non-writable sections.
patch by Tom Harper d.thomas.harper gmail com

Originally committed as revision 7354 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoMake the X11 frame grabber disabled by default.
Diego Biurrun [Fri, 22 Dec 2006 04:38:24 +0000 (04:38 +0000)]
Make the X11 frame grabber disabled by default.

Originally committed as revision 7353 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agomore simplification
Aurelien Jacobs [Thu, 21 Dec 2006 22:58:02 +0000 (22:58 +0000)]
more simplification

Originally committed as revision 7352 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years ago10l
Michael Niedermayer [Thu, 21 Dec 2006 22:35:13 +0000 (22:35 +0000)]
10l

Originally committed as revision 7351 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoUse $< instead of explicit names.
Diego Biurrun [Thu, 21 Dec 2006 21:35:49 +0000 (21:35 +0000)]
Use $< instead of explicit names.

Originally committed as revision 7350 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agochange mpeg2 intra vlc test to advanced one, add qprd trell and b frames
Baptiste Coudurier [Thu, 21 Dec 2006 17:55:02 +0000 (17:55 +0000)]
change mpeg2 intra vlc test to advanced one, add qprd trell and b frames

Originally committed as revision 7349 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFIXME has already been fixed ages ago
Michael Niedermayer [Thu, 21 Dec 2006 15:49:40 +0000 (15:49 +0000)]
FIXME has already been fixed ages ago

Originally committed as revision 7348 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agosimplify
Michael Niedermayer [Thu, 21 Dec 2006 15:46:32 +0000 (15:46 +0000)]
simplify

Originally committed as revision 7347 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agouse qscale_table in adaptive quant
Michael Niedermayer [Thu, 21 Dec 2006 15:45:53 +0000 (15:45 +0000)]
use qscale_table in adaptive quant
 some PSNR/bitrate improvement for adaptive quant

Originally committed as revision 7346 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agosimplify
Michael Niedermayer [Thu, 21 Dec 2006 15:22:16 +0000 (15:22 +0000)]
simplify

Originally committed as revision 7345 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoi think this if() is useless lets abuse our users to test this ;)
Michael Niedermayer [Thu, 21 Dec 2006 15:21:44 +0000 (15:21 +0000)]
i think this if() is useless lets abuse our users to test this ;)

Originally committed as revision 7344 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoskip motion estimation and encoding of non direct-0,0 MBs if the next MB is skiped...
Michael Niedermayer [Thu, 21 Dec 2006 15:20:02 +0000 (15:20 +0000)]
skip motion estimation and encoding of non direct-0,0 MBs if the next MB is skiped (mpeg4 doesnt allow such MBs and in the past we did ME and encoding until at the end we droped them, so this should be faster though i didnt benchmark it, benchmark welcome)

Originally committed as revision 7343 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agodont randomly disallow intr4v in adaptive quant
Michael Niedermayer [Thu, 21 Dec 2006 14:24:23 +0000 (14:24 +0000)]
dont randomly disallow intr4v in adaptive quant
  some PSNR/bitrate gain if adaptive quant is used
initalize qscale_table correctly (it was pretty much random since the qp->lambda change)
  this probably has not much effect as the table isnt used currently IIRC

Originally committed as revision 7342 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agodont randomly dissallow direct MBs
Michael Niedermayer [Thu, 21 Dec 2006 13:23:49 +0000 (13:23 +0000)]
dont randomly dissallow direct MBs
  some PSNR/bitrate gain for b frames with adaptive quant or QPRD

Originally committed as revision 7341 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoQPRD & adaptive quantization regression tests
Michael Niedermayer [Thu, 21 Dec 2006 13:03:07 +0000 (13:03 +0000)]
QPRD & adaptive quantization regression tests

Originally committed as revision 7340 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRemove useless #include.
Diego Biurrun [Thu, 21 Dec 2006 11:14:56 +0000 (11:14 +0000)]
Remove useless #include.

Originally committed as revision 7339 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRemove useless MinGW #ifdefs.
Ramiro Polla [Thu, 21 Dec 2006 11:12:55 +0000 (11:12 +0000)]
Remove useless MinGW #ifdefs.
patch by Ramiro Polla, ramiro lisha.ufsc br

Originally committed as revision 7338 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agolibswscale can now be compiled under LGPL too
Luca Abeni [Thu, 21 Dec 2006 08:01:10 +0000 (08:01 +0000)]
libswscale can now be compiled under LGPL too

Originally committed as revision 7337 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agotry direct mode MB after QPRD, slight PSNR/bitrate gain if b frames + QPRD
Michael Niedermayer [Wed, 20 Dec 2006 23:43:13 +0000 (23:43 +0000)]
try direct mode MB after QPRD, slight PSNR/bitrate gain if b frames + QPRD

Originally committed as revision 7336 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix a crash when probing img2 format with a NULL filename.
Joakim Plate [Wed, 20 Dec 2006 23:33:50 +0000 (23:33 +0000)]
Fix a crash when probing img2 format with a NULL filename.
patch by elupus _at_ ecce.se

Originally committed as revision 7335 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agofix special casing of the 0,0 MV for b frames (slight PSNR/bitrate gain)
Michael Niedermayer [Wed, 20 Dec 2006 17:11:54 +0000 (17:11 +0000)]
fix special casing of the 0,0 MV for b frames (slight PSNR/bitrate gain)

Originally committed as revision 7334 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix compilation of non-MMX code with gcc 2.95
Luca Abeni [Wed, 20 Dec 2006 15:58:15 +0000 (15:58 +0000)]
Fix compilation of non-MMX code with gcc 2.95

Originally committed as revision 21702 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

13 years agoAllow to compile swscale's non-SIMD code under the LGPL license.
Luca Abeni [Wed, 20 Dec 2006 13:09:29 +0000 (13:09 +0000)]
Allow to compile swscale's non-SIMD code under the LGPL license.
Since mplayer always define CONFIG_GPL, this commit should not change
anything for mplayer.

Originally committed as revision 21699 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

13 years agodont favor the zero MV if mv0 is used (psnr per bitrate gains ranging from 0 to 0...
Michael Niedermayer [Wed, 20 Dec 2006 01:30:17 +0000 (01:30 +0000)]
dont favor the zero MV if mv0 is used (psnr per bitrate gains ranging from 0 to 0.14, most are <=0.04 though)

Originally committed as revision 7333 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoAdd SSSE3 (Core2 aka Conroe/Merom/Woodcrester new instructions) detection
Guillaume Poirier [Mon, 18 Dec 2006 22:43:09 +0000 (22:43 +0000)]
Add SSSE3 (Core2 aka Conroe/Merom/Woodcrester new instructions) detection

Originally committed as revision 7332 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agominor doc fix
Michael Niedermayer [Mon, 18 Dec 2006 19:27:28 +0000 (19:27 +0000)]
minor doc fix

Originally committed as revision 7331 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoalways print message when error, AV_LOG_DEBUG -> AV_LOG_ERROR
Baptiste Coudurier [Mon, 18 Dec 2006 13:45:03 +0000 (13:45 +0000)]
always print message when error, AV_LOG_DEBUG -> AV_LOG_ERROR

Originally committed as revision 7330 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoAdd support for VP60 and VP61.
Aurelien Jacobs [Sun, 17 Dec 2006 22:00:12 +0000 (22:00 +0000)]
Add support for VP60 and VP61.

Originally committed as revision 7329 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years ago10l
Michael Niedermayer [Sun, 17 Dec 2006 15:41:30 +0000 (15:41 +0000)]
10l

Originally committed as revision 7328 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agosmall optimization
Aurelien Jacobs [Sun, 17 Dec 2006 15:26:50 +0000 (15:26 +0000)]
small optimization

Originally committed as revision 7327 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agowarn user if the selected diamond size is larger then the motion estimation score...
Michael Niedermayer [Sun, 17 Dec 2006 13:11:34 +0000 (13:11 +0000)]
warn user if the selected diamond size is larger then the motion estimation score cache size

Originally committed as revision 7326 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agolimit x/ymin/max to me_range
Michael Niedermayer [Sun, 17 Dec 2006 12:07:09 +0000 (12:07 +0000)]
limit x/ymin/max to me_range
  slight psnr/bitrate gain for most but not all files if me_range is used

Originally committed as revision 7325 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoCheck mb_pos is big enough before trying to access data left or above.
Reimar Döffinger [Sun, 17 Dec 2006 11:11:44 +0000 (11:11 +0000)]
Check mb_pos is big enough before trying to access data left or above.
Fixes out-of-bound access for http://samples.mplayerhq.hu/V-codecs/WMV9/nokia_n90.wmv

Originally committed as revision 7324 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoput_*() are not only useful to muxers and protocol
Aurelien Jacobs [Sat, 16 Dec 2006 20:40:09 +0000 (20:40 +0000)]
put_*() are not only useful to muxers and protocol
fix compilation of matroska demuxer with --disable-muxers --disable-protocols

Originally committed as revision 7323 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agofix libavutil.pc
Måns Rullgård [Sat, 16 Dec 2006 00:57:32 +0000 (00:57 +0000)]
fix libavutil.pc

Originally committed as revision 7322 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agodon't use non-standard sed -i option
Måns Rullgård [Fri, 15 Dec 2006 22:36:19 +0000 (22:36 +0000)]
don't use non-standard sed -i option

Originally committed as revision 7321 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoAllow provision of displaynumber, screennumber, x-offset and y-offset parameters
Panagiotis Issaris [Fri, 15 Dec 2006 13:19:03 +0000 (13:19 +0000)]
Allow provision of displaynumber, screennumber, x-offset and y-offset parameters
to the x11grab device.

Originally committed as revision 7320 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoav_log(NULL,... -> av_log(avctx,.. where appropriate.
Benjamin Larsson [Thu, 14 Dec 2006 17:58:25 +0000 (17:58 +0000)]
av_log(NULL,... -> av_log(avctx,.. where appropriate.

Originally committed as revision 7319 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoBug fix for crashes when SSE is used on unaligned arrays.
Benjamin Larsson [Thu, 14 Dec 2006 17:50:23 +0000 (17:50 +0000)]
Bug fix for crashes when SSE is used on unaligned arrays.
No measureable change in speed. This gave random crashes on Win32
and BeOS. The cause for this bug is that gcc doesn't align the
stackframe. Linux and glibc always ensure this to be true thus
this never affected Linux.

Originally committed as revision 7318 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoreplace bashism with POSIX construct
Måns Rullgård [Wed, 13 Dec 2006 20:42:11 +0000 (20:42 +0000)]
replace bashism with POSIX construct

Originally committed as revision 7317 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agovqmin/vqmax --> qmin/qmax in the option description
Diego Biurrun [Wed, 13 Dec 2006 11:10:41 +0000 (11:10 +0000)]
vqmin/vqmax --> qmin/qmax in the option description

Originally committed as revision 7316 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agogrammar/wording
Diego Biurrun [Wed, 13 Dec 2006 10:42:15 +0000 (10:42 +0000)]
grammar/wording

Originally committed as revision 7315 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agodocumentation for X11 grabbing
Baptiste Coudurier [Wed, 13 Dec 2006 10:27:50 +0000 (10:27 +0000)]
documentation for X11 grabbing

Originally committed as revision 7314 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoGenerate pkgconfig files via two functions.
Diego Biurrun [Wed, 13 Dec 2006 10:21:55 +0000 (10:21 +0000)]
Generate pkgconfig files via two functions.

Originally committed as revision 7313 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agodont segv is ap->device is not set, display error message
Baptiste Coudurier [Wed, 13 Dec 2006 10:18:38 +0000 (10:18 +0000)]
dont segv is ap->device is not set, display error message

Originally committed as revision 7312 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agofix compilation, use the standard INT64_C macro
Baptiste Coudurier [Wed, 13 Dec 2006 10:08:27 +0000 (10:08 +0000)]
fix compilation, use the standard INT64_C macro

Originally committed as revision 7311 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoremove trailing whitespace left over
Guillaume Poirier [Wed, 13 Dec 2006 09:14:30 +0000 (09:14 +0000)]
remove trailing whitespace left over

Originally committed as revision 7310 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFeedback from Karl H. Beckers about mouse cursor
Edouard Gomez [Wed, 13 Dec 2006 08:51:01 +0000 (08:51 +0000)]
Feedback from Karl H. Beckers about mouse cursor
(patch by Edouard Gomez)

Originally committed as revision 7309 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRFC 6: Overall cleanups again.
Edouard Gomez [Wed, 13 Dec 2006 08:50:30 +0000 (08:50 +0000)]
RFC 6: Overall cleanups again.

- License should be fixed now (finally)
- Added doxygen comments
- Cleaned up the X11Grab structure
- Renamed X11Grab structure to x11_grab_s
- Changed some Java stylish named functions to more C'stylish ones
- Changed order of some parameters so they are more libc alike with
  destination as first parameter
- Use AVRational where relevant
- Fixed time calculation
- Cleaned up a few little tiny things around the sources
  + removed a goto
  + removed unused vars
  + etc...
(Patch by Edouard Gomez)

Originally committed as revision 7308 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRFC 5: Mouse cursor painting reduc and more cleanups
Edouard Gomez [Wed, 13 Dec 2006 08:49:34 +0000 (08:49 +0000)]
RFC 5: Mouse cursor painting reduc and more cleanups

- License is for FFmpeg, not "this program"
- Rewrite mouse cursor painting functions
- Cosmetic on 2 function declarations
(patch by Edouard Gomez)

Originally committed as revision 7307 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRFC 3&4 stage: FFmpeg style aint't my style
Edouard Gomez [Wed, 13 Dec 2006 08:48:56 +0000 (08:48 +0000)]
RFC 3&4 stage: FFmpeg style aint't my style

- Tabs are 4 width
- No tabs allowed
(patch by Edouard Gomez)

Originally committed as revision 7306 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRFC 2 stage: First feedback from review comments
Edouard Gomez [Wed, 13 Dec 2006 08:48:13 +0000 (08:48 +0000)]
RFC 2 stage: First feedback from review comments

- License is GPL, simplify the license header to make it clear
- Add myself to license header, clarify who did what
- Use 64 bit PTS
- Move mouse bitmaps to the mouse cursor painting function. Make them
  const again
  - Properly detach X11 from the shared memory segment on close
  - Destroy X11 image on close
(patch by Edouard Gomez)

Originally committed as revision 7305 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRFC 1 stage: Improve maintainability of the cursoir painting code
Edouard Gomez [Wed, 13 Dec 2006 08:47:14 +0000 (08:47 +0000)]
RFC 1 stage: Improve maintainability of the cursoir painting code

- Turned the mouse cursor painting code into a macro for more
  maintainability
  - Dropped mouse cursor painting in 8bit mode
  - Removed log when dropping frames
  - Free the shared memory segment on close
(patch by Edouard Gomez)

Originally committed as revision 7304 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoAdapt the patch to more recent FFmpeg habits
Edouard Gomez [Wed, 13 Dec 2006 08:46:31 +0000 (08:46 +0000)]
Adapt the patch to more recent FFmpeg habits

- Indentation
- Use av_log instead of fprintf
- Removed strdup of the device name. It was unused
- Cleaned things a bit
(patch by Edouard Gomez)

Originally committed as revision 7303 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoOriginal X11 device demuxer patch from Clemens Fruhwirth
Guillaume Poirier [Wed, 13 Dec 2006 08:45:36 +0000 (08:45 +0000)]
Original X11 device demuxer patch from Clemens Fruhwirth

- Build system integration is equivalent to RFC #6 patch
- Same rule applies to ffmpeg.c/allformats.[c|h]
- x11grab.c is from Clemens Fruhwirth except the x11 grab
  structure for libavformat registration is renamed to
    match build system integration.

Originally committed as revision 7302 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agorevert broken commit of x11 device demuxer patch
Guillaume Poirier [Wed, 13 Dec 2006 00:06:33 +0000 (00:06 +0000)]
revert broken commit of x11 device demuxer patch

Originally committed as revision 7301 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFeedback from Karl H. Beckers about mouse cursor
Guillaume Poirier [Tue, 12 Dec 2006 22:32:14 +0000 (22:32 +0000)]
Feedback from Karl H. Beckers about mouse cursor

Reverse direction of the mouse cursor pointer

Originally committed as revision 7300 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRFC 6: Overall cleanups again.
Guillaume Poirier [Tue, 12 Dec 2006 22:32:12 +0000 (22:32 +0000)]
RFC 6: Overall cleanups again.

- License should be fixed now (finally)
- Added doxygen comments
- Cleaned up the X11Grab structure
- Renamed X11Grab structure to x11_grab_s
- Changed some Java stylish named functions to more C'stylish ones
- Changed order of some parameters so they are more libc alike with
  destination as first parameter
- Use AVRational where relevant
- Fixed time calculation
- Cleaned up a few little tiny things around the sources
  + removed a goto
  + removed unused vars
  + etc...

Originally committed as revision 7299 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRFC 5: Mouse cursor painting reduc and more cleanups
Guillaume Poirier [Tue, 12 Dec 2006 22:32:10 +0000 (22:32 +0000)]
RFC 5: Mouse cursor painting reduc and more cleanups

- License is for FFmpeg, not "this program"
- Rewrite mouse cursor painting functions
- Cosmetic on 2 function declarations

Originally committed as revision 7298 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRFC 3&4 stage: FFmpeg style aint't my style
Guillaume Poirier [Tue, 12 Dec 2006 22:32:08 +0000 (22:32 +0000)]
RFC 3&4 stage: FFmpeg style aint't my style

- Tabs are 4 width
- No tabs allowed

Originally committed as revision 7297 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRFC 2 stage: First feedback from review comments
Guillaume Poirier [Tue, 12 Dec 2006 22:32:06 +0000 (22:32 +0000)]
RFC 2 stage: First feedback from review comments

- License is GPL, simplify the license header to make it clear
- Add myself to license header, clarify who did what
- Use 64 bit PTS
- Move mouse bitmaps to the mouse cursor painting function. Make them
  const again
- Properly detach X11 from the shared memory segment on close
- Destroy X11 image on close

Originally committed as revision 7296 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRFC 1 stage: Improve maintainability of the cursoir painting code
Guillaume Poirier [Tue, 12 Dec 2006 22:32:04 +0000 (22:32 +0000)]
RFC 1 stage: Improve maintainability of the cursoir painting code

- Turned the mouse cursor painting code into a macro for more
  maintainability
- Dropped mouse cursor painting in 8bit mode
- Removed log when dropping frames
- Free the shared memory segment on close

Originally committed as revision 7295 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoAdapt the patch to more recent FFmpeg habits
Guillaume Poirier [Tue, 12 Dec 2006 22:32:02 +0000 (22:32 +0000)]
Adapt the patch to more recent FFmpeg habits

- Indentation
- Use av_log instead of fprintf
- Removed strdup of the device name. It was unused
- Cleaned things a bit

Originally committed as revision 7294 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoOriginal X11 device demuxer patch from Clemens Fruhwirth
Guillaume Poirier [Tue, 12 Dec 2006 22:31:46 +0000 (22:31 +0000)]
Original X11 device demuxer patch from Clemens Fruhwirth

- Build system integration is equivalent to RFC #6 patch
- Same rule applies to ffmpeg.c/allformats.[c|h]
- x11grab.c is from Clemens Fruhwirth except the x11 grab
  structure for libavformat registration is renamed to
  match build system integration.

Originally committed as revision 7293 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agotypo
Diego Biurrun [Tue, 12 Dec 2006 20:40:39 +0000 (20:40 +0000)]
typo

Originally committed as revision 7292 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agolibpostproc has its own version number and should not use libavcodec's.
Diego Biurrun [Tue, 12 Dec 2006 20:13:26 +0000 (20:13 +0000)]
libpostproc has its own version number and should not use libavcodec's.

Originally committed as revision 7291 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoindent
Michael Niedermayer [Tue, 12 Dec 2006 14:08:19 +0000 (14:08 +0000)]
indent

Originally committed as revision 7290 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agothe next r_frame_rate try ...
Michael Niedermayer [Tue, 12 Dec 2006 14:07:46 +0000 (14:07 +0000)]
the next r_frame_rate try ...
discard first duration
accumulate remaining durations
add 15000/1001 and 12000/1001

Originally committed as revision 7289 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoDoxygen comments about variables described by Michael here:
Guillaume Poirier [Tue, 12 Dec 2006 13:41:17 +0000 (13:41 +0000)]
Doxygen comments about variables described by Michael here:
Date: Tue, 12 Dec 2006 14:00:54 +0100
Subject: Re: [Ffmpeg-cvslog] r6876 - trunk/libavcodec/motion_est.c

Originally committed as revision 7288 to svn://svn.ffmpeg.org/ffmpeg/trunk