OSDN Git Service

coroid/libav_saccubus.git
14 years ago"Flush" the picture que on seeks, this prevents the display thread from
Michael Niedermayer [Mon, 1 Feb 2010 12:19:28 +0000 (12:19 +0000)]
"Flush" the picture que on seeks, this prevents the display thread from
having frames from before and after the seek which just isnt a good idea.

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

14 years agoAdd a list of generic tags and change demuxers to follow it.
Anton Khirnov [Mon, 1 Feb 2010 11:39:10 +0000 (11:39 +0000)]
Add a list of generic tags and change demuxers to follow it.
Patch by Anton Khirnov, wyskas at gmail dot com

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

14 years agoSchedule refreshes from a thread that actually knows the PTS.
Michael Niedermayer [Mon, 1 Feb 2010 11:30:31 +0000 (11:30 +0000)]
Schedule refreshes from a thread that actually knows the PTS.
Fixes wernfried_1.avi

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

14 years agoFix race condition with reading between video_current_pts and video_current_pts_time.
Michael Niedermayer [Mon, 1 Feb 2010 10:55:51 +0000 (10:55 +0000)]
Fix race condition with reading between video_current_pts and video_current_pts_time.

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

14 years agoTry to more completely update time variables on unpause.
Michael Niedermayer [Mon, 1 Feb 2010 10:32:17 +0000 (10:32 +0000)]
Try to more completely update time variables on unpause.
Could not notice a differenc in behavior.

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

14 years agoRemove unnecessary fields in ALSSpecificConfig.
Thilo Borgmann [Mon, 1 Feb 2010 09:53:37 +0000 (09:53 +0000)]
Remove unnecessary fields in ALSSpecificConfig.

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

14 years agoSimplify get_video_clock()
Michael Niedermayer [Mon, 1 Feb 2010 09:26:30 +0000 (09:26 +0000)]
Simplify  get_video_clock()

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

14 years ago10l, forgot HAS_ARG, -drp segfaulted.
Michael Niedermayer [Mon, 1 Feb 2010 03:12:01 +0000 (03:12 +0000)]
10l, forgot HAS_ARG, -drp segfaulted.

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

14 years agoSet reordered_opaque during context alloc by default to AV_NOPTS_VALUE.
Michael Niedermayer [Mon, 1 Feb 2010 00:18:49 +0000 (00:18 +0000)]
Set reordered_opaque during context alloc by default to AV_NOPTS_VALUE.
This should make sure that pictures allocated prior to avcodec_decode_video()
get AV_NOPTS_VALUE assigned.

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

14 years agodecoder reorder pts auto detection.
Michael Niedermayer [Sun, 31 Jan 2010 18:54:32 +0000 (18:54 +0000)]
decoder reorder pts auto detection.

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

14 years agoFix indention.
Michael Niedermayer [Sun, 31 Jan 2010 18:07:58 +0000 (18:07 +0000)]
Fix indention.

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

14 years agoIncrease search range if no end timestamp could be found for the duration
Michael Niedermayer [Sun, 31 Jan 2010 17:43:18 +0000 (17:43 +0000)]
Increase search range if no end timestamp could be found for the duration
calculation.

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

14 years agoFix grammar: write to DST THING -> write THING to DST.
Stefano Sabatini [Sun, 31 Jan 2010 17:13:57 +0000 (17:13 +0000)]
Fix grammar: write to DST THING -> write THING to DST.

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

14 years agoAvoid usage of avcodec_get_pix_fmt_name() and
Stefano Sabatini [Sun, 31 Jan 2010 16:33:29 +0000 (16:33 +0000)]
Avoid usage of avcodec_get_pix_fmt_name() and
avcodec_get_chroma_sub_sample(), directly access
av_pix_fmt_descriptors instead.

Remove some of the dependancies of lavfi on lavc.

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

14 years agoBink video codec id is there, demuxer can use it
Kostya Shishkov [Sun, 31 Jan 2010 16:21:49 +0000 (16:21 +0000)]
Bink video codec id is there, demuxer can use it

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

