OSDN Git Service

coroid/ffmpeg_saccubus.git
13 years agovsrc_buffer: add flags param to av_vsrc_buffer_add_video_buffer_ref
Stefano Sabatini [Thu, 2 Jun 2011 13:43:21 +0000 (15:43 +0200)]
vsrc_buffer: add flags param to av_vsrc_buffer_add_video_buffer_ref

The new flags parameter allows to specify if the video ref to add
should overwrite the cache, if the flag is not set vsrc_buffer will
complain and abort; otherwise it will clean the already cached video
ref before to overwrite it, thus avoiding a leak.

13 years agoAdd const to avfilter_get_video_buffer_ref_from_arrays arguments.
Reimar Döffinger [Wed, 1 Jun 2011 18:44:08 +0000 (20:44 +0200)]
Add const to avfilter_get_video_buffer_ref_from_arrays arguments.

Avoids warning about discarding qualifiers in avcodec.c

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years agosdl: align option fields after last commit
Stefano Sabatini [Sun, 5 Jun 2011 11:55:02 +0000 (13:55 +0200)]
sdl: align option fields after last commit

13 years agoffmpeg: fix massive leak occurring when seeking
Stefano Sabatini [Fri, 3 Jun 2011 17:03:44 +0000 (19:03 +0200)]
ffmpeg: fix massive leak occurring when seeking

Avoid to add frames to the vsrc_buffer in the case ist->pts <
start_time, as these frames are unused (and never released). In
particular this condition is verified with commands of the kind:
ffmpeg -i INPUT -ss TIME OUTPUT

Also allow a minor simplification.

13 years agoffprobe: implement -i FILE option
Stefano Sabatini [Sat, 4 Jun 2011 22:09:04 +0000 (00:09 +0200)]
ffprobe: implement -i FILE option

Useful for mimicking the ffmpeg -i FILE syntax.

13 years agoffplay.texi: document -i FILE option
Stefano Sabatini [Sat, 4 Jun 2011 22:06:20 +0000 (00:06 +0200)]
ffplay.texi: document -i FILE option

13 years agocmdutils: remove unnecessary OPT_DUMMY implementation
Stefano Sabatini [Sat, 4 Jun 2011 22:03:59 +0000 (00:03 +0200)]
cmdutils: remove unnecessary OPT_DUMMY implementation

The -i INPUT option can be implemented more cleanly by using a
function option, which can easily be done now that the
parse_arg_function passed to parse_options has a standard signature.

13 years agocmdutils: change the signature of the function argument in parse_options()
Stefano Sabatini [Sat, 4 Jun 2011 21:54:19 +0000 (23:54 +0200)]
cmdutils: change the signature of the function argument in parse_options()

This is required for a pending simplification.

13 years agosdl: use the filename for defining the window title, if not specified
Stefano Sabatini [Sat, 4 Jun 2011 22:57:05 +0000 (00:57 +0200)]
sdl: use the filename for defining the window title, if not specified

This allows a more efficient use of the commandline.

