]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
15 years agoMention in the documentation of avfilter_poll_frame() that it returns
stefano [Sun, 28 Dec 2008 17:07:47 +0000 (17:07 +0000)]
Mention in the documentation of avfilter_poll_frame() that it returns
a negative value in case of error.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16372 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix a typo that made VMD demuxer always assume Indeo 3 as video codec.
kostya [Sun, 28 Dec 2008 16:22:42 +0000 (16:22 +0000)]
Fix a typo that made VMD demuxer always assume Indeo 3 as video codec.

Spotted by Robert Swain

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16371 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUse avcodec_check_dimensions() for checking the frame size validity.
stefano [Sun, 28 Dec 2008 14:41:19 +0000 (14:41 +0000)]
Use avcodec_check_dimensions() for checking the frame size validity.
The v4l.c check is moved after the eventual automatic size detection,
so the check in that case is performed on the new set values.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16370 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoReindent after r16368.
rbultje [Sun, 28 Dec 2008 05:59:11 +0000 (05:59 +0000)]
Reindent after r16368.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16369 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd audio_pkt_cnt return value to ff_rm_retrieve_cache(). See discussion in
rbultje [Sun, 28 Dec 2008 05:58:23 +0000 (05:58 +0000)]
Add audio_pkt_cnt return value to ff_rm_retrieve_cache(). See discussion in
"[PATCH] oops I broke rdt.c" mailinglist thread.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16368 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoChange audio_pkt_cnt from an array into a single field, since only a single
rbultje [Sun, 28 Dec 2008 05:55:09 +0000 (05:55 +0000)]
Change audio_pkt_cnt from an array into a single field, since only a single
member of the array is ever used (compare to RMDemuxContext->audio_pkt_cnt).
See "[PATCH] oops I broke rdt.c" mailinglist thread.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16367 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd RMStream object as function argument to public functions so that non-.rm
rbultje [Sun, 28 Dec 2008 00:21:11 +0000 (00:21 +0000)]
Add RMStream object as function argument to public functions so that non-.rm
AVStreams can be used to call these public rmdec.c functions as well, as is
the case for RDT/RTSP streams. See mailinglist discussion in "[PATCH] rdt.c:
don't reuse the same AVStream in both RTSP and RM demuxer" thread.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16366 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoImplement RMStream stream-specific private data object in the RM demuxer.
rbultje [Sun, 28 Dec 2008 00:18:38 +0000 (00:18 +0000)]
Implement RMStream stream-specific private data object in the RM demuxer.
This allows multiple video or audio streams per .rm file. See mailinglist
thread "[PATCH] rmdec.c: implement RMVideo/AudioStream".

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16365 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoReplace UNALIGNED_STORES_ARE_BAD with !HAVE_FAST_UNALIGNED
mru [Sat, 27 Dec 2008 23:12:00 +0000 (23:12 +0000)]
Replace UNALIGNED_STORES_ARE_BAD with !HAVE_FAST_UNALIGNED

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16364 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoLatest Coktel Vision VMDs contained Indeo 3, add demuxer support for it
kostya [Sat, 27 Dec 2008 17:34:00 +0000 (17:34 +0000)]
Latest Coktel Vision VMDs contained Indeo 3, add demuxer support for it

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16363 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agosimple_idct: use MUL16 and MAC16 from mathops.h
mru [Sat, 27 Dec 2008 16:25:36 +0000 (16:25 +0000)]
simple_idct: use MUL16 and MAC16 from mathops.h

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16362 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake the VIDIOCMCAPTURE ioctl error message consistent with the other ones.
stefano [Sat, 27 Dec 2008 11:44:56 +0000 (11:44 +0000)]
Make the VIDIOCMCAPTURE ioctl error message consistent with the other ones.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16361 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd missing check on the return value of the VIDIOCSWIN ioctl.
stefano [Sat, 27 Dec 2008 11:40:07 +0000 (11:40 +0000)]
Add missing check on the return value of the VIDIOCSWIN ioctl.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16360 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoconsistency cosmetics: Rename POWERPC identifiers to PPC.
diego [Sat, 27 Dec 2008 11:33:26 +0000 (11:33 +0000)]
consistency cosmetics: Rename POWERPC identifiers to PPC.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16359 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove stray code
lu_zero [Sat, 27 Dec 2008 11:30:30 +0000 (11:30 +0000)]
Remove stray code

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16358 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCleanup _t types in libavcodec/ppc
lu_zero [Sat, 27 Dec 2008 11:21:28 +0000 (11:21 +0000)]
Cleanup _t types in libavcodec/ppc

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16357 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoChange thisIsAVar variable names to this_is_a_var style, more
stefano [Sat, 27 Dec 2008 09:31:05 +0000 (09:31 +0000)]
Change thisIsAVar variable names to this_is_a_var style, more
consistent with the rest of libav*.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16356 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoBump minor number for many small improvements, tiff fax decoding,
reimar [Sat, 27 Dec 2008 09:22:21 +0000 (09:22 +0000)]
Bump minor number for many small improvements, tiff fax decoding,
AVCodecContext refs is set during decoding.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16355 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix and extend documentation for avfilter_graph_get_filter().
stefano [Fri, 26 Dec 2008 22:25:47 +0000 (22:25 +0000)]
Fix and extend documentation for avfilter_graph_get_filter().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16354 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix typo: ommitted -> omitted.
stefano [Fri, 26 Dec 2008 20:26:44 +0000 (20:26 +0000)]
Fix typo: ommitted -> omitted.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16353 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoARM: NEON optimised float_to_int16
mru [Fri, 26 Dec 2008 19:52:52 +0000 (19:52 +0000)]
ARM: NEON optimised float_to_int16

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16352 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoPut pass_logfilename_prefix check on a single line, improve readability.
stefano [Fri, 26 Dec 2008 19:28:42 +0000 (19:28 +0000)]
Put pass_logfilename_prefix check on a single line, improve readability.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16351 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRename variables:
stefano [Fri, 26 Dec 2008 19:25:24 +0000 (19:25 +0000)]
Rename variables:
pass_logfilename -> pass_logfilename_prefix
DEFAULT_PASS_LOGFILENAME -> DEFAULT_PASS_LOGFILENAME_PREFIX