14 years agoUpdate binkaudio to new DECLARE_ALIGNED syntax
Daniel Verkamp [Sun, 31 Jan 2010 15:07:25 +0000 (15:07 +0000)]
Update binkaudio to new DECLARE_ALIGNED syntax

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

14 years agolibavcodec version bump for Bink codec IDs (r21536)
Daniel Verkamp [Sun, 31 Jan 2010 13:34:28 +0000 (13:34 +0000)]
libavcodec version bump for Bink codec IDs (r21536)

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

14 years agoLatent libavformat version bump for Bink demuxer (r21569)
Peter Ross [Sun, 31 Jan 2010 13:01:00 +0000 (13:01 +0000)]
Latent libavformat version bump for Bink demuxer (r21569)

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

14 years agoBink Audio decoder
Peter Ross [Sun, 31 Jan 2010 12:51:15 +0000 (12:51 +0000)]
Bink Audio decoder

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

14 years agoBink demuxer
Peter Ross [Sun, 31 Jan 2010 12:35:09 +0000 (12:35 +0000)]
Bink demuxer

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

14 years agoAdd include to fix implicit declaration of ff_mpeg4_init_direct_mv and
Reimar Döffinger [Sun, 31 Jan 2010 12:27:05 +0000 (12:27 +0000)]
Add include to fix implicit declaration of ff_mpeg4_init_direct_mv and
ff_h263_encode_mba

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

14 years agoAdd v210x decoder long name
Peter Ross [Sun, 31 Jan 2010 12:06:33 +0000 (12:06 +0000)]
Add v210x decoder long name

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

14 years agoDeclare support for the pixel formats:
Stefano Sabatini [Sun, 31 Jan 2010 10:16:05 +0000 (10:16 +0000)]
Declare support for the pixel formats:
PIX_FMT_YUVJ420P
PIX_FMT_YUVJ422P
PIX_FMT_YUVJ440P
PIX_FMT_YUVJ444P

in the isSupported{In,Out} macros.

These pixel formats are not true pixel formats but hacks specific to
JPEG in libavcodec. They are deprecated and should be removed (that is
from libavcodec first and libswscale second)...  but they must be
tested by swscale-test.

See thread:
Subject: [FFmpeg-devel] [PATCH] Extend show_pix_fmts() to make it print the input/output support
Date: 2010-01-30 15:54:08 GMT

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

14 years agoGet rid of a check in one direction that cant be true in it in that part
Michael Niedermayer [Sun, 31 Jan 2010 02:05:26 +0000 (02:05 +0000)]
Get rid of a check in one direction that cant be true in it in that part
of the code.
No meassureable speed change.

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

14 years agoBlackfin: use SRAM only when CONFIG_SRAM is set
Måns Rullgård [Sun, 31 Jan 2010 00:20:37 +0000 (00:20 +0000)]
Blackfin: use SRAM only when CONFIG_SRAM is set

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

14 years agoBlackfin: use SRAM only when CONFIG_SRAM is set
Måns Rullgård [Sun, 31 Jan 2010 00:20:30 +0000 (00:20 +0000)]
Blackfin: use SRAM only when CONFIG_SRAM is set

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

14 years agoAdd CONFIG_SRAM to allow use of on-chip SRAM on some systems
Måns Rullgård [Sun, 31 Jan 2010 00:20:27 +0000 (00:20 +0000)]
Add CONFIG_SRAM to allow use of on-chip SRAM on some systems

Some SoCs have a small amount of on-chip SRAM which may be used
for frequently used code or data.  When enabled, this option
will allow FFmpeg to use such facilities where supported.

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

14 years agoFix seeking by bytes with the mouse and do so by default if the duration is
Michael Niedermayer [Sat, 30 Jan 2010 23:19:59 +0000 (23:19 +0000)]
Fix seeking by bytes with the mouse and do so by default if the duration is
nonsense.

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

