ffmpeg:emmellsts-ffmpeg-mt.git
9 years agoCopy the entire reference list arrays in case they're used. soc
Alexander Strange [Tue, 19 Aug 2008 08:09:25 +0000 (04:09 -0400)]
Copy the entire reference list arrays in case they're used.

And that's it for SoC period commits.

9 years agoFix accidentally calling execute_ref_pic_marking() while draining delayed_pics at...
Alexander Strange [Tue, 19 Aug 2008 08:08:42 +0000 (04:08 -0400)]
Fix accidentally calling execute_ref_pic_marking() while draining delayed_pics at the end.

9 years agoFix losing frames at the end of an encode
Alexander Strange [Tue, 19 Aug 2008 06:35:52 +0000 (02:35 -0400)]
Fix losing frames at the end of an encode

9 years agoReduce code duplication in MPV_lowest_referenced_row
Alexander Strange [Tue, 19 Aug 2008 05:27:54 +0000 (01:27 -0400)]
Reduce code duplication in MPV_lowest_referenced_row

9 years agoSimplify mimic_decode_end changes
Alexander Strange [Tue, 19 Aug 2008 05:20:32 +0000 (01:20 -0400)]
Simplify mimic_decode_end changes

9 years agoCosmetic changes to mimic
Alexander Strange [Tue, 19 Aug 2008 05:14:48 +0000 (01:14 -0400)]
Cosmetic changes to mimic

9 years agoRemove whitespace change from mainline
Alexander Strange [Tue, 19 Aug 2008 05:14:36 +0000 (01:14 -0400)]
Remove whitespace change from mainline

9 years agoClarify comment for new AVFrame members
Alexander Strange [Tue, 19 Aug 2008 05:07:17 +0000 (01:07 -0400)]
Clarify comment for new AVFrame members

They are set by libavcodec even if they aren't used for anything useful ATM.

9 years agoTrack allocated buffer size properly. Don't allocate buffer padding since the user...
Alexander Strange [Tue, 19 Aug 2008 04:53:15 +0000 (00:53 -0400)]
Track allocated buffer size properly. Don't allocate buffer padding since the user already did it.

9 years agoCosmetics: rename input and output context members
Alexander Strange [Tue, 19 Aug 2008 04:42:56 +0000 (00:42 -0400)]
Cosmetics: rename input and output context members

9 years agoCosmetic rearranging of MPEG update_context functions
Alexander Strange [Tue, 19 Aug 2008 02:59:19 +0000 (22:59 -0400)]
Cosmetic rearranging of MPEG update_context functions

9 years agoMove copying idct_algo to the right place
Alexander Strange [Tue, 19 Aug 2008 02:03:25 +0000 (22:03 -0400)]
Move copying idct_algo to the right place

9 years agoClarify use of is_copy
Alexander Strange [Tue, 19 Aug 2008 00:36:54 +0000 (20:36 -0400)]
Clarify use of is_copy

9 years agoCosmetics: get rid of unhelpful comments, useless braces, and some whitespace/align...
Alexander Strange [Tue, 19 Aug 2008 00:02:12 +0000 (20:02 -0400)]
Cosmetics: get rid of unhelpful comments, useless braces, and some whitespace/align issues

9 years agoFactor out freeing delayed released buffers.
Alexander Strange [Mon, 18 Aug 2008 23:58:18 +0000 (19:58 -0400)]
Factor out freeing delayed released buffers.

9 years agoSimplify: better use of variable names instead of weird struct accesses
Alexander Strange [Mon, 18 Aug 2008 23:10:01 +0000 (19:10 -0400)]
Simplify: better use of variable names instead of weird struct accesses

9 years agoSimplify: store FrameThreadContext in the user's context.
Alexander Strange [Mon, 18 Aug 2008 22:59:29 +0000 (18:59 -0400)]
Simplify: store FrameThreadContext in the user's context.

9 years agoProperly handle error returns from codec functions.
Alexander Strange [Mon, 18 Aug 2008 22:43:02 +0000 (18:43 -0400)]
Properly handle error returns from codec functions.

9 years agoReorder ff_frame_thread_free to fix memory errors.
Alexander Strange [Mon, 18 Aug 2008 21:06:32 +0000 (17:06 -0400)]
Reorder ff_frame_thread_free to fix memory errors.

