platform/upstream/libav.git
14 years agoIndentation cleanup
Peter Ross [Wed, 3 Feb 2010 09:58:14 +0000 (09:58 +0000)]
Indentation cleanup

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

14 years agoExtend IFF demuxer to parse PBM/ILBM bitmap chunks
Peter Ross [Wed, 3 Feb 2010 09:57:21 +0000 (09:57 +0000)]
Extend IFF demuxer to parse PBM/ILBM bitmap chunks

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

14 years agoIFF PBM/ILBM bitmap decoder
Peter Ross [Wed, 3 Feb 2010 09:56:16 +0000 (09:56 +0000)]
IFF PBM/ILBM bitmap decoder

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

14 years agoRevert
Michael Niedermayer [Wed, 3 Feb 2010 04:40:42 +0000 (04:40 +0000)]
Revert
r12684 | michael | 2008-04-04 02:43:34 +0200 (Fri, 04 Apr 2008) | 2 lines
Disable the split function. This should end the mpeg1/2 global header issues.
The split function is essential for -ss to work
Fixes issue1226
If this breaks something please tell me, also if someoen remembers what problem
this originally caused tell me too, i searched but couldnt find it.

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

14 years agoOnly set duration for streams where it is likely correct.
Michael Niedermayer [Wed, 3 Feb 2010 00:35:10 +0000 (00:35 +0000)]
Only set duration for streams where it is likely correct.
Fixes issue1120

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

14 years agoSet nb_frames.
Michael Niedermayer [Tue, 2 Feb 2010 23:53:38 +0000 (23:53 +0000)]
Set nb_frames.
Also add DXSA tag (commited by mistake in this commit, i can revert and recommit
seperately if someone wants)

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

14 years agoCompare the correct clocks for syncing video to audio/ext.
Michael Niedermayer [Tue, 2 Feb 2010 23:22:35 +0000 (23:22 +0000)]
Compare the correct clocks for syncing video to audio/ext.
Fixes initial delay on video from issue1134.

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

14 years agoFix r21223: AVup samples (issue 1685) need a buf offset like AV1x (issue 1684).
Carl Eugen Hoyos [Tue, 2 Feb 2010 22:57:56 +0000 (22:57 +0000)]
Fix r21223: AVup samples (issue 1685) need a buf offset like AV1x (issue 1684).

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

14 years agoMove the initial refresh scheduling for audio display away from where it
Michael Niedermayer [Tue, 2 Feb 2010 22:43:09 +0000 (22:43 +0000)]
Move the initial refresh scheduling for audio display away from where it
can interfere with video.

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

14 years agoGuess the duration before converting video and write guessed duration
Justin Johnson [Tue, 2 Feb 2010 22:23:09 +0000 (22:23 +0000)]
Guess the duration before converting video and write guessed duration
into flv header.

Patch by Justin Johnson, justin D johnson3 A gmail

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

14 years agoCommit disapeared hunk, must have editied this out by mistake between local debug...
Michael Niedermayer [Tue, 2 Feb 2010 21:31:20 +0000 (21:31 +0000)]
Commit disapeared hunk, must have editied this out by mistake between local debug statements.
This should fix seeking in TS.

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

14 years agoFix warnings about redefining constants when compiling libpostproc.
Yuriy Kaminskiy [Tue, 2 Feb 2010 19:35:52 +0000 (19:35 +0000)]
Fix warnings about redefining constants when compiling libpostproc.

Patch by Yuriy Kaminskiy, yumkam mail ru

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

14 years agoAutodetect when byte based seeking is better (that is for all formats that allow
Michael Niedermayer [Tue, 2 Feb 2010 18:02:16 +0000 (18:02 +0000)]
Autodetect when byte based seeking is better (that is for all formats that allow
discontinuities)
Fixes issue1090

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

14 years agoUse currently displayed file position instead of just url_ftell() for seeking by...
Michael Niedermayer [Tue, 2 Feb 2010 16:51:02 +0000 (16:51 +0000)]
Use currently displayed file position instead of just url_ftell() for seeking by bytes.
This fixes seeking back with the cursor keys and -bytes.

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

14 years agoSet AVPacket.pos in MPEG-PS demuxer.
Michael Niedermayer [Tue, 2 Feb 2010 16:47:51 +0000 (16:47 +0000)]
Set AVPacket.pos in MPEG-PS demuxer.

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

14 years agoFix seek flags
Michael Niedermayer [Tue, 2 Feb 2010 16:01:22 +0000 (16:01 +0000)]
Fix seek flags

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

14 years agoFix build
Måns Rullgård [Mon, 1 Feb 2010 23:30:30 +0000 (23:30 +0000)]
Fix build

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

14 years agoFix warnings about implicit function declaration when compiling rtpdec.c
Alexis Ballier [Mon, 1 Feb 2010 23:10:04 +0000 (23:10 +0000)]
Fix warnings about implicit function declaration when compiling rtpdec.c

Patch by Alexis Ballier, alexis D ballier A gmail

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

14 years agoUse parentheses around && within ||, fix the gcc warning:
Stefano Sabatini [Mon, 1 Feb 2010 22:23:17 +0000 (22:23 +0000)]
Use parentheses around && within ||, fix the gcc warning:
ffplay.c: In function ‘video_thread’:
ffplay.c:1391: warning: suggest parentheses around && within ||

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

14 years agoReindent.
Stefano Sabatini [Mon, 1 Feb 2010 22:17:15 +0000 (22:17 +0000)]
Reindent.

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

14 years agoCheck pkt.pts against the recording time.
Michael Niedermayer [Mon, 1 Feb 2010 22:08:45 +0000 (22:08 +0000)]
Check pkt.pts against the recording time.
This fixes at least ogg encoding with -t where the file was slightly too long.

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

14 years agoUse pixel format descriptors to check if the input format is paletted.
Stefano Sabatini [Mon, 1 Feb 2010 19:50:17 +0000 (19:50 +0000)]
Use pixel format descriptors to check if the input format is paletted.

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

14 years agomention symbol versioning
Reinhard Tartler [Mon, 1 Feb 2010 15:51:05 +0000 (15:51 +0000)]
mention symbol versioning

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

14 years agoMake sure the faulty timestamp detection is just done when we have a picture
Michael Niedermayer [Mon, 1 Feb 2010 13:03:46 +0000 (13:03 +0000)]
Make sure the faulty timestamp detection is just done when we have a picture
from the decoder.

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

14 years agoReset frame_last_delay to 0.
Michael Niedermayer [Mon, 1 Feb 2010 12:31:28 +0000 (12:31 +0000)]
Reset frame_last_delay to 0.
This avoids a few ms delay for the first frame after a seek in theory.

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

14 years agoMove frame_last_delay into flush code as it must be reset on seeks to,
Michael Niedermayer [Mon, 1 Feb 2010 12:30:14 +0000 (12:30 +0000)]
Move frame_last_delay into flush code as it must be reset on seeks to,
otherwise the first frame after a seek would be delayed by that amount.

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

14 years agoReset frame_last_pts on flush (and thus also at start)
Michael Niedermayer [Mon, 1 Feb 2010 12:27:26 +0000 (12:27 +0000)]
Reset frame_last_pts on flush (and thus also at start)
fixes issue558 and probably others.

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

14 years agoInsert a flush packet into the que on init, that way common code between
Michael Niedermayer [Mon, 1 Feb 2010 12:22:12 +0000 (12:22 +0000)]
Insert a flush packet into the que on init, that way common code between
flush and init can be put into the flush handling.

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

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