and make clear in the passlogfile OptionDef help string that it takes
a file name prefix rather than a file name.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16350 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoEnable faxcompr.
michael [Fri, 26 Dec 2008 18:42:26 +0000 (18:42 +0000)]
Enable faxcompr.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16349 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoindent
michael [Fri, 26 Dec 2008 18:39:24 +0000 (18:39 +0000)]
indent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16348 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSimplify vertical mode
michael [Fri, 26 Dec 2008 18:39:07 +0000 (18:39 +0000)]
Simplify vertical mode

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16347 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAnd another sechole ...
michael [Fri, 26 Dec 2008 18:14:59 +0000 (18:14 +0000)]
And another sechole ...

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16346 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix yet another sechole.
michael [Fri, 26 Dec 2008 18:06:29 +0000 (18:06 +0000)]
Fix yet another sechole.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16345 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix another sechole.
michael [Fri, 26 Dec 2008 17:51:10 +0000 (17:51 +0000)]
Fix another sechole.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16344 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMinor simplification.
michael [Fri, 26 Dec 2008 17:32:11 +0000 (17:32 +0000)]
Minor simplification.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16343 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove unused run_start variable.
michael [Fri, 26 Dec 2008 17:11:19 +0000 (17:11 +0000)]
Remove unused run_start variable.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16342 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMove sync line pointers code to the end of the loop, its simpler that way.
michael [Fri, 26 Dec 2008 17:04:31 +0000 (17:04 +0000)]
Move sync line pointers code to the end of the loop, its simpler that way.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16341 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoGet rid of impossible condition (run_off < avctx->width).
michael [Fri, 26 Dec 2008 16:59:10 +0000 (16:59 +0000)]
Get rid of impossible condition (run_off < avctx->width).

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16340 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoGet rid of pix_left in the 2d code, its simpler that way.
michael [Fri, 26 Dec 2008 16:57:35 +0000 (16:57 +0000)]
Get rid of pix_left in the 2d code, its simpler that way.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16339 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCOSMETICS Part 3 and final of Kenan Gillet's QCELP silent handling patch.
reynaldo [Fri, 26 Dec 2008 16:50:21 +0000 (16:50 +0000)]
COSMETICS Part 3 and final of Kenan Gillet's QCELP silent handling patch.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16338 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoPart 2 of Kenan Gillet's QCELP silent handling patch.
reynaldo [Fri, 26 Dec 2008 16:49:06 +0000 (16:49 +0000)]
Part 2 of Kenan Gillet's QCELP silent handling patch.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16337 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFactorize "avctx->width + 2" out to avoid someone mistakly changing
michael [Fri, 26 Dec 2008 16:38:55 +0000 (16:38 +0000)]
Factorize "avctx->width + 2" out to avoid someone mistakly changing
some but not all.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16336 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetic (moving pix_left update)
michael [Fri, 26 Dec 2008 16:30:50 +0000 (16:30 +0000)]
cosmetic (moving pix_left update)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16335 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoClose gapping sechole, that is a series of run=0 allows arbitrary data to
michael [Fri, 26 Dec 2008 16:29:01 +0000 (16:29 +0000)]
Close gapping sechole, that is a series of run=0 allows arbitrary data to
be written over the end of the runs array.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16334 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agominor simplification
michael [Fri, 26 Dec 2008 15:21:48 +0000 (15:21 +0000)]
minor simplification

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16333 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMerge ff_ccitt_unpack_1d and 2d.
michael [Fri, 26 Dec 2008 15:05:12 +0000 (15:05 +0000)]
Merge ff_ccitt_unpack_1d and 2d.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16332 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoEnsure that an invalid run terminates the line.
michael [Fri, 26 Dec 2008 14:57:42 +0000 (14:57 +0000)]
Ensure that an invalid run terminates the line.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16331 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years ago10l != vs. == (yes, my fault not kostyas).
michael [Fri, 26 Dec 2008 14:39:21 +0000 (14:39 +0000)]
10l != vs. == (yes, my fault not kostyas).

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16330 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoindent
michael [Fri, 26 Dec 2008 13:52:07 +0000 (13:52 +0000)]
indent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16329 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSimplify zero run handling in put_line().
michael [Fri, 26 Dec 2008 13:51:52 +0000 (13:51 +0000)]
Simplify zero run handling in put_line().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16328 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAvoid negation in put_line().
michael [Fri, 26 Dec 2008 13:50:00 +0000 (13:50 +0000)]
Avoid negation in put_line().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16327 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFactorize mode switching in put_line().
michael [Fri, 26 Dec 2008 13:48:09 +0000 (13:48 +0000)]
Factorize mode switching in put_line().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16326 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix (rewrite) find_group3_syncmarker().
michael [Fri, 26 Dec 2008 13:46:11 +0000 (13:46 +0000)]
Fix (rewrite) find_group3_syncmarker().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16325 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix documentation for -passlogfile, the argument is not a file name
stefano [Fri, 26 Dec 2008 13:40:02 +0000 (13:40 +0000)]
Fix documentation for -passlogfile, the argument is not a file name
but a prefix used to create the complete pass log file name.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16324 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCCITT Fax Group 3 and 4 decompression by kostya.
michael [Fri, 26 Dec 2008 13:39:19 +0000 (13:39 +0000)]
CCITT Fax Group 3 and 4 decompression by kostya.
Will be activated after a little more reviewing and fixing by me.
Commited now, so as to not loose history of that.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16323 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUse more descriptive long_names for Video4Linux input devices.
stefano [Fri, 26 Dec 2008 11:23:50 +0000 (11:23 +0000)]
Use more descriptive long_names for Video4Linux input devices.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16322 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoASAO Nelly Moser implementation moved to a better place on mphq.
diego [Fri, 26 Dec 2008 11:00:30 +0000 (11:00 +0000)]
ASAO Nelly Moser implementation moved to a better place on mphq.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16321 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoChoose better names for the variables in create_filter().
stefano [Fri, 26 Dec 2008 10:54:16 +0000 (10:54 +0000)]
Choose better names for the variables in create_filter().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16320 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix documentation for avfilter_parse_graph().
stefano [Fri, 26 Dec 2008 10:48:54 +0000 (10:48 +0000)]
Fix documentation for avfilter_parse_graph().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16319 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCheck that the device is a capture device immediately after opening
stefano [Fri, 26 Dec 2008 10:12:57 +0000 (10:12 +0000)]
Check that the device is a capture device immediately after opening
the device.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16318 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove unnecessary temporary variable "frame_size" from
stefano [Fri, 26 Dec 2008 09:31:21 +0000 (09:31 +0000)]
Remove unnecessary temporary variable "frame_size" from
grab_read_header().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16317 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd missing check on the result of a VIDIOCCAPTURE ioctl.
stefano [Fri, 26 Dec 2008 09:12:12 +0000 (09:12 +0000)]
Add missing check on the result of a VIDIOCCAPTURE ioctl.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16316 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCosmetics: put a space after each comma, improve consistency and
stefano [Fri, 26 Dec 2008 09:07:51 +0000 (09:07 +0000)]
Cosmetics: put a space after each comma, improve consistency and
readability.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16315 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agos/FFmpeg-devel/ffmpeg-devel/
benoit [Fri, 26 Dec 2008 08:03:26 +0000 (08:03 +0000)]
s/FFmpeg-devel/ffmpeg-devel/

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16314 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix compilation without optimization under 64-bit with x264 deblock asm enabled.
darkshikari [Fri, 26 Dec 2008 00:19:08 +0000 (00:19 +0000)]
Fix compilation without optimization under 64-bit with x264 deblock asm enabled.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16313 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoARM: add new h264 idct functions
mru [Thu, 25 Dec 2008 23:13:43 +0000 (23:13 +0000)]
ARM: add new h264 idct functions

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16312 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDisable usage of ff_h264_idct_add_altivec since AltiVec versions of h264_idct_add16,
gpoirier [Thu, 25 Dec 2008 18:27:49 +0000 (18:27 +0000)]
Disable usage of ff_h264_idct_add_altivec since AltiVec versions of h264_idct_add16,
h264_idct_add16intra, h264_idct_add8 need to be implemented.