This fixes using mutexes after they're destroyed and not calling release_buffer on every buffer.
Unfortunately the change to MPV_common_end is exactly the opposite of what's needed for supporting width/height changes.

9 years agoAllow avcodec_default_release_buffer to be called after avcodec_default_free_buffers.
Alexander Strange [Mon, 18 Aug 2008 20:47:21 +0000 (16:47 -0400)]
Allow avcodec_default_release_buffer to be called after avcodec_default_free_buffers.

9 years agoFix another memory leak.
Alexander Strange [Sun, 17 Aug 2008 20:50:51 +0000 (16:50 -0400)]
Fix another memory leak.

9 years agoCopy aspect ratio info between contexts.
Alexander Strange [Sun, 17 Aug 2008 18:07:06 +0000 (14:07 -0400)]
Copy aspect ratio info between contexts.

10 years agoUpdate todo
Alexander Strange [Sun, 17 Aug 2008 04:19:10 +0000 (00:19 -0400)]
Update todo

10 years agoFix memory leak in mpegvideo
Alexander Strange [Sat, 16 Aug 2008 22:09:11 +0000 (18:09 -0400)]
Fix memory leak in mpegvideo

10 years agoDon't reuse the user's AVCodecContext for the first decoding thread, and copy more...
Alexander Strange [Sat, 16 Aug 2008 21:32:24 +0000 (17:32 -0400)]
Don't reuse the user's AVCodecContext for the first decoding thread, and copy more values between them as needed.

This fixes a large class of race conditions (coded_frame works again) and should improve frame dropping.

10 years agoCall codec init and free on the first thread context instead of the main context.
Alexander Strange [Sat, 16 Aug 2008 20:42:33 +0000 (16:42 -0400)]
Call codec init and free on the first thread context instead of the main context.

This is needed so we can stop using the main context for decoding threads.

10 years agoH264: Set the decode progress for fake reference frames to the maximum.
Alexander Strange [Sat, 16 Aug 2008 19:05:49 +0000 (15:05 -0400)]
H264: Set the decode progress for fake reference frames to the maximum.

Fixes deadlock in premiere-paff.ts at the expense of some indeterminism on the first frame.

10 years agoDisable frame threading if low_delay or randomly truncated frames are used.
Alexander Strange [Sat, 16 Aug 2008 09:09:03 +0000 (05:09 -0400)]
Disable frame threading if low_delay or randomly truncated frames are used.

10 years agoClarify comment for AVCodecContext frame_number
Alexander Strange [Sat, 16 Aug 2008 18:18:13 +0000 (14:18 -0400)]
Clarify comment for AVCodecContext frame_number

Number of frames returned vs. decoded isn't the same anymore

10 years agoCorrect AVCodec member comments
Alexander Strange [Sat, 16 Aug 2008 18:11:41 +0000 (14:11 -0400)]
Correct AVCodec member comments

10 years agoMerge fallout: move AVCodec additions back to the end of the struct
Alexander Strange [Sat, 16 Aug 2008 18:10:31 +0000 (14:10 -0400)]
Merge fallout: move AVCodec additions back to the end of the struct

10 years agoDocument functions in thread.h
Alexander Strange [Sat, 16 Aug 2008 08:23:20 +0000 (04:23 -0400)]
Document functions in thread.h

10 years agoUpdate todo
Alexander Strange [Sat, 16 Aug 2008 05:53:10 +0000 (01:53 -0400)]
Update todo

10 years agoH264: Skip filling in the parts of frame num gaps that are bigger than the number...
Alexander Strange [Sat, 16 Aug 2008 05:30:59 +0000 (01:30 -0400)]
H264: Skip filling in the parts of frame num gaps that are bigger than the number of reference frames.

My sample with a 256 frame or so gap doesn't work with ff_delayed_release_buffer otherwise.
No change on MR3_TANDBERG_B.264.

10 years agoFix a memory corruption bug in update_context and reenable H264 multithreading.
Alexander Strange [Sat, 16 Aug 2008 04:01:07 +0000 (00:01 -0400)]
Fix a memory corruption bug in update_context and reenable H264 multithreading.