14 years agoFlag to ignore dts on frames that contain pts.
Michael Niedermayer [Sat, 30 Jan 2010 22:55:12 +0000 (22:55 +0000)]
Flag to ignore dts on frames that contain pts.
This works around common issues with mpeg-ps files with broken timestamps.
Also allows playing the broken sample from issue1024.

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

14 years agoFix AVFormat AVOprions.
Michael Niedermayer [Sat, 30 Jan 2010 22:47:08 +0000 (22:47 +0000)]
Fix AVFormat AVOprions.

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

14 years agoStore strings directly in mov_mdhd_language_map instead of using pointers,
Reimar Döffinger [Sat, 30 Jan 2010 22:05:26 +0000 (22:05 +0000)]
Store strings directly in mov_mdhd_language_map instead of using pointers,
which has a up to 200% overhead.
Also allows to use memcpy instead of strcpy.

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

14 years agoReindent.
Stefano Sabatini [Sat, 30 Jan 2010 21:58:09 +0000 (21:58 +0000)]
Reindent.

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

14 years agoUse a consistent convention for the names of the internal wrapper
Stefano Sabatini [Sat, 30 Jan 2010 21:56:33 +0000 (21:56 +0000)]
Use a consistent convention for the names of the internal wrapper
functions. Improve readability.
 -This line, and those below, will be ignored--

     swscale.c

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

14 years agoFlush the bitreservour.
Michael Niedermayer [Sat, 30 Jan 2010 21:55:18 +0000 (21:55 +0000)]
Flush the bitreservour.
Fixes issue1716

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

14 years agoAlways consider the mov language code as 4 bytes fixed size and change the
Reimar Döffinger [Sat, 30 Jan 2010 21:54:06 +0000 (21:54 +0000)]
Always consider the mov language code as 4 bytes fixed size and change the
function declaration to reflect this.

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

14 years agoSimplify conversion to 5-bit ASCII.
Reimar Döffinger [Sat, 30 Jan 2010 21:50:47 +0000 (21:50 +0000)]
Simplify conversion to 5-bit ASCII.

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

14 years agoSeparate audio-only tests so they are only run once
Måns Rullgård [Sat, 30 Jan 2010 21:47:13 +0000 (21:47 +0000)]
Separate audio-only tests so they are only run once

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

14 years agoRedesign packet queue full check to be more robust.
Michael Niedermayer [Sat, 30 Jan 2010 21:27:17 +0000 (21:27 +0000)]
Redesign packet queue full check to be more robust.

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

14 years agoBump up MAX_VIDEOQ_SIZE to fix stuttering of oddly interleaved avi files.
Michael Niedermayer [Sat, 30 Jan 2010 20:45:21 +0000 (20:45 +0000)]
Bump up MAX_VIDEOQ_SIZE to fix stuttering of oddly interleaved avi files.
Fixes issue1211

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

14 years agoRemove duplicated empty line.
Stefano Sabatini [Sat, 30 Jan 2010 20:18:55 +0000 (20:18 +0000)]
Remove duplicated empty line.

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

14 years agoSplit first reference list comparission from mv comparission.
Michael Niedermayer [Sat, 30 Jan 2010 20:07:37 +0000 (20:07 +0000)]
Split first reference list comparission from mv comparission.
about 0.5% faster MBAFF loop filtering

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

14 years agoMake the jump-table section-relative for x86_64 with PIC enabled.
Reimar Döffinger [Sat, 30 Jan 2010 19:26:47 +0000 (19:26 +0000)]
Make the jump-table section-relative for x86_64 with PIC enabled.
This allows to get rid of the macho64 specific hack that moves them
to rodata (with worse cache behaviour) and avoids textrels which
e.g. Gentoo does not allow for x86_64 libraries.

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