Add C version of ff_h264_idct8_dc_add in AltiVec so that ff_h264_idct8_add_altivec
can be used.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16311 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoChange mplayerhq.hu references to ffmpeg.org where appropriate.
diego [Thu, 25 Dec 2008 15:49:50 +0000 (15:49 +0000)]
Change mplayerhq.hu references to ffmpeg.org where appropriate.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16310 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix sample URL.
diego [Thu, 25 Dec 2008 15:49:02 +0000 (15:49 +0000)]
Fix sample URL.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16309 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoThe VC-1/WMV3 decoders depend on ENABLE_MSMPEG4_DECODER.
diego [Thu, 25 Dec 2008 13:26:18 +0000 (13:26 +0000)]
The VC-1/WMV3 decoders depend on ENABLE_MSMPEG4_DECODER.
patch by avcoder, ffmpeg gmail com

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16308 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoflatten an array, since gcc fails at optimizing multidimensional arrays
lorenm [Thu, 25 Dec 2008 01:20:37 +0000 (01:20 +0000)]
flatten an array, since gcc fails at optimizing multidimensional arrays
h264_idct8_add_c: 780 -> 735 cycles on conroe

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16307 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoexport refs
michael [Wed, 24 Dec 2008 18:39:23 +0000 (18:39 +0000)]
export refs

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16306 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAllow decoders to set AVCodecContext.refs.
michael [Wed, 24 Dec 2008 17:38:27 +0000 (17:38 +0000)]
Allow decoders to set AVCodecContext.refs.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16305 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoOptimize pred_pskip_motion()
michael [Wed, 24 Dec 2008 03:23:38 +0000 (03:23 +0000)]
Optimize pred_pskip_motion()
7 cpu cycles faster on pentium dual.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16304 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoadd amr in avi riff tags
compn [Wed, 24 Dec 2008 02:20:07 +0000 (02:20 +0000)]
add amr in avi riff tags

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16303 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoIndent
michael [Tue, 23 Dec 2008 22:06:16 +0000 (22:06 +0000)]
Indent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16302 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoIntegrate get_te0_golomb() calls into the code, this allows some checks
michael [Tue, 23 Dec 2008 22:04:34 +0000 (22:04 +0000)]
Integrate get_te0_golomb() calls into the code, this allows some checks
to be avoided and the function is pretty small.
3% speedup, though this is probably due to changed inlining and not directly
this change.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16301 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUse get_ue_golomb_31() where possible, almost all are just in headers
michael [Tue, 23 Dec 2008 21:12:19 +0000 (21:12 +0000)]
Use get_ue_golomb_31() where possible, almost all are just in headers
though.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16300 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUpdate golomb decoding tables so that get_*_golomb_31() return some
michael [Tue, 23 Dec 2008 21:07:36 +0000 (21:07 +0000)]
Update golomb decoding tables so that get_*_golomb_31() return some
larger values for too large values.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16299 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd get_ue_golomb_31()
michael [Tue, 23 Dec 2008 21:05:47 +0000 (21:05 +0000)]
Add get_ue_golomb_31()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16298 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUpdate again Cygwin Ports URL after my sloppy previous commit.
victor [Tue, 23 Dec 2008 20:44:06 +0000 (20:44 +0000)]
Update again Cygwin Ports URL after my sloppy previous commit.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16297 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoindent
michael [Tue, 23 Dec 2008 19:12:50 +0000 (19:12 +0000)]
indent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16296 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUse the new VLC table for the first non trailing coeff too.
michael [Tue, 23 Dec 2008 19:10:46 +0000 (19:10 +0000)]
Use the new VLC table for the first non trailing coeff too.
Sadly only 5 cycles faster here on pentium dual. So maybe the
complexity isnt worth it and this should be reverted ...

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16295 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoOptimize esc removial code.
michael [Tue, 23 Dec 2008 18:31:44 +0000 (18:31 +0000)]
Optimize esc removial code.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16294 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years ago352l: correct calculating number of bits for storing macroblock offset in RV3/4
kostya [Tue, 23 Dec 2008 18:27:06 +0000 (18:27 +0000)]
352l: correct calculating number of bits for storing macroblock offset in RV3/4

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16293 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoIndent
michael [Tue, 23 Dec 2008 17:50:36 +0000 (17:50 +0000)]
Indent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16292 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agounified CAVLC level decoding LUT.
michael [Tue, 23 Dec 2008 17:49:38 +0000 (17:49 +0000)]
unified CAVLC level decoding LUT.
Quite a bit faster (HPCVMOLQ_BRCM_B.264 was 3% faster here)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16291 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoComplete the list of external libraries.
victor [Tue, 23 Dec 2008 10:29:32 +0000 (10:29 +0000)]
Complete the list of external libraries.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16290 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdvice on compiler versions
victor [Tue, 23 Dec 2008 09:09:21 +0000 (09:09 +0000)]
Advice on compiler versions

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16289 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUpdate Cygwin Ports URL.
victor [Tue, 23 Dec 2008 08:57:28 +0000 (08:57 +0000)]
Update Cygwin Ports URL.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16288 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoBring up to date the Cygwin docs.
victor [Tue, 23 Dec 2008 08:53:37 +0000 (08:53 +0000)]
Bring up to date the Cygwin docs.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16287 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake h264 parser 50% faster.
michael [Tue, 23 Dec 2008 02:34:58 +0000 (02:34 +0000)]
Make h264 parser 50% faster.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16286 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years ago100l, I broke H.264 again, forgot one hunk.
michael [Tue, 23 Dec 2008 01:11:56 +0000 (01:11 +0000)]
100l, I broke H.264 again, forgot one hunk.
Thanks to FATE for finding it.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16285 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoOptimize 0 0 0-3 search, 45% faster on pentium dual.
michael [Tue, 23 Dec 2008 00:38:45 +0000 (00:38 +0000)]
Optimize 0 0 0-3 search, 45% faster on pentium dual.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16284 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoThe diffutils package is also needed (for the 'cmp' command).
victor [Mon, 22 Dec 2008 23:30:33 +0000 (23:30 +0000)]
The diffutils package is also needed (for the 'cmp' command).
Spotted by Ramiro Polla.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16283 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRevert r16257:
andoma [Mon, 22 Dec 2008 22:39:55 +0000 (22:39 +0000)]
Revert r16257:

Include "libavutil/common.h" where we use llrint() in case ffmpeg's
own llrint() is to be used.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16282 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix two identical warnings when compiling riff.c and nuv.c with icc:
cehoyos [Mon, 22 Dec 2008 22:12:44 +0000 (22:12 +0000)]
Fix two identical warnings when compiling riff.c and nuv.c with icc:
warning #188: enumerated type mixed with another type

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16281 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix a warning when compiling with icc:
cehoyos [Mon, 22 Dec 2008 22:10:07 +0000 (22:10 +0000)]
Fix a warning when compiling with icc:
warning #188: enumerated type mixed with another type

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16280 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSimplify decode_cabac_mb_ref() a little bit, 2 cpu cycles faster on
michael [Mon, 22 Dec 2008 17:14:13 +0000 (17:14 +0000)]
Simplify decode_cabac_mb_ref() a little bit, 2 cpu cycles faster on
pentium dual.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16279 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoIndent
michael [Mon, 22 Dec 2008 16:56:05 +0000 (16:56 +0000)]
Indent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16278 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoinline decode_cabac_mb_type for I & P frames, 9 cycles faster on pentium dual.
michael [Mon, 22 Dec 2008 16:46:17 +0000 (16:46 +0000)]
inline decode_cabac_mb_type for I & P frames, 9 cycles faster on pentium dual.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16277 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoNegate 2 more variables, 1 cpu cycle faster on pentium dual.
michael [Mon, 22 Dec 2008 16:20:13 +0000 (16:20 +0000)]
Negate 2 more variables, 1 cpu cycle faster on pentium dual.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16276 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSimplify if/else, no speed change
michael [Mon, 22 Dec 2008 16:14:06 +0000 (16:14 +0000)]
Simplify if/else, no speed change

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16275 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoNegate a few variables, this simplifies the code and makes it 5 cycles faster
michael [Mon, 22 Dec 2008 16:10:35 +0000 (16:10 +0000)]
Negate a few variables, this simplifies the code and makes it 5 cycles faster
on pentium dual.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16274 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSimplify ifs(), 8 cpu cycles faster on pentium dual
michael [Mon, 22 Dec 2008 15:54:27 +0000 (15:54 +0000)]
Simplify ifs(), 8 cpu cycles faster on pentium dual

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16273 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b