platform/upstream/libav.git
13 years agomathops: use MUL64 macro where it forms part of other ops
Mans Rullgard [Sat, 4 Jun 2011 16:52:30 +0000 (17:52 +0100)]
mathops: use MUL64 macro where it forms part of other ops

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agotty: factorise returning error codes.
Anton Khirnov [Fri, 3 Jun 2011 18:43:48 +0000 (20:43 +0200)]
tty: factorise returning error codes.

13 years agorawdec: add framerate private option.
Anton Khirnov [Fri, 3 Jun 2011 12:13:14 +0000 (14:13 +0200)]
rawdec: add framerate private option.

13 years agox11grab: add framerate private option.
Anton Khirnov [Fri, 3 Jun 2011 11:36:36 +0000 (13:36 +0200)]
x11grab: add framerate private option.

13 years agofbdev,v4l2: remove some forgotten uses of AVFormatParameters.time_base.
Anton Khirnov [Fri, 3 Jun 2011 11:29:43 +0000 (13:29 +0200)]
fbdev,v4l2: remove some forgotten uses of AVFormatParameters.time_base.

13 years agobktr: don't error when AVFormatParameters.time_base isn't set.
Anton Khirnov [Fri, 3 Jun 2011 11:11:39 +0000 (13:11 +0200)]
bktr: don't error when AVFormatParameters.time_base isn't set.

There's a private option for it now.

13 years agocmdutils: add missing const qualifier
Mans Rullgard [Sat, 4 Jun 2011 15:47:15 +0000 (16:47 +0100)]
cmdutils: add missing const qualifier

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoSkip headers not designed to work standalone during 'make checkheaders'.
Diego Biurrun [Sat, 4 Jun 2011 16:02:40 +0000 (18:02 +0200)]
Skip headers not designed to work standalone during 'make checkheaders'.

13 years agoAdd missing #includes to make headers self-contained.
Diego Biurrun [Sat, 4 Jun 2011 14:58:31 +0000 (16:58 +0200)]
Add missing #includes to make headers self-contained.

This fixes 'make checkheaders'.

13 years agomusepack: remove unnecessary #include from mpcdata.h
Mans Rullgard [Sat, 4 Jun 2011 15:45:15 +0000 (16:45 +0100)]
musepack: remove unnecessary #include from mpcdata.h

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agomusepack: remove extraneous mpcdata.h inclusions
Mans Rullgard [Sat, 4 Jun 2011 15:43:41 +0000 (16:43 +0100)]
musepack: remove extraneous mpcdata.h inclusions

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoFix error check in av_file_map()
Mans Rullgard [Sat, 4 Jun 2011 12:36:35 +0000 (13:36 +0100)]
Fix error check in av_file_map()

On failure, mmap() returns MAP_FAILED, which may or may not be -1.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agobuild: simplify commands for clean target
Mans Rullgard [Fri, 3 Jun 2011 14:50:14 +0000 (15:50 +0100)]
build: simplify commands for clean target

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoswscale: split swscale.c in unscaled and generic conversion routines.
Ronald S. Bultje [Fri, 3 Jun 2011 05:45:16 +0000 (22:45 -0700)]
swscale: split swscale.c in unscaled and generic conversion routines.

This duplicates the function fillPlane().

13 years agoswscale: cosmetics.
Ronald S. Bultje [Fri, 3 Jun 2011 05:34:13 +0000 (22:34 -0700)]
swscale: cosmetics.

Remove duplicate "inC" and "_c" functions that do the same thing;
give each function that handles data and acts as a function pointer
a "_c" suffix; remove "_c" suffix from functions that are inherently
not optimizable. Remove inline keyword from functions that are only
used through function pointers.

13 years agoswscale: integrate (literally) swscale_template.c in swscale.c.
Ronald S. Bultje [Fri, 3 Jun 2011 05:34:12 +0000 (22:34 -0700)]
swscale: integrate (literally) swscale_template.c in swscale.c.

13 years agoswscale: split out x86/swscale_template.c from swscale.c.
Ronald S. Bultje [Fri, 3 Jun 2011 05:00:00 +0000 (22:00 -0700)]
swscale: split out x86/swscale_template.c from swscale.c.

13 years agoswscale: enable hScale_altivec_real.
Ronald S. Bultje [Fri, 3 Jun 2011 03:33:05 +0000 (20:33 -0700)]
swscale: enable hScale_altivec_real.