10 years agoSet output_size properly before calling the decoder so it doesn't return nonsense...
Alexander Strange [Sat, 16 Aug 2008 03:34:32 +0000 (23:34 -0400)]
Set output_size properly before calling the decoder so it doesn't return nonsense and crash at the end

10 years agoh264: Redo finding the output frame during header parsing after merging mainline.
Alexander Strange [Fri, 15 Aug 2008 20:44:33 +0000 (16:44 -0400)]
h264: Redo finding the output frame during header parsing after merging mainline.

This works with PAFF and CODEC_FLAG2_CHUNKS, though the second is useless and should be removed.

10 years agoReindent.
Alexander Strange [Fri, 15 Aug 2008 02:59:01 +0000 (22:59 -0400)]
Reindent.

10 years agoMerge branch 'mainline'
Alexander Strange [Fri, 15 Aug 2008 01:37:03 +0000 (21:37 -0400)]
Merge branch 'mainline'

10 years agoRevert some h264 multithreading changes to make merging easier.
Alexander Strange [Fri, 15 Aug 2008 00:30:42 +0000 (20:30 -0400)]
Revert some h264 multithreading changes to make merging easier.

10 years agoMerge branch 'master' of git://git.mplayerhq.hu/ffmpeg
Luca Barbato [Thu, 14 Aug 2008 20:16:09 +0000 (22:16 +0200)]
Merge branch 'master' of git://git.mplayerhq.hu/ffmpeg

10 years agomlp: Define End-of-Stream code in common header file and use it in decoder.
ramiro [Thu, 14 Aug 2008 19:38:39 +0000 (19:38 +0000)]
mlp: Define End-of-Stream code in common header file and use it in decoder.

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

10 years agoAdd todo and some other files.
Alexander Strange [Thu, 14 Aug 2008 08:01:08 +0000 (04:01 -0400)]
Add todo and some other files.

Trailing whitespace in mplayer isn't my fault.

10 years agoDocument thread-safety requirements for user callbacks in AVCodecContext.
Alexander Strange [Wed, 13 Aug 2008 00:26:26 +0000 (20:26 -0400)]
Document thread-safety requirements for user callbacks in AVCodecContext.

10 years agoUse HAVE_PTHREADS instead of ENABLE_PTHREADS for mplayer compatibility.
Alexander Strange [Tue, 12 Aug 2008 04:45:01 +0000 (00:45 -0400)]
Use HAVE_PTHREADS instead of ENABLE_PTHREADS for mplayer compatibility.

10 years agoDon't run the last part of decode_update_context() when the last frame was dropped.
Alexander Strange [Tue, 12 Aug 2008 04:39:28 +0000 (00:39 -0400)]
Don't run the last part of decode_update_context() when the last frame was dropped.

This fixes mplayer -framedrop crashing. Of course, they're still run in some cases when it wouldn't be without threads, but those are all error conditions.

10 years agoSimple patch to keep the non-pthreads OSes working.
Alexander Strange [Mon, 11 Aug 2008 22:04:42 +0000 (18:04 -0400)]
Simple patch to keep the non-pthreads OSes working.

They ignore thread_algorithm being set by the user for some minor simplicity gain, since I'd still like to see these files gone from mainline.

10 years agoReindent.
Alexander Strange [Thu, 7 Aug 2008 00:12:01 +0000 (20:12 -0400)]
Reindent.

10 years agoCopy all the MPEG-2 interlacing flags, as well as *_picture, in ff_mpeg_update_context().
Alexander Strange [Wed, 6 Aug 2008 19:45:52 +0000 (15:45 -0400)]
Copy all the MPEG-2 interlacing flags, as well as *_picture, in ff_mpeg_update_context().

10 years agoCorrect 6b037a88 for PAFF/MBAFF.
Alexander Strange [Sat, 2 Aug 2008 23:27:12 +0000 (19:27 -0400)]
Correct 6b037a88 for PAFF/MBAFF.

10 years agoUse got_extradata instead of frame_number to guard against rereading extradata.
Alexander Strange [Thu, 31 Jul 2008 22:40:46 +0000 (18:40 -0400)]
Use got_extradata instead of frame_number to guard against rereading extradata.