14 years agoUse av_get_pix_fmt() instead of the deprecated avcodec_get_pix_fmt()
Stefano Sabatini [Sat, 30 Jan 2010 19:10:26 +0000 (19:10 +0000)]
Use av_get_pix_fmt() instead of the deprecated avcodec_get_pix_fmt()
function.

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

14 years agoRemove duplicated word in av_strlcat() doxy.
Stefano Sabatini [Sat, 30 Jan 2010 19:03:37 +0000 (19:03 +0000)]
Remove duplicated word in av_strlcat() doxy.

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

14 years agoAdd missing '()' at the end of a function name.
Stefano Sabatini [Sat, 30 Jan 2010 18:54:32 +0000 (18:54 +0000)]
Add missing '()' at the end of a function name.

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

14 years agoAdd mention to the av_get_pix_fmt() addition.
Stefano Sabatini [Sat, 30 Jan 2010 18:53:33 +0000 (18:53 +0000)]
Add mention to the av_get_pix_fmt() addition.

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

14 years agoDisable Altivec for processors older than G4.
Carl Eugen Hoyos [Sat, 30 Jan 2010 18:50:28 +0000 (18:50 +0000)]
Disable Altivec for processors older than G4.

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

14 years agoImplement av_get_pix_fmt(), and deprecate avcodec_get_pix_fmt().
Stefano Sabatini [Sat, 30 Jan 2010 18:50:00 +0000 (18:50 +0000)]
Implement av_get_pix_fmt(), and deprecate avcodec_get_pix_fmt().

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

14 years agoPPC: allow --cpu=E500[v2]
Ancoron Luciferis [Sat, 30 Jan 2010 18:07:07 +0000 (18:07 +0000)]
PPC: allow --cpu=E500[v2]

Patch by Ancoron Luciferis <ancoron chaoslayer de>

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

14 years agoconfigure: match PPC CPU types case insensitively
Måns Rullgård [Sat, 30 Jan 2010 18:07:05 +0000 (18:07 +0000)]
configure: match PPC CPU types case insensitively

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

14 years agoSet target_path to $(CURDIR)
Måns Rullgård [Sat, 30 Jan 2010 15:48:55 +0000 (15:48 +0000)]
Set target_path to $(CURDIR)

CURDIR is updated by make -C, PWD is not.

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

14 years agoReplace h->left_type[0] by the local variable for it we have.
Michael Niedermayer [Sat, 30 Jan 2010 14:33:25 +0000 (14:33 +0000)]
Replace h->left_type[0] by the local variable for it we have.
No meassureable speed effect.

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

14 years agoslightly faster bit trickery.
Michael Niedermayer [Sat, 30 Jan 2010 14:10:06 +0000 (14:10 +0000)]
slightly faster bit trickery.

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

14 years agoReplace ?: by branchless code.
Michael Niedermayer [Sat, 30 Jan 2010 13:40:20 +0000 (13:40 +0000)]
Replace ?: by branchless code.
about 0.5% faster loop filtering

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

14 years agoFix randomness of the swscale-test output.
Stefano Sabatini [Sat, 30 Jan 2010 13:31:00 +0000 (13:31 +0000)]
Fix randomness of the swscale-test output.

See the thread:
Subject: [FFmpeg-devel] [RFC] Make swscale-test perform only one convertion
Date: Fri, 29 Jan 2010 01:52:23 +0100

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

14 years agoSet duration in Smacker demuxer
Daniel Verkamp [Sat, 30 Jan 2010 10:37:52 +0000 (10:37 +0000)]
Set duration in Smacker demuxer

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

14 years agoDemux Bink audio in Smacker files
Daniel Verkamp [Sat, 30 Jan 2010 10:31:10 +0000 (10:31 +0000)]
Demux Bink audio in Smacker files

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

14 years agoAdd Bink codec IDs
Daniel Verkamp [Sat, 30 Jan 2010 09:48:55 +0000 (09:48 +0000)]
Add Bink codec IDs

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

14 years agoanother 10l: forgot to change parent condition as well
Kostya Shishkov [Sat, 30 Jan 2010 09:47:57 +0000 (09:47 +0000)]
another 10l: forgot to change parent condition as well

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