13 years agoswscale: split out ppc _template.c files from main swscale.c.
Ronald S. Bultje [Fri, 3 Jun 2011 03:04:04 +0000 (20:04 -0700)]
swscale: split out ppc _template.c files from main swscale.c.

13 years agoswscale: remove indirections in ppc/swscale_template.c.
Ronald S. Bultje [Fri, 3 Jun 2011 02:28:56 +0000 (19:28 -0700)]
swscale: remove indirections in ppc/swscale_template.c.

13 years agoswscale: split out unscaled altivec YUV converters in their own file.
Ronald S. Bultje [Fri, 3 Jun 2011 03:17:20 +0000 (20:17 -0700)]
swscale: split out unscaled altivec YUV converters in their own file.

13 years agompegvideoenc: fix multislice fate tests with threading disabled.
Ronald S. Bultje [Thu, 2 Jun 2011 21:24:58 +0000 (14:24 -0700)]
mpegvideoenc: fix multislice fate tests with threading disabled.

The MPEG encoding code assumes that n_threads == n_slices, and thus it
should use n_slices even if threading itself is disabled.

13 years agompegts: Wrap #ifdef DEBUG and av_hex_dump_log() combination in a macro.
Diego Biurrun [Fri, 27 May 2011 18:34:01 +0000 (20:34 +0200)]
mpegts: Wrap #ifdef DEBUG and av_hex_dump_log() combination in a macro.

13 years agobuild: Simplify texi2html invocation through the --output option.
Diego Biurrun [Mon, 30 May 2011 15:28:43 +0000 (17:28 +0200)]
build: Simplify texi2html invocation through the --output option.

The --output option is available in texi2html since at least version 1.78.

13 years agoMark some variables with av_unused
Mans Rullgard [Fri, 3 Jun 2011 11:52:29 +0000 (12:52 +0100)]
Mark some variables with av_unused

Most of these variables are only used in av_dlog statements, some
are required but not used by other macros.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoReplace avcodec_get_pix_fmt_name() by av_get_pix_fmt_name().
Stefano Sabatini [Fri, 3 Jun 2011 09:42:07 +0000 (11:42 +0200)]
Replace avcodec_get_pix_fmt_name() by av_get_pix_fmt_name().

This fixes warnings about avcodec_get_pix_fmt_name() being deprecated.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years agosvq3: Check negative mb_type to fix potential crash.
Baptiste Coudurier [Thu, 5 May 2011 01:45:36 +0000 (18:45 -0700)]
svq3: Check negative mb_type to fix potential crash.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years agosvq3: Move svq3-specific fields to their own context.
Baptiste Coudurier [Thu, 5 May 2011 12:18:33 +0000 (14:18 +0200)]
svq3: Move svq3-specific fields to their own context.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years agorawdec: initialize return value to 0.
Anton Khirnov [Fri, 3 Jun 2011 11:40:54 +0000 (13:40 +0200)]
rawdec: initialize return value to 0.

13 years agoRemove unused get_psnr() prototype
Vladimir Pantelic [Fri, 3 Jun 2011 09:00:15 +0000 (11:00 +0200)]
Remove unused get_psnr() prototype

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agorawdec: don't leak option strings.
Anton Khirnov [Fri, 3 Jun 2011 05:37:44 +0000 (07:37 +0200)]
rawdec: don't leak option strings.

13 years agobktr: get default framerate from video standard.
Anton Khirnov [Fri, 3 Jun 2011 05:36:14 +0000 (07:36 +0200)]
bktr: get default framerate from video standard.

13 years agoswscale: remove unused COMPILE_TEMPLATE_ALTIVEC.
Ronald S. Bultje [Fri, 3 Jun 2011 02:19:12 +0000 (19:19 -0700)]
swscale: remove unused COMPILE_TEMPLATE_ALTIVEC.

13 years agoReplace custom DEBUG preprocessor trickery by the standard one.
Diego Biurrun [Thu, 2 Jun 2011 20:45:15 +0000 (22:45 +0200)]
Replace custom DEBUG preprocessor trickery by the standard one.

13 years agovorbis: Remove non-compiling debug statement.
Diego Biurrun [Thu, 2 Jun 2011 21:03:54 +0000 (23:03 +0200)]
vorbis: Remove non-compiling debug statement.