frame_number is no longer valid internally, since I don't want to change its definition from the user's perspective.
mpeg12 does the same thing, but I can't find or create any mpeg1+extradata samples to check it.

10 years agoRename H264Context got_avcC to got_extradata.
Alexander Strange [Thu, 31 Jul 2008 22:22:55 +0000 (18:22 -0400)]
Rename H264Context got_avcC to got_extradata.

10 years agoCopy avcC variables in H264Context.
Alexander Strange [Thu, 31 Jul 2008 18:30:40 +0000 (14:30 -0400)]
Copy avcC variables in H264Context.

10 years agoUpdate the guard clause on avcodec_thread_execute().
Alexander Strange [Tue, 5 Aug 2008 04:21:25 +0000 (00:21 -0400)]
Update the guard clause on avcodec_thread_execute().

It already works fine, since all codecs check USE_AVCODEC_EXECUTE themselves before calling it, but the function is for some reason part of the public API.

10 years agoReindent.
Alexander Strange [Thu, 14 Aug 2008 18:01:15 +0000 (14:01 -0400)]
Reindent.

10 years agoSimplify thread init and make more of its functions static.
Alexander Strange [Thu, 7 Aug 2008 00:55:20 +0000 (20:55 -0400)]
Simplify thread init and make more of its functions static.

10 years agoRemove not OKed parts from AAC encoder
kostya [Thu, 14 Aug 2008 16:07:17 +0000 (16:07 +0000)]
Remove not OKed parts from AAC encoder

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

10 years agoUse '#include <poll.h>' instead of '#include <sys/poll.h>'.
diego [Thu, 14 Aug 2008 15:50:31 +0000 (15:50 +0000)]
Use '#include <poll.h>' instead of '#include <sys/poll.h>'.
It is the standard location as defined by the Open Group.

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

10 years agoAdd an example of higher resolution video encoding for the PSP to the FAQ.
diego [Thu, 14 Aug 2008 15:23:07 +0000 (15:23 +0000)]
Add an example of higher resolution video encoding for the PSP to the FAQ.
patch by Daniel Serpell, dserpell gmail com

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

10 years agoFix the PSP examples in the FAQ to use libx264 as codec instead of h264.
diego [Thu, 14 Aug 2008 15:16:17 +0000 (15:16 +0000)]
Fix the PSP examples in the FAQ to use libx264 as codec instead of h264.
patch by Daniel Serpell, dserpell gmail com

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