14 years ago10l trocadero: now return value of ff_rtmp_packet_read() has different meaning
Kostya Shishkov [Sat, 30 Jan 2010 09:45:52 +0000 (09:45 +0000)]
10l trocadero: now return value of ff_rtmp_packet_read() has different meaning

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

14 years agoMake RTMP send/receive packet functions report number of bytes read or sent.
Kostya Shishkov [Sat, 30 Jan 2010 09:24:52 +0000 (09:24 +0000)]
Make RTMP send/receive packet functions report number of bytes read or sent.

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

14 years agocosmetics: add an empty line between variable declarations and code
Kostya Shishkov [Sat, 30 Jan 2010 08:38:11 +0000 (08:38 +0000)]
cosmetics: add an empty line between variable declarations and code

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

14 years agoIndeo Video Interactive 4 and 5 common code and DSP functions.
Kostya Shishkov [Sat, 30 Jan 2010 08:10:17 +0000 (08:10 +0000)]
Indeo Video Interactive 4 and 5 common code and DSP functions.
Reviewed and corrected by myself because there were no other volunteers in the
last weeks.

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

14 years agoRevert commits 21227, 21441, and 21442. None of this is necessary now that we
Ramiro Polla [Fri, 29 Jan 2010 19:50:58 +0000 (19:50 +0000)]
Revert commits 21227, 21441, and 21442. None of this is necessary now that we
load the getaddrinfo family of functions through GetProcAddress. Also, there
is currently no feature that gets fixed in Win98 through the use of KernelEx.

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

14 years agoMake VP5 and VP6 decoders output a qscale table to allow for more automatic
Reimar Döffinger [Fri, 29 Jan 2010 19:11:47 +0000 (19:11 +0000)]
Make VP5 and VP6 decoders output a qscale table to allow for more automatic
post-processing, and add a new FF_QSCALE_TYPE_VP56 for this.

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

14 years agoAdd no_repeat_mask option, so that single-pulse vectors can also be
Ronald S. Bultje [Fri, 29 Jan 2010 16:49:06 +0000 (16:49 +0000)]
Add no_repeat_mask option, so that single-pulse vectors can also be
expressed in a AMRFixed structure and handled by ff_set_fixed_vector().

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

14 years agoAdd support for vorbis 6.1 and 7.1 channel configurations as per the new spec
Robert Swain [Fri, 29 Jan 2010 13:51:25 +0000 (13:51 +0000)]
Add support for vorbis 6.1 and 7.1 channel configurations as per the new spec

http://xiph.org/vorbis/doc/Vorbis_I_spec.html#x1-800004.3.9

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

14 years agoRemove MAX_STREAMS usage in ogg and mxf muxers
Baptiste Coudurier [Fri, 29 Jan 2010 06:38:00 +0000 (06:38 +0000)]
Remove MAX_STREAMS usage in ogg and mxf muxers

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

14 years agoSet target_path to $(PWD) by default
Måns Rullgård [Fri, 29 Jan 2010 04:13:29 +0000 (04:13 +0000)]
Set target_path to $(PWD) by default

This simplifies configuring for the most common remote testing
setup.

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

14 years agoAdd AV_COPY32
Måns Rullgård [Fri, 29 Jan 2010 03:26:17 +0000 (03:26 +0000)]
Add AV_COPY32

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

14 years agoDefine av_alias if supported by compiler
Måns Rullgård [Fri, 29 Jan 2010 03:26:14 +0000 (03:26 +0000)]
Define av_alias if supported by compiler

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

14 years agoCheck for may_alias gcc attribute support
Måns Rullgård [Fri, 29 Jan 2010 03:26:12 +0000 (03:26 +0000)]
Check for may_alias gcc attribute support

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