13 years agovorbis: Remove pointless DEBUG #ifdef around debug output macros.
Diego Biurrun [Thu, 2 Jun 2011 21:02:34 +0000 (23:02 +0200)]
vorbis: Remove pointless DEBUG #ifdef around debug output macros.

13 years agocook: Remove non-compiling debug output.
Diego Biurrun [Thu, 2 Jun 2011 20:59:27 +0000 (22:59 +0200)]
cook: Remove non-compiling debug output.

random_state was changed from an int to a struct and can no longer be printed
as easily as before.

13 years agoRemove pointless #ifdefs around function declarations in a header.
Diego Biurrun [Thu, 2 Jun 2011 20:56:29 +0000 (22:56 +0200)]
Remove pointless #ifdefs around function declarations in a header.

13 years agoReplace #ifdef + av_log() combinations by av_dlog().
Diego Biurrun [Thu, 2 Jun 2011 20:55:51 +0000 (22:55 +0200)]
Replace #ifdef + av_log() combinations by av_dlog().

13 years agoReplace custom debug output functions by av_dlog().
Diego Biurrun [Thu, 2 Jun 2011 20:49:53 +0000 (22:49 +0200)]
Replace custom debug output functions by av_dlog().

13 years agocook: Remove unused debug functions.
Diego Biurrun [Thu, 2 Jun 2011 20:46:11 +0000 (22:46 +0200)]
cook: Remove unused debug functions.

13 years agoRemove stray extra arguments from av_dlog() invocations.
Diego Biurrun [Thu, 2 Jun 2011 18:40:09 +0000 (20:40 +0200)]
Remove stray extra arguments from av_dlog() invocations.

13 years agotarga: fix big-endian build
Mans Rullgard [Thu, 2 Jun 2011 20:07:53 +0000 (21:07 +0100)]
targa: fix big-endian build

13 years agov4l2: remove one forgotten use of AVFormatParameters.pix_fmt.
Anton Khirnov [Sun, 29 May 2011 13:22:45 +0000 (15:22 +0200)]
v4l2: remove one forgotten use of AVFormatParameters.pix_fmt.

13 years agovfwcap: add a framerate private option.
Anton Khirnov [Tue, 24 May 2011 19:16:47 +0000 (21:16 +0200)]
vfwcap: add a framerate private option.

13 years agov4l2: add a framerate private option.
Anton Khirnov [Tue, 24 May 2011 19:16:47 +0000 (21:16 +0200)]
v4l2: add a framerate private option.

13 years agolibdc1394: add a framerate private option.
Anton Khirnov [Tue, 24 May 2011 19:16:47 +0000 (21:16 +0200)]
libdc1394: add a framerate private option.

13 years agofbdev: add a framerate private option.
Anton Khirnov [Tue, 24 May 2011 19:16:47 +0000 (21:16 +0200)]
fbdev: add a framerate private option.

13 years agobktr: add a framerate private option.
Anton Khirnov [Tue, 24 May 2011 19:16:47 +0000 (21:16 +0200)]
bktr: add a framerate private option.

13 years agooma: check avio_read() return value
Mans Rullgard [Wed, 1 Jun 2011 16:30:28 +0000 (17:30 +0100)]
oma: check avio_read() return value

13 years agonutdec: remove unused variable
Mans Rullgard [Wed, 1 Jun 2011 16:29:22 +0000 (17:29 +0100)]
nutdec: remove unused variable

13 years agoRemove unused variables
Mans Rullgard [Wed, 1 Jun 2011 16:26:27 +0000 (17:26 +0100)]
Remove unused variables

13 years agoswscale: allocate larger buffer to handle altivec overreads.
Ronald S. Bultje [Thu, 2 Jun 2011 18:25:56 +0000 (11:25 -0700)]
swscale: allocate larger buffer to handle altivec overreads.

Altivec sws code intentionally overreads buffers for better performance,
so we need to allocate larger buffers to handle that.

13 years agoH264/MPEG frame-level multi-threading.
Alexander Strange [Thu, 2 Jun 2011 17:15:58 +0000 (10:15 -0700)]
H264/MPEG frame-level multi-threading.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years agoCosmetic changes to h264_idct_10bit.asm.
Loren Merritt [Wed, 1 Jun 2011 05:01:01 +0000 (01:01 -0400)]
Cosmetic changes to h264_idct_10bit.asm.