13 years agoswscale: override the lack of the accurate rounding flag when needed for dither.
Michael Niedermayer [Sun, 5 Jun 2011 02:31:36 +0000 (04:31 +0200)]
swscale: override the lack of the accurate rounding flag when needed for dither.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years agoswscale: factor should_dither out
Michael Niedermayer [Sun, 5 Jun 2011 02:24:45 +0000 (04:24 +0200)]
swscale: factor should_dither out

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 5 Jun 2011 00:33:59 +0000 (02:33 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  ARM: remove MULL inline asm
  mathops: use MUL64 macro where it forms part of other ops
  tty: factorise returning error codes.
  rawdec: add framerate private option.
  x11grab: add framerate private option.
  fbdev,v4l2: remove some forgotten uses of AVFormatParameters.time_base.
  bktr: don't error when AVFormatParameters.time_base isn't set.
  cmdutils: add missing const qualifier
  Skip headers not designed to work standalone during 'make checkheaders'.
  Add missing #includes to make headers self-contained.
  musepack: remove unnecessary #include from mpcdata.h
  musepack: remove extraneous mpcdata.h inclusions
  Fix error check in av_file_map()

Conflicts:
cmdutils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years agoARM: remove MULL inline asm
Mans Rullgard [Sat, 4 Jun 2011 20:16:04 +0000 (21:16 +0100)]
ARM: remove MULL inline asm

Reasonable gcc versions get this one right on their own.

Signed-off-by: Mans Rullgard <mans@mansr.com>
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 agoudp: support old, crappy non pthread mode
Michael Niedermayer [Sat, 4 Jun 2011 14:55:22 +0000 (16:55 +0200)]
udp: support old, crappy non pthread mode

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 4 Jun 2011 04:31:35 +0000 (06:31 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (21 commits)
  build: simplify commands for clean target
  swscale: split swscale.c in unscaled and generic conversion routines.
  swscale: cosmetics.
  swscale: integrate (literally) swscale_template.c in swscale.c.
  swscale: split out x86/swscale_template.c from swscale.c.
  swscale: enable hScale_altivec_real.
  swscale: split out ppc _template.c files from main swscale.c.
  swscale: remove indirections in ppc/swscale_template.c.
  swscale: split out unscaled altivec YUV converters in their own file.
  mpegvideoenc: fix multislice fate tests with threading disabled.
  mpegts: Wrap #ifdef DEBUG and av_hex_dump_log() combination in a macro.
  build: Simplify texi2html invocation through the --output option.
  Mark some variables with av_unused
  Replace avcodec_get_pix_fmt_name() by av_get_pix_fmt_name().
  svq3: Check negative mb_type to fix potential crash.
  svq3: Move svq3-specific fields to their own context.
  rawdec: initialize return value to 0.
  Remove unused get_psnr() prototype
  rawdec: don't leak option strings.
  bktr: get default framerate from video standard.
  ...

Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years agoffmpeg: use opt_acodec when setting audio codec in opt_target.
Baptiste Coudurier [Sat, 4 Jun 2011 02:52:27 +0000 (19:52 -0700)]
ffmpeg: use opt_acodec when setting audio codec in opt_target.

13 years agoffmpeg: fix segfault with too many output files
Michael Niedermayer [Fri, 3 Jun 2011 23:24:00 +0000 (01:24 +0200)]
ffmpeg: fix segfault with too many output files

Fixes Ticket219

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years agoffplay: error out with invalid sample rate or channels.
Michael Niedermayer [Fri, 3 Jun 2011 22:16:12 +0000 (00:16 +0200)]
ffplay: error out with invalid sample rate or channels.

Fixes Ticket119
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years agooggdec: fix Ticket185
Michael Niedermayer [Fri, 3 Jun 2011 19:14:30 +0000 (21:14 +0200)]
oggdec: fix Ticket185

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 agoj2kdec: dont fail on non zero cblock style.
Michael Niedermayer [Fri, 3 Jun 2011 17:34:43 +0000 (19:34 +0200)]
j2kdec: dont fail on non zero cblock style.

This allows decoding to continue a bit further for some files.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years agomakefile: fix j2k encoder dependancies
Rukhsana Ruby [Fri, 3 Jun 2011 16:47:30 +0000 (18:47 +0200)]
makefile: fix j2k encoder dependancies

13 years agoudp: fix indention
JULIAN GARDNER [Fri, 3 Jun 2011 14:08:16 +0000 (16:08 +0200)]
udp: fix indention

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 agocmdutils: move "#undef main" from ffplay.c to cmdutils.h
Carl Eugen Hoyos [Fri, 3 Jun 2011 11:30:27 +0000 (13:30 +0200)]
cmdutils: move "#undef main" from ffplay.c to cmdutils.h

On Windows/MinGW the SDL cflags re-define the main() function, which
results in a linking error if the define is not undeffed.

Since the addition of the SDL output device, SDL cflags are used also
for compiling ffmpeg and ffprobe, so we need to move this trick from
ffplay.c to a common header.

Fix trac issue #256.

13 years agowav: update size check for ds64
Michael Niedermayer [Fri, 3 Jun 2011 13:37:44 +0000 (15:37 +0200)]
wav: update size check for ds64

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years agowav: fix skip size at end of ds64 chunk
Philip de Nier [Thu, 2 Jun 2011 16:04:42 +0000 (17:04 +0100)]
wav: fix skip size at end of ds64 chunk

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 agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 3 Jun 2011 03:19:30 +0000 (05:19 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (25 commits)
  Replace custom DEBUG preprocessor trickery by the standard one.
  vorbis: Remove non-compiling debug statement.
  vorbis: Remove pointless DEBUG #ifdef around debug output macros.
  cook: Remove non-compiling debug output.
  Remove pointless #ifdefs around function declarations in a header.
  Replace #ifdef + av_log() combinations by av_dlog().
  Replace custom debug output functions by av_dlog().
  cook: Remove unused debug functions.
  Remove stray extra arguments from av_dlog() invocations.
  targa: fix big-endian build
  v4l2: remove one forgotten use of AVFormatParameters.pix_fmt.
  vfwcap: add a framerate private option.
  v4l2: add a framerate private option.
  libdc1394: add a framerate private option.
  fbdev: add a framerate private option.
  bktr: add a framerate private option.
  oma: check avio_read() return value
  nutdec: remove unused variable
  Remove unused variables
  swscale: allocate larger buffer to handle altivec overreads.
  ...

Conflicts:
ffmpeg.c
libavcodec/dca.c
libavcodec/dirac.c
libavcodec/error_resilience.c
libavcodec/h264.c
libavcodec/mpeg12.c
libavcodec/mpeg4videodec.c
libavcodec/mpegvideo.c
libavcodec/mpegvideo_enc.c
libavcodec/pthread.c
libavcodec/rv10.c
libavcodec/s302m.c
libavcodec/shorten.c
libavcodec/truemotion2.c
libavcodec/utils.c
libavdevice/dv1394.c
libavdevice/fbdev.c
libavdevice/libdc1394.c
libavdevice/v4l2.c
libavformat/4xm.c
libavformat/apetag.c
libavformat/asfdec.c
libavformat/avidec.c
libavformat/mmf.c
libavformat/mpeg.c
libavformat/mpegenc.c
libavformat/mpegts.c
libavformat/oggdec.c
libavformat/oggparseogm.c
libavformat/rl2.c
libavformat/rmdec.c
libavformat/rpl.c
libavformat/rtpdec_latm.c
libavformat/sauce.c
libavformat/sol.c
libswscale/utils.c
tests/ref/vsynth1/error
tests/ref/vsynth2/error

Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years agoh264 fill_filter_caches: Dont init chroma nnz_cache.
Michael Niedermayer [Fri, 3 Jun 2011 01:43:46 +0000 (03:43 +0200)]
h264 fill_filter_caches: Dont init chroma nnz_cache.

Found-by: Dark Shikari
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years agoIn print_report, print progression time in hours:mins:secs:us
Baptiste Coudurier [Thu, 2 Jun 2011 22:29:36 +0000 (00:29 +0200)]
In print_report, print progression time in hours:mins:secs:us

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years agoffmpeg: In print_report, use int64_t for pts to check for 0 and avoid inf value for...
Baptiste Coudurier [Thu, 2 Jun 2011 22:28:52 +0000 (00:28 +0200)]
ffmpeg: In print_report, use int64_t for pts to check for 0 and avoid inf value for bitrate.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years agoIn libswscale, use all lines when converting from 422p to rgb with mmx, improve quality.
Baptiste Coudurier [Thu, 2 Jun 2011 22:12:43 +0000 (00:12 +0200)]
In libswscale, use all lines when converting from 422p to rgb with mmx, improve quality.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 agolavfi: add avfilter_link_free() function
Stefano Sabatini [Thu, 2 Jun 2011 15:45:33 +0000 (17:45 +0200)]
lavfi: add avfilter_link_free() function

Allow to free the buffers cached in each AVFilterLink pool.
Fix leak.

13 years agoswscale: reintroduce sws_format_name() symbol
Stefano Sabatini [Thu, 2 Jun 2011 17:00:47 +0000 (19:00 +0200)]
swscale: reintroduce sws_format_name() symbol

Reintroduce the internal symbol which was removed in:

commit e1197b9e1746c03b1d13d816d1569aeaf1b71ecc
Author: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Date:   Sun May 29 17:57:40 2011 +0200

    swscale: remove sws_format_name()

    Use av_get_pix_fmt_name() instead.

The symbol is used by some external libs (hi libx264!), this gives
time to them to use the recently added av_get_pix_fmt_name() rather
than an internal symbol.

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: dither for planar yuv outputs
Michael Niedermayer [Thu, 2 Jun 2011 02:41:44 +0000 (04:41 +0200)]
swscale: dither for planar yuv outputs

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years agoswscale: Fix use of uninitialized values
Michael Niedermayer [Thu, 2 Jun 2011 17:26:40 +0000 (19:26 +0200)]
swscale: Fix use of uninitialized values
(bug probably introduced from a marge of libav)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years agocpudetect: add av_force_cpu_flags()
Michael Niedermayer [Thu, 2 Jun 2011 14:09:22 +0000 (16:09 +0200)]
cpudetect: add av_force_cpu_flags()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 agovsrc_buffer: propagate error code in av_vsrc_buffer_add_frame()
Stefano Sabatini [Thu, 2 Jun 2011 14:09:24 +0000 (16:09 +0200)]
vsrc_buffer: propagate error code in av_vsrc_buffer_add_frame()

Propagate av_vsrc_buffer_add_video_buffer_ref() error code rather than
return 0.

13 years agolavfi: reindent after the previous commit
Stefano Sabatini [Thu, 2 Jun 2011 14:36:12 +0000 (16:36 +0200)]
lavfi: reindent after the previous commit

13 years agolavfi: add braces around the block of an if() expression in avfilter_default_get_vide...
Stefano Sabatini [Thu, 2 Jun 2011 14:33:25 +0000 (16:33 +0200)]
lavfi: add braces around the block of an if() expression in avfilter_default_get_video_buffer

Clarify code layout.

13 years agolavfi: clarify the context of a comment in avfilter_default_get_video_buffer()
Stefano Sabatini [Thu, 2 Jun 2011 14:27:56 +0000 (16:27 +0200)]
lavfi: clarify the context of a comment in avfilter_default_get_video_buffer()

The comment is meant to be about the align parameter.

13 years agolavfi: apply misc style fixes
Stefano Sabatini [Thu, 2 Jun 2011 14:26:55 +0000 (16:26 +0200)]
lavfi: apply misc style fixes

Adopt K&R style for overall consistency/readability.

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 agodoc: cosmetics: libx264 typos
James Zern [Wed, 1 Jun 2011 20:56:12 +0000 (13:56 -0700)]
doc: cosmetics: libx264 typos

13 years agopostprocess: Remove test for impossible condition (was: Re: postprocess.c: replace...
Piotr Kaczuba [Wed, 1 Jun 2011 16:47:37 +0000 (18:47 +0200)]
postprocess: Remove test for impossible condition (was: Re: postprocess.c: replace check for p==NULL with *p==0)