14 years agovp56: check buffer size to fix a potential segfault
Laurent Aimar [Thu, 28 Jan 2010 23:49:46 +0000 (23:49 +0000)]
vp56: check buffer size to fix a potential segfault
patch by Laurent Aimar  fenrir _at_ videolan _dot_ org

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

14 years agoMove ECFLAGS so it doesn't get added multiple times
Måns Rullgård [Thu, 28 Jan 2010 23:30:24 +0000 (23:30 +0000)]
Move ECFLAGS so it doesn't get added multiple times

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

14 years agoSimplify error handling by processing header errors separate from CRC and
Justin Ruggles [Thu, 28 Jan 2010 23:19:33 +0000 (23:19 +0000)]
Simplify error handling by processing header errors separate from CRC and
buffer size vs. frame size errors.

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

14 years agoMove variable declaration to block where it is used and simplify code.
Reimar Döffinger [Thu, 28 Jan 2010 21:01:50 +0000 (21:01 +0000)]
Move variable declaration to block where it is used and simplify code.
Avoids a (incorrect) "possibly used uninitialized" warning, no measurable
speed difference.

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

14 years agoExport H264 profile and level in AVCodecContext.
Rafaël Carré [Thu, 28 Jan 2010 20:57:29 +0000 (20:57 +0000)]
Export H264 profile and level in AVCodecContext.

Patch by Rafaël Carré, rafael D carre A gmail

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

14 years agoExtract duplicated code into a separate function.
Reimar Döffinger [Thu, 28 Jan 2010 20:15:19 +0000 (20:15 +0000)]
Extract duplicated code into a separate function.
5% faster on Intel Atom with gcc 4.4.1 (performance is unchanged
if using av_always_inline).

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

14 years agoAppend ECFLAGS to CFLAGS
Måns Rullgård [Thu, 28 Jan 2010 20:13:46 +0000 (20:13 +0000)]
Append ECFLAGS to CFLAGS

This makes it easy to supply extra flags on the make command line
for testing purposes.

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

14 years agofactorize first filter call out, this makes the code somewhat
Michael Niedermayer [Thu, 28 Jan 2010 19:44:13 +0000 (19:44 +0000)]
factorize first filter call out, this makes the code somewhat
smaller without any speed loss.

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

14 years agoffmpeg.c : Don't set AVFormatParameters::[audio|video]_codec_id
Jai Menon [Thu, 28 Jan 2010 16:17:52 +0000 (16:17 +0000)]
ffmpeg.c : Don't set AVFormatParameters::[audio|video]_codec_id
since it is no longer required.

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

14 years agoAdd RTP/H.263 depacketizer by Martin Storsjö <$firstname () $firstname st>.
Ronald S. Bultje [Thu, 28 Jan 2010 16:08:13 +0000 (16:08 +0000)]
Add RTP/H.263 depacketizer by Martin Storsjö <$firstname () $firstname st>.

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

14 years agoAvoid using deprecated AVFormatParameters::[audio|video]_codec_id field.
Jai Menon [Thu, 28 Jan 2010 15:45:21 +0000 (15:45 +0000)]
Avoid using deprecated AVFormatParameters::[audio|video]_codec_id field.

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

14 years agoSimplify. See "[PATCH] simplify ff_set_fixed_vector()" thread on mailinglist.
Ronald S. Bultje [Thu, 28 Jan 2010 14:29:53 +0000 (14:29 +0000)]
Simplify. See "[PATCH] simplify ff_set_fixed_vector()" thread on mailinglist.

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

14 years agoAdd --malloc-prefix to apply a prefix to malloc, free etc
Måns Rullgård [Thu, 28 Jan 2010 13:06:31 +0000 (13:06 +0000)]
Add --malloc-prefix to apply a prefix to malloc, free etc

This makes it easy to use a replacement allocator instead of the
system default one.

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

14 years agoInitialize thread_context[0] with h264 parser context.
Rafaël Carré [Thu, 28 Jan 2010 13:04:25 +0000 (13:04 +0000)]
Initialize thread_context[0] with h264 parser context.
This allows freeing the parser memory in the thread_context freeing loop.