Removes redundant dword tags and whitespace changes.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago2x faster h264_idct_add8_10.
Loren Merritt [Thu, 2 Jun 2011 01:53:15 +0000 (21:53 -0400)]
2x faster h264_idct_add8_10.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years agoaacenc: Add stereo_mode option.
Nathan Caldwell [Wed, 1 Jun 2011 05:38:09 +0000 (23:38 -0600)]
aacenc: Add stereo_mode option.

ms_off is the default, until Mid/Side is no longer buggy.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years agoh264: remove CONFIG_GPL from x86 intra prediction code.
Ronald S. Bultje [Thu, 2 Jun 2011 04:56:55 +0000 (21:56 -0700)]
h264: remove CONFIG_GPL from x86 intra prediction code.

The authors permitted relicensing to LGPL a long time ago (Holger,
Loren and Jason).

13 years agoARM: ac3dsp: optimised update_bap_counts()
Mans Rullgard [Sun, 29 May 2011 13:27:03 +0000 (14:27 +0100)]
ARM: ac3dsp: optimised update_bap_counts()

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agompegaudiodec: Fix av_dlog() invocation.
Diego Biurrun [Wed, 1 Jun 2011 10:17:30 +0000 (12:17 +0200)]
mpegaudiodec: Fix av_dlog() invocation.

Some parameters passed to the av_dlog can be either float or int, depending on
the mode the file is being compiled as.  Cast those parameters to float and use
appropriate conversion specifiers.

13 years agoh264/10bit: add HAVE_ALIGNED_STACK checks.
Daniel Kang [Wed, 1 Jun 2011 03:10:51 +0000 (23:10 -0400)]
h264/10bit: add HAVE_ALIGNED_STACK checks.

Fixes regression in 836f47d34b49e8ba9883e738a42f154130421caa in ICC-10.x,
since ICC<=11.0 doesn't align stack upon function calls.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years agoUpdate 8-bit H.264 IDCT function names to reflect bit-depth.
Daniel Kang [Tue, 24 May 2011 19:15:08 +0000 (15:15 -0400)]
Update 8-bit H.264 IDCT function names to reflect bit-depth.

Signed-off-by: Ronald S. Bultje <rbultje@google.com>
13 years agoAdd IDCT functions for 10-bit H.264.
Daniel Kang [Tue, 24 May 2011 19:14:38 +0000 (15:14 -0400)]
Add IDCT functions for 10-bit H.264.

Ports the majority of IDCT functions for 10-bit H.264.

Parts are inspired from 8-bit IDCT code in Libav; other parts ported from x264 with relicensing permission from author.

Signed-off-by: Ronald S. Bultje <rbultje@google.com>
13 years agompegaudioenc: Fix broken av_dlog statement.
Diego Biurrun [Tue, 31 May 2011 19:24:13 +0000 (21:24 +0200)]
mpegaudioenc: Fix broken av_dlog statement.

13 years agoEmploy correct printf format specifiers, mostly in debug output.
Diego Biurrun [Tue, 31 May 2011 19:23:45 +0000 (21:23 +0200)]
Employ correct printf format specifiers, mostly in debug output.

13 years agoARM: fix MUL64 inline asm for pre-armv6
Mans Rullgard [Tue, 31 May 2011 20:04:01 +0000 (21:04 +0100)]
ARM: fix MUL64 inline asm for pre-armv6

Prior to ARMv6, the destination registers of the SMULL instruction
must be distinct from the first source register.  Marking the
output early-clobber ensures it is allocated unique registers.

This restriction is dropped in ARMv6 and later, so allowing overlap
between input and output registers there might give better code.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agovf_drawtext: Replace FFmpeg by Libav in license boilerplate.
Diego Biurrun [Tue, 31 May 2011 12:00:12 +0000 (14:00 +0200)]
vf_drawtext: Replace FFmpeg by Libav in license boilerplate.

13 years agompegaudiodec: remove unusued code and variables
Mans Rullgard [Tue, 31 May 2011 17:38:01 +0000 (18:38 +0100)]
mpegaudiodec: remove unusued code and variables

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoimproved 'edts' atom writing support
Gil Pedersen [Mon, 2 May 2011 17:25:28 +0000 (19:25 +0200)]
improved 'edts' atom writing support