10 years agoAdd declarations for the sine tables used in wma.c (half window sizes: 128,
superdump [Thu, 14 Aug 2008 14:40:16 +0000 (14:40 +0000)]
Add declarations for the sine tables used in wma.c (half window sizes: 128,
256, 512, 1024 and 2048) to mdct.c. Make them accessible via dsputil.h. Make
wma.c use these shared tables.

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

10 years agoChange wma.c to use the ff_sine_window_init() from mdct.c
superdump [Thu, 14 Aug 2008 14:36:22 +0000 (14:36 +0000)]
Change wma.c to use the ff_sine_window_init() from mdct.c

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

10 years agoSurround '#include <sys/select>' by HAVE_SYS_SELECT_H.
diego [Thu, 14 Aug 2008 14:29:18 +0000 (14:29 +0000)]
Surround '#include <sys/select>' by HAVE_SYS_SELECT_H.
patch by Kurtnoise, kurtnoise free fr

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

10 years agoCheck for sys/select.h and poll.h unconditionally, not just if ffserver
diego [Thu, 14 Aug 2008 14:03:32 +0000 (14:03 +0000)]
Check for sys/select.h and poll.h unconditionally, not just if ffserver
is enabled. The headers are used throughout the code.

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

10 years agoAdd -D_POSIX_C_SOURCE=200112 to cflags.
michael [Thu, 14 Aug 2008 11:40:14 +0000 (11:40 +0000)]
Add -D_POSIX_C_SOURCE=200112 to cflags.

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

10 years agoChange Dirac in MPEG-TS encapsulation to conform with spec changes.
diego [Thu, 14 Aug 2008 11:17:23 +0000 (11:17 +0000)]
Change Dirac in MPEG-TS encapsulation to conform with spec changes.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

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

10 years agoOkayed parts of AAC encoder
kostya [Thu, 14 Aug 2008 05:52:29 +0000 (05:52 +0000)]
Okayed parts of AAC encoder

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

10 years agofile which should have been added in r14749
lorenm [Thu, 14 Aug 2008 05:00:25 +0000 (05:00 +0000)]
file which should have been added in r14749

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

10 years agomissing prototype
lorenm [Thu, 14 Aug 2008 04:41:02 +0000 (04:41 +0000)]
missing prototype

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

10 years agogcc chokes on the 7 registers needed for float_to_int16_interleave6 (even inside...
lorenm [Thu, 14 Aug 2008 04:40:46 +0000 (04:40 +0000)]
gcc chokes on the 7 registers needed for float_to_int16_interleave6 (even inside HAVE_7REGS), so write it in yasm

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

10 years agogcc chokes on xmm constraints, so pessimize int32_to_float_fmul_scalar_sse a little
lorenm [Thu, 14 Aug 2008 04:39:59 +0000 (04:39 +0000)]
gcc chokes on xmm constraints, so pessimize int32_to_float_fmul_scalar_sse a little

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

10 years agomlp: split simple inline function that xors 4 bytes into one.
ramiro [Thu, 14 Aug 2008 03:58:05 +0000 (03:58 +0000)]
mlp: split simple inline function that xors 4 bytes into one.

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

10 years agoDo not fill the pts reordering buffer with guessed dts.
michael [Thu, 14 Aug 2008 03:24:58 +0000 (03:24 +0000)]
Do not fill the pts reordering buffer with guessed dts.
These values should not matter at all in principle because they
do not correspond to the time of display of any frame but it seems
ffmpeg becomes confused by them if they are far off and its not
strictly correct to set them to guessed values.

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

10 years agoRemove unneeded whitespace and quotes from -D_ISOC99_SOURCE.
michael [Thu, 14 Aug 2008 00:07:00 +0000 (00:07 +0000)]
Remove unneeded whitespace and quotes from -D_ISOC99_SOURCE.

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

10 years agospecial case 6 channel version of float_to_int16_interleave
lorenm [Wed, 13 Aug 2008 23:36:37 +0000 (23:36 +0000)]
special case 6 channel version of float_to_int16_interleave
5% faster ac3

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

10 years agosimd int->float
lorenm [Wed, 13 Aug 2008 23:35:40 +0000 (23:35 +0000)]
simd int->float
20% faster ac3 if downmixing, 15% if not

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

10 years agosimd downmix
lorenm [Wed, 13 Aug 2008 23:33:48 +0000 (23:33 +0000)]
simd downmix
13% faster ac3 if downmixing

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

10 years agodon't mark the delayed samples for upmixing if they haven't been downmixed
lorenm [Wed, 13 Aug 2008 23:30:53 +0000 (23:30 +0000)]
don't mark the delayed samples for upmixing if they haven't been downmixed

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

10 years agooops, non-normalized downmix to mono contaminated add_bias for non-simd float-to...
lorenm [Wed, 13 Aug 2008 23:30:28 +0000 (23:30 +0000)]
oops, non-normalized downmix to mono contaminated add_bias for non-simd float-to-int.

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

10 years agoChange _ISOC9X_SOURCE to _ISOC99_SOURCE.
michael [Wed, 13 Aug 2008 23:01:48 +0000 (23:01 +0000)]
Change _ISOC9X_SOURCE to _ISOC99_SOURCE.

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

10 years agomatroskadec: list some more ebml IDs found in the wild and that we ignore
aurel [Wed, 13 Aug 2008 21:15:15 +0000 (21:15 +0000)]
matroskadec: list some more ebml IDs found in the wild and that we ignore
This avoid printing some warnings about unknow IDs while we in fact know
the IDs but just want to knowingly ignore them.

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

10 years agoMake show_banner() and show_version() print both the compile-time and the
stefano [Wed, 13 Aug 2008 20:08:37 +0000 (20:08 +0000)]
Make show_banner() and show_version() print both the compile-time and the
link-time/run-time libav* version numbers.

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

10 years agoAdd examples in documentation showing how to avoid to decode audio and
stefano [Wed, 13 Aug 2008 19:49:37 +0000 (19:49 +0000)]
Add examples in documentation showing how to avoid to decode audio and
output video in pass 1 for 2-pass encoding.
Patch by Erwan Ducroquet erwan _dot_ ducroquet _at_ gmail _dot_ com

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

10 years agomlp: Cosmetics: Close comments in an extra line and
ramiro [Wed, 13 Aug 2008 19:43:18 +0000 (19:43 +0000)]
mlp: Cosmetics: Close comments in an extra line and
remove empty lines between doxy comments and function declarations.

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

10 years agoDirac encapsulation in MPEG-TS
diego [Wed, 13 Aug 2008 19:29:35 +0000 (19:29 +0000)]
Dirac encapsulation in MPEG-TS
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

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

10 years agomlp: Split common code from parser and decoder to be used by encoder.
ramiro [Wed, 13 Aug 2008 18:47:03 +0000 (18:47 +0000)]
mlp: Split common code from parser and decoder to be used by encoder.

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

10 years agoRemove unused variable.
diego [Wed, 13 Aug 2008 18:33:25 +0000 (18:33 +0000)]
Remove unused variable.

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

10 years agoRemove unused variable.
diego [Wed, 13 Aug 2008 18:32:16 +0000 (18:32 +0000)]
Remove unused variable.

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

10 years ago10000l, revert mistakely commited and unrelated hunk.
michael [Wed, 13 Aug 2008 18:20:54 +0000 (18:20 +0000)]
10000l, revert mistakely commited and unrelated hunk.

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

10 years agoMove -D_ISOC9X_SOURCE to configure so its available to all tests.
michael [Wed, 13 Aug 2008 18:17:26 +0000 (18:17 +0000)]
Move -D_ISOC9X_SOURCE to configure so its available to all tests.

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

10 years agostrcasecmp() requires #include <strings.h>
aurel [Wed, 13 Aug 2008 17:22:53 +0000 (17:22 +0000)]
strcasecmp() requires #include <strings.h>

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

10 years agomove M_PI definition along with other math definitions
aurel [Wed, 13 Aug 2008 16:01:21 +0000 (16:01 +0000)]
move M_PI definition along with other math definitions

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

10 years agoShow result of yasm test.
cehoyos [Wed, 13 Aug 2008 15:03:57 +0000 (15:03 +0000)]
Show result of yasm test.

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

10 years agodefine some math constants so as not to depend on _XOPEN_SOURCE
aurel [Wed, 13 Aug 2008 10:04:59 +0000 (10:04 +0000)]
define some math constants so as not to depend on _XOPEN_SOURCE

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

10 years agoffserver: SA_RESTART and unsetenv require _XOPEN_SOURCE
aurel [Wed, 13 Aug 2008 10:03:20 +0000 (10:03 +0000)]
ffserver: SA_RESTART and unsetenv require _XOPEN_SOURCE

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

10 years agomatroskadec: parse available blocks even when cluster parsing failed
aurel [Wed, 13 Aug 2008 09:36:45 +0000 (09:36 +0000)]
matroskadec: parse available blocks even when cluster parsing failed
This way, we still read the few complete blocks out of a truncated
cluster at the end of a truncated file.

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

10 years agomlp_parser: Initialize crc data in its own function.
ramiro [Wed, 13 Aug 2008 02:44:38 +0000 (02:44 +0000)]
mlp_parser: Initialize crc data in its own function.

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

10 years agomlpdec: Put some doxy comments to the right of vars instead of interleaved.
ramiro [Wed, 13 Aug 2008 01:41:06 +0000 (01:41 +0000)]
mlpdec: Put some doxy comments to the right of vars instead of interleaved.

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

10 years agomlpdec: Split channel parameters from context into their own struct.
ramiro [Wed, 13 Aug 2008 01:36:01 +0000 (01:36 +0000)]
mlpdec: Split channel parameters from context into their own struct.

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

10 years agooptimize ac3_downmix.
lorenm [Tue, 12 Aug 2008 23:45:46 +0000 (23:45 +0000)]
optimize ac3_downmix.
1.3x faster 5.1->stereo, 1.9x faster 5.1->mono.

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