Patch by Rafaël Carré gmailify(rafael, carre)

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

14 years agoChange wraper functions to always inline, they are faster now that way.
Michael Niedermayer [Thu, 28 Jan 2010 11:37:35 +0000 (11:37 +0000)]
Change wraper functions to always inline, they are faster now that way.
1% faster MBAFF decoding overall, maybe ~0.1% faster for the cathedral sample.

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

14 years agoindent
Michael Niedermayer [Thu, 28 Jan 2010 11:18:06 +0000 (11:18 +0000)]
indent

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

14 years agoRestructure check_mv()
Michael Niedermayer [Thu, 28 Jan 2010 11:12:46 +0000 (11:12 +0000)]
Restructure check_mv()
~20 cpu cycles faster loopfilter

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

14 years agoRestructure if() in check_mv()
Michael Niedermayer [Thu, 28 Jan 2010 10:38:43 +0000 (10:38 +0000)]
Restructure if() in check_mv()
quite a bit faster

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

14 years agoUnroll loops in check_mv()
Michael Niedermayer [Thu, 28 Jan 2010 10:34:06 +0000 (10:34 +0000)]
Unroll loops in check_mv()
~6% faster (slow path) loopfilter (should be ~2% overall)

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

14 years agoFactor mv/ref compare code out.
Michael Niedermayer [Thu, 28 Jan 2010 10:10:02 +0000 (10:10 +0000)]
Factor mv/ref compare code out.
This is a hair slower (0.15% maybe) but i really dont want to have the
identical code duplicated 3 times because gcc adds odd threaded jumps with
register reshuffling and register safe/restore.

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

14 years agoUse av_mallocz in url_open_protocol for URLContext.
Daniel Kristjansson [Thu, 28 Jan 2010 09:11:26 +0000 (09:11 +0000)]
Use av_mallocz in url_open_protocol for URLContext.
Patch by Daniel Kristjansson: danielk cuymedia net

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

14 years agoRemove last MAX_STREAMS from avienc.c
Michael Niedermayer [Thu, 28 Jan 2010 03:37:22 +0000 (03:37 +0000)]
Remove last MAX_STREAMS from avienc.c

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

14 years agoconfigure: consolidate compiler-specific optimisation settings
Måns Rullgård [Thu, 28 Jan 2010 02:50:36 +0000 (02:50 +0000)]
configure: consolidate compiler-specific optimisation settings

In the main per-compiler section, set speed_cflags and size_cflags
with suitable values.  Later one or the other is added to CFLAGS.

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

14 years agoIntroduce AVIStream struct and move stream based variables to it.
Michael Niedermayer [Thu, 28 Jan 2010 02:45:17 +0000 (02:45 +0000)]
Introduce AVIStream struct and move stream based variables to it.
This removes all but one MAX_STREAM from avienc.c.

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

14 years agoSimplify first edge filter condition.
Michael Niedermayer [Thu, 28 Jan 2010 02:41:52 +0000 (02:41 +0000)]
Simplify first edge filter condition.

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

14 years agoCosmetics, mostly indention, 2 or so new fixme comments that i was to lazy
Michael Niedermayer [Thu, 28 Jan 2010 02:20:31 +0000 (02:20 +0000)]
Cosmetics, mostly indention, 2 or so new fixme comments that i was to lazy
to split out

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

14 years agoMake the fast loop filter path work with unavailable left MBs.
Michael Niedermayer [Thu, 28 Jan 2010 02:15:25 +0000 (02:15 +0000)]
Make the fast loop filter path work with unavailable left MBs.
This prevents the issue with having to switch between slow and
fast code paths in each row.
0.5% faster loopfilter for cathedral

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

14 years agoget rid of the start variable.
Michael Niedermayer [Thu, 28 Jan 2010 01:31:06 +0000 (01:31 +0000)]
get rid of the start variable.
a few cycles faster

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