The 'edts' write function can now generate an initial empty edit resulting in a track-specific presentation delay.
This is automatically calculated and inserted for any track where the initial DTS != 0.
Added support for long (version==1) timecodes.

13 years agompegaudio: clean up compute_antialias() definition
Mans Rullgard [Thu, 19 May 2011 12:36:21 +0000 (13:36 +0100)]
mpegaudio: clean up compute_antialias() definition

This merges the float and fixed-point versions of the compute_antialias
function, fixes invalid array indexing, and eliminates a dead copy of
csa_table.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agovp8: fix segmentation race during frame-threading.
Ronald S. Bultje [Sun, 29 May 2011 22:53:42 +0000 (18:53 -0400)]
vp8: fix segmentation race during frame-threading.

Fixes occasional failure of make fate-vp8-test-vector-010 with
frame-multithreading enabled.

13 years agoswscale: Remove unused variable.
Diego Biurrun [Mon, 30 May 2011 18:31:27 +0000 (20:31 +0200)]
swscale: Remove unused variable.

13 years agoARM: simplify inline asm with 64-bit operands
Mans Rullgard [Mon, 30 May 2011 15:37:06 +0000 (16:37 +0100)]
ARM: simplify inline asm with 64-bit operands

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoARM: enable UAL syntax in asm.S
Mans Rullgard [Sun, 29 May 2011 13:22:52 +0000 (14:22 +0100)]
ARM: enable UAL syntax in asm.S

This enables UAL syntax for all asm files instead of only those
which happen to be incompatible with the old, deprecated syntax.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agov4l2: don't leak video standard string on error.
Anton Khirnov [Fri, 27 May 2011 07:32:17 +0000 (09:32 +0200)]
v4l2: don't leak video standard string on error.

13 years agoswscale: Remove disabled code.
Diego Biurrun [Fri, 29 Apr 2011 17:35:08 +0000 (19:35 +0200)]
swscale: Remove disabled code.

13 years agoavfilter: Surround function only used in debug mode by appropriate #ifdef.
Diego Biurrun [Fri, 27 May 2011 18:24:44 +0000 (20:24 +0200)]
avfilter: Surround function only used in debug mode by appropriate #ifdef.

This fixes the warning:
libavfilter/avfilter.c:219: warning: ‘ff_get_ref_perms_string’ defined but not used

13 years agovf_crop: Replace #ifdef DEBUG + av_log() by av_dlog().
Diego Biurrun [Fri, 27 May 2011 18:22:55 +0000 (20:22 +0200)]
vf_crop: Replace #ifdef DEBUG + av_log() by av_dlog().

13 years agobuild: remove BUILD_ROOT variable
Mans Rullgard [Sat, 28 May 2011 12:10:01 +0000 (13:10 +0100)]
build: remove BUILD_ROOT variable

This variable is unnecessary as absolute paths are not required.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agovp8: use av_clip_uintp2() where possible
Mans Rullgard [Sat, 28 May 2011 16:20:49 +0000 (17:20 +0100)]
vp8: use av_clip_uintp2() where possible

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoac3enc: fix LOCAL_ALIGNED usage in count_mantissa_bits()
Mans Rullgard [Sat, 28 May 2011 19:27:09 +0000 (20:27 +0100)]
ac3enc: fix LOCAL_ALIGNED usage in count_mantissa_bits()

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoac3dsp: do not use the ff_* prefix when referencing ff_ac3_bap_bits.
Justin Ruggles [Sat, 28 May 2011 18:39:18 +0000 (14:39 -0400)]
ac3dsp: do not use the ff_* prefix when referencing ff_ac3_bap_bits.

this should fix the windows builds

Signed-off-by: Martin Storsjö <martin@martin.st>
13 years agoac3dsp: fix loop condition in ac3_update_bap_counts_c()
Justin Ruggles [Sat, 28 May 2011 18:40:16 +0000 (14:40 -0400)]
ac3dsp: fix loop condition in ac3_update_bap_counts_c()

13 years agoARM: unbreak build
Mans Rullgard [Sat, 28 May 2011 17:36:07 +0000 (18:36 +0100)]
ARM: unbreak build

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoac3enc: modify mantissa bit counting to keep bap counts for all values of bap
Justin Ruggles [Thu, 26 May 2011 19:53:25 +0000 (15:53 -0400)]
ac3enc: modify mantissa bit counting to keep bap counts for all values of bap
instead of just 0 to 4.

This does all the actual bit counting as a final step.

13 years agoac3enc: split mantissa bit counting into a separate function.
Justin Ruggles [Thu, 26 May 2011 16:31:31 +0000 (12:31 -0400)]
ac3enc: split mantissa bit counting into a separate function.

No speed difference. This is to allow for more flexible bit counting.

13 years agoac3enc: store per-block/channel bap pointers by reference block in a 2D array
Justin Ruggles [Thu, 26 May 2011 19:57:21 +0000 (15:57 -0400)]
ac3enc: store per-block/channel bap pointers by reference block in a 2D array
rather than in the AC3Block struct.

This will make it easier to access the bap values without having to chase
the reference block pointers each time.

13 years agoget_bits: add av_unused tag to cache variable
Mans Rullgard [Sat, 28 May 2011 14:46:55 +0000 (15:46 +0100)]
get_bits: add av_unused tag to cache variable

This silences numerous compiler warnings from skip_bits(),
where the cache variable is not used.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agosws: replace all long with int.
Anton Khirnov [Thu, 26 May 2011 16:57:26 +0000 (18:57 +0200)]
sws: replace all long with int.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years agoARM: aacdec: fix constraints on inline asm
Mans Rullgard [Fri, 27 May 2011 21:52:49 +0000 (22:52 +0100)]
ARM: aacdec: fix constraints on inline asm

This adds output operands for modified memory allowing the
volatile qualifiers to be dropped.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoARM: remove unnecessary volatile from inline asm
Mans Rullgard [Fri, 27 May 2011 21:49:28 +0000 (22:49 +0100)]
ARM: remove unnecessary volatile from inline asm

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoARM: add "cc" clobbers to inline asm where needed
Mans Rullgard [Fri, 27 May 2011 20:59:46 +0000 (21:59 +0100)]
ARM: add "cc" clobbers to inline asm where needed

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoARM: improve FASTDIV asm
Mans Rullgard [Fri, 27 May 2011 20:43:15 +0000 (21:43 +0100)]
ARM: improve FASTDIV asm

This uses one register less.  Also add missing "cc" clobber.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoac3enc: use LOCAL_ALIGNED macro
Mans Rullgard [Fri, 27 May 2011 19:31:57 +0000 (20:31 +0100)]
ac3enc: use LOCAL_ALIGNED macro

Aligned local variables must use the LOCAL_ALIGNED macro to ensure
correct alignment on all systems.  The unusual size argument to
memset is required since the implementation of LOCAL_ALIGNED may
use a pointer to an array.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoAPIchanges: fill in git hash for av_get_pix_fmt_name (0420bd7).
Ronald S. Bultje [Sat, 28 May 2011 13:46:42 +0000 (09:46 -0400)]
APIchanges: fill in git hash for av_get_pix_fmt_name (0420bd7).

13 years agolavu: add av_get_pix_fmt_name() convenience function
Stefano Sabatini [Sat, 28 May 2011 00:39:20 +0000 (02:39 +0200)]
lavu: add av_get_pix_fmt_name() convenience function

Also deprecate avcodec_get_pix_fmt_name() in its favor.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years agocmdutils: remove OPT_FUNC2
Stefano Sabatini [Fri, 27 May 2011 23:53:00 +0000 (01:53 +0200)]
cmdutils: remove OPT_FUNC2

Make ff* tools only accept opt_* functions taking two arguments.

The distinction between functions with one and two arguments is quite
pointless. Simplify parse_options() code.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years agoswscale: fix crash in bilinear scaling.
Ronald S. Bultje [Fri, 27 May 2011 23:01:47 +0000 (19:01 -0400)]
swscale: fix crash in bilinear scaling.

13 years agovpxenc: add VP8E_SET_STATIC_THRESHOLD mapping
James Zern [Tue, 12 Apr 2011 02:40:47 +0000 (04:40 +0200)]
vpxenc: add VP8E_SET_STATIC_THRESHOLD mapping

via the equivalent AVCodecContext::mb_threshold

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years agowebm: support stereo videos in matroska/webm muxer
Alok Ahuja [Sat, 28 May 2011 06:12:22 +0000 (08:12 +0200)]
webm: support stereo videos in matroska/webm muxer

Create a stereo_mode metadata tag to specify the stereo 3d video layout
using the StereoMode tag in a matroska/webm video track.