OSDN Git Service

android-x86/external-ffmpeg.git
11 years agotiff: fix handling of metadata with refcounted frames
Hendrik Leppkes [Wed, 13 Mar 2013 17:51:17 +0000 (18:51 +0100)]
tiff: fix handling of metadata with refcounted frames

Since the conversion to refcounted frames, the tiff decoder
only wrote the metadata into its internal "picture" in its own context,
never exposing the metadata to the user, and eventually leaking the
metadata.

Instead, properly store the metadata directly into the frame being decoded into.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoyadif: restore speed of the C filtering code
James Darnley [Sun, 10 Mar 2013 14:08:50 +0000 (15:08 +0100)]
yadif: restore speed of the C filtering code

Always use the special filter for the first and last 3 columns (only).

Changes made in 64ed397 slowed the filter to just under 3/4 of what it
was.  This commit restores the speed while maintaining identical output.

For reference, on my Athlon64:
1733222 decicycles in old
2358563 decicycles in new
1727558 decicycles in this

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavfi/cropdetect: add support for named options
Stefano Sabatini [Wed, 13 Mar 2013 00:13:04 +0000 (01:13 +0100)]
lavfi/cropdetect: add support for named options

11 years agolavu/frame: free frame metadata when unrefing a frame.
Hendrik Leppkes [Wed, 13 Mar 2013 16:51:07 +0000 (17:51 +0100)]
lavu/frame: free frame metadata when unrefing a frame.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavcodec: remove AVCodecContext->metadata
Hendrik Leppkes [Wed, 13 Mar 2013 16:51:06 +0000 (17:51 +0100)]
avcodec: remove AVCodecContext->metadata

This field was only ever set and freed from avcodec, and not otherwise
used. However, because frames are refcounted now, avcodec cannot make any
assumptions about the lifetime of the frame metadata, which can result in
double-frees or leaked memory.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavfi/delogo: remove sscanf and rely on av_opt_set_from_string() only.
Clément Bœsch [Wed, 13 Mar 2013 03:21:53 +0000 (04:21 +0100)]
lavfi/delogo: remove sscanf and rely on av_opt_set_from_string() only.

11 years agolavc/crystalhd: remove now unecessary buffer_hints.
Clément Bœsch [Wed, 13 Mar 2013 17:56:34 +0000 (18:56 +0100)]
lavc/crystalhd: remove now unecessary buffer_hints.

11 years agolavc: factorize ff_{thread_,re,}get_buffer error messages.
Clément Bœsch [Tue, 12 Mar 2013 07:41:53 +0000 (08:41 +0100)]
lavc: factorize ff_{thread_,re,}get_buffer error messages.

Coccinelle profile used:

  @@
  expression r, ctx, f, loglevel, str, flags;
  @@

  -if ((r = ff_get_buffer(ctx, f, flags)) < 0) {
  -    av_log(ctx, loglevel, str);
  -    return r;
  -}
  +if ((r = ff_get_buffer(ctx, f, flags)) < 0)
  +    return r;

  @@
  expression r, ctx, f, loglevel, str;
  @@

  -if ((r = ff_reget_buffer(ctx, f)) < 0) {
  -    av_log(ctx, loglevel, str);
  -    return r;
  -}
  +if ((r = ff_reget_buffer(ctx, f)) < 0)
  +    return r;

  @@
  expression r, ctx, f, loglevel, str, flags;
  @@

  -if ((r = ff_thread_get_buffer(ctx, f, flags)) < 0) {
  -    av_log(ctx, loglevel, str);
  -    return r;
  -}
  +if ((r = ff_thread_get_buffer(ctx, f, flags)) < 0)
  +    return r;

...along with some manual patches for the remaining ones.

11 years agolavfi/thumbnail: remove unecessary poll_frame() callback.
Clément Bœsch [Wed, 13 Mar 2013 09:23:14 +0000 (10:23 +0100)]
lavfi/thumbnail: remove unecessary poll_frame() callback.

11 years agolavfi/mptestsrc: raise filter_frame() error.
Clément Bœsch [Wed, 13 Mar 2013 08:57:31 +0000 (09:57 +0100)]
lavfi/mptestsrc: raise filter_frame() error.

11 years agolavfi/mandelbrot: raise filter_frame() error.
Clément Bœsch [Wed, 13 Mar 2013 08:57:18 +0000 (09:57 +0100)]
lavfi/mandelbrot: raise filter_frame() error.

11 years agolavfi/life: raise filter_frame() error.
Clément Bœsch [Wed, 13 Mar 2013 08:57:11 +0000 (09:57 +0100)]
lavfi/life: raise filter_frame() error.

11 years agolavfi/cellauto: raise filter_frame() error.
Clément Bœsch [Wed, 13 Mar 2013 08:57:05 +0000 (09:57 +0100)]
lavfi/cellauto: raise filter_frame() error.

11 years agolavfi/alphamerge: raise filter_frame() error.
Clément Bœsch [Wed, 13 Mar 2013 08:56:58 +0000 (09:56 +0100)]
lavfi/alphamerge: raise filter_frame() error.

11 years agolavfi/movie: raise filter_frame() error.
Clément Bœsch [Wed, 13 Mar 2013 08:56:50 +0000 (09:56 +0100)]
lavfi/movie: raise filter_frame() error.

11 years agolavfi/buffersrc: raise filter_frame() error.
Clément Bœsch [Wed, 13 Mar 2013 08:56:42 +0000 (09:56 +0100)]
lavfi/buffersrc: raise filter_frame() error.

11 years agolavfi/showspectrum: raise filter_frame() error.
Clément Bœsch [Wed, 13 Mar 2013 08:56:35 +0000 (09:56 +0100)]
lavfi/showspectrum: raise filter_frame() error.

11 years agolavfi/avfilter: raise filter_frame() error.
Clément Bœsch [Wed, 13 Mar 2013 08:56:26 +0000 (09:56 +0100)]
lavfi/avfilter: raise filter_frame() error.

11 years agolavfi/concat: raise filter_frame() error.
Clément Bœsch [Wed, 13 Mar 2013 08:56:18 +0000 (09:56 +0100)]
lavfi/concat: raise filter_frame() error.

11 years agolavfi/anullsrc: raise filter_frame() error.
Clément Bœsch [Wed, 13 Mar 2013 08:56:09 +0000 (09:56 +0100)]
lavfi/anullsrc: raise filter_frame() error.

11 years agolavfi/aevalsrc: raise filter_frame() error.
Clément Bœsch [Wed, 13 Mar 2013 08:55:56 +0000 (09:55 +0100)]
lavfi/aevalsrc: raise filter_frame() error.

11 years agolavfi/atempo: raise filter_frame() error.
Clément Bœsch [Wed, 13 Mar 2013 08:55:43 +0000 (09:55 +0100)]
lavfi/atempo: raise filter_frame() error.

11 years agolavfi/asetnsamples: raise filter_frame() error.
Clément Bœsch [Wed, 13 Mar 2013 08:55:32 +0000 (09:55 +0100)]
lavfi/asetnsamples: raise filter_frame() error.

11 years agolavfi/aresample: raise filter_frame() error.
Clément Bœsch [Wed, 13 Mar 2013 08:55:18 +0000 (09:55 +0100)]
lavfi/aresample: raise filter_frame() error.

11 years agolavu/frame: av_frame_make_writable: set the channels on the new frame.
Hendrik Leppkes [Wed, 13 Mar 2013 12:44:55 +0000 (13:44 +0100)]
lavu/frame: av_frame_make_writable: set the channels on the new frame.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavu/frame: copy all frame properties in av_frame_copy_props
Hendrik Leppkes [Wed, 13 Mar 2013 12:41:21 +0000 (13:41 +0100)]
lavu/frame: copy all frame properties in av_frame_copy_props

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodsputil: remove deprecated dsp_mask usage
Hendrik Leppkes [Wed, 13 Mar 2013 12:20:43 +0000 (13:20 +0100)]
dsputil: remove deprecated dsp_mask usage

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodsputil_mmx: remove unused variables
Michael Niedermayer [Wed, 13 Mar 2013 14:07:46 +0000 (15:07 +0100)]
dsputil_mmx: remove unused variables

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoexr: silence warning "libavcodec/exr.c:351:9: warning: variable ret set but not used"
Michael Niedermayer [Wed, 13 Mar 2013 13:56:22 +0000 (14:56 +0100)]
exr: silence warning "libavcodec/exr.c:351:9: warning: variable ret set but not used"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 13 Mar 2013 13:49:00 +0000 (14:49 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  hqdn3d: Fix out of array read in LOWPASS
  cabac: remove unused argument of ff_init_cabac_states()
  rawdec: fix a typo -- || instead of |

Conflicts:
libavcodec/cabac.c
libavcodec/h264.c
libavfilter/vf_hqdn3d.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '37cb3b180a1dc3d6f123f68e0806585ebc2578b6'
Michael Niedermayer [Wed, 13 Mar 2013 13:41:18 +0000 (14:41 +0100)]
Merge commit '37cb3b180a1dc3d6f123f68e0806585ebc2578b6'

* commit '37cb3b180a1dc3d6f123f68e0806585ebc2578b6':
  matroskadec: request a read buffer for the wav header

See: d0b450457b3aeb8c234b0b0a987db55d3485326b

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agovc1: fix int/ptrdiff_t mismatches
Michael Niedermayer [Wed, 13 Mar 2013 13:31:39 +0000 (14:31 +0100)]
vc1: fix int/ptrdiff_t mismatches

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'a8b6015823e628047a45916404c00044c5e80415'
Michael Niedermayer [Wed, 13 Mar 2013 13:18:53 +0000 (14:18 +0100)]
Merge commit 'a8b6015823e628047a45916404c00044c5e80415'

* commit 'a8b6015823e628047a45916404c00044c5e80415':
  dsputil: convert remaining functions to use ptrdiff_t strides

Conflicts:
libavcodec/dsputil.h
libavcodec/dsputil_template.c
libavcodec/h264qpel_template.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'a4472ac01e86f9fae5adb9034f2777b86a9c5480'
Michael Niedermayer [Wed, 13 Mar 2013 13:03:22 +0000 (14:03 +0100)]
Merge commit 'a4472ac01e86f9fae5adb9034f2777b86a9c5480'

* commit 'a4472ac01e86f9fae5adb9034f2777b86a9c5480':
  Add informative messages to av_log_ask_for_sample calls lacking them
  anm: Get rid of some very silly goto statements

Conflicts:
libavformat/anm.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '202c2acc40a6de8758b44ab3f5c85ab250079734'
Michael Niedermayer [Wed, 13 Mar 2013 12:53:02 +0000 (13:53 +0100)]
Merge commit '202c2acc40a6de8758b44ab3f5c85ab250079734'

* commit '202c2acc40a6de8758b44ab3f5c85ab250079734':
  vda: remove async decoder leftovers

Conflicts:
libavcodec/vda_h264.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'a2816230c5c0a8fc72bc0163b7d21a96b194d87a'
Michael Niedermayer [Wed, 13 Mar 2013 12:45:50 +0000 (13:45 +0100)]
Merge commit 'a2816230c5c0a8fc72bc0163b7d21a96b194d87a'

* commit 'a2816230c5c0a8fc72bc0163b7d21a96b194d87a':
  avframe: call release_buffer only if it is set

Conflicts:
libavcodec/utils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'fce68c93554803801c32c1b20509bfa8d496b02a'
Michael Niedermayer [Wed, 13 Mar 2013 12:39:01 +0000 (13:39 +0100)]
Merge commit 'fce68c93554803801c32c1b20509bfa8d496b02a'

* commit 'fce68c93554803801c32c1b20509bfa8d496b02a':
  pthread: unref the decoded but not returned frames on close.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '555000c7d5c1e13043a948ebc48d2939b0ba6536'
Michael Niedermayer [Wed, 13 Mar 2013 12:32:59 +0000 (13:32 +0100)]
Merge commit '555000c7d5c1e13043a948ebc48d2939b0ba6536'

* commit '555000c7d5c1e13043a948ebc48d2939b0ba6536':
  h264: check that DPB is allocated before accessing it in flush_dpb()
  vf_hqdn3d: fix uninitialized variable use
  vf_gradfun: fix uninitialized variable use

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'c2597c5a0a08526493abb9bc9544b61a290fe20f'
Michael Niedermayer [Wed, 13 Mar 2013 12:28:29 +0000 (13:28 +0100)]
Merge commit 'c2597c5a0a08526493abb9bc9544b61a290fe20f'

* commit 'c2597c5a0a08526493abb9bc9544b61a290fe20f':
  h264_refs: cosmetics, reformat

Conflicts:
libavcodec/h264_refs.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'f08fefc4d099f2a1f2e3a6db3d340537e601f762'
Michael Niedermayer [Wed, 13 Mar 2013 12:17:43 +0000 (13:17 +0100)]
Merge commit 'f08fefc4d099f2a1f2e3a6db3d340537e601f762'

* commit 'f08fefc4d099f2a1f2e3a6db3d340537e601f762':
  h264: remove a useless svq3 condition
  mpegvideo: remove FMT_H264

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'cehoyos/master'
Michael Niedermayer [Wed, 13 Mar 2013 12:12:06 +0000 (13:12 +0100)]
Merge remote-tracking branch 'cehoyos/master'

* cehoyos/master:
  avframe: Copy buffer type in copy_props.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'ee8704916de79158da8a48a9ea5be819e83d23ba'
Michael Niedermayer [Wed, 13 Mar 2013 12:08:04 +0000 (13:08 +0100)]
Merge commit 'ee8704916de79158da8a48a9ea5be819e83d23ba'

* commit 'ee8704916de79158da8a48a9ea5be819e83d23ba':
  mpegvideo: reindent

Conflicts:
libavcodec/mpegvideo.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavframe: Copy buffer type in copy_props.
Carl Eugen Hoyos [Wed, 13 Mar 2013 11:47:56 +0000 (12:47 +0100)]
avframe: Copy buffer type in copy_props.

Fixes VDPAU decoding with MPlayer.

11 years agoMerge commit '19cac8e301419dcde31526d15196a952ddf2c4c7'
Michael Niedermayer [Wed, 13 Mar 2013 11:56:43 +0000 (12:56 +0100)]
Merge commit '19cac8e301419dcde31526d15196a952ddf2c4c7'

* commit '19cac8e301419dcde31526d15196a952ddf2c4c7':
  mpegvideo: remove useless references to h264 and svq3

Conflicts:
libavcodec/mpegvideo.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '85a5bc054c1290699ccbf5799ba6c4e2fbcc3530'
Michael Niedermayer [Wed, 13 Mar 2013 11:50:50 +0000 (12:50 +0100)]
Merge commit '85a5bc054c1290699ccbf5799ba6c4e2fbcc3530'

* commit '85a5bc054c1290699ccbf5799ba6c4e2fbcc3530':
  lavf: remove disabled FF_API_R_FRAME_RATE cruft

Conflicts:
libavformat/avformat.h
libavformat/electronicarts.c
libavformat/rawdec.c
libavformat/utils.c
libavformat/version.h

The field is in use and no semantically equivalent field is available,
thus not removed

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat: postpone API removials where the functions are trivial wrapers
Michael Niedermayer [Wed, 13 Mar 2013 11:43:02 +0000 (12:43 +0100)]
avformat: postpone API removials where the functions are trivial wrapers

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '7b486ab13bfcfa88a7cd92586de50e49966ec292'
Michael Niedermayer [Wed, 13 Mar 2013 11:37:03 +0000 (12:37 +0100)]
Merge commit '7b486ab13bfcfa88a7cd92586de50e49966ec292'

* commit '7b486ab13bfcfa88a7cd92586de50e49966ec292':
  lavf: remove disabled FF_API_AV_GETTIME cruft
  lavf: remove disabled FF_API_INTERLEAVE_PACKET cruft

Conflicts:
libavformat/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '435c2a31ad5eead20eda1152097f60c3bfa22847'
Michael Niedermayer [Wed, 13 Mar 2013 11:29:26 +0000 (12:29 +0100)]
Merge commit '435c2a31ad5eead20eda1152097f60c3bfa22847'

* commit '435c2a31ad5eead20eda1152097f60c3bfa22847':
  lavf: remove disabled FF_API_READ_PACKET cruft

Conflicts:
libavformat/version.h

Removial postponed as wraper is trivial

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'c7e044c61bb08b3a6e1e8063e8f4449c88b01201'
Michael Niedermayer [Wed, 13 Mar 2013 11:21:43 +0000 (12:21 +0100)]
Merge commit 'c7e044c61bb08b3a6e1e8063e8f4449c88b01201'

* commit 'c7e044c61bb08b3a6e1e8063e8f4449c88b01201':
  lavf: remove disabled FF_API_APPLEHTTP_PROTO cruft

Conflicts:
libavformat/allformats.c
libavformat/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavc: remove disabled 8SVX_RAW cruft
Paul B Mahol [Wed, 13 Mar 2013 11:12:05 +0000 (11:12 +0000)]
lavc: remove disabled 8SVX_RAW cruft

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoMerge commit '0a7c4daf469d4ac447fb822fe78337f62f4c04e6'
Michael Niedermayer [Wed, 13 Mar 2013 11:12:06 +0000 (12:12 +0100)]
Merge commit '0a7c4daf469d4ac447fb822fe78337f62f4c04e6'

* commit '0a7c4daf469d4ac447fb822fe78337f62f4c04e6':
  lavf: remove disabled FF_API_CLOSE_INPUT_FILE cruft

Conflicts:
libavformat/version.h

removial postponed as the wraper code is trivial

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'd6ed604cf4ca86ed345125b26eb5bdeea6d6bf68'
Michael Niedermayer [Wed, 13 Mar 2013 11:03:22 +0000 (12:03 +0100)]
Merge commit 'd6ed604cf4ca86ed345125b26eb5bdeea6d6bf68'

* commit 'd6ed604cf4ca86ed345125b26eb5bdeea6d6bf68':
  lavc: remove disabled FF_API_IDCT cruft

Conflicts:
libavcodec/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '3bcdf8dcb9891ffe49b6398d0e2c02f1712d8f00'
Michael Niedermayer [Wed, 13 Mar 2013 10:53:57 +0000 (11:53 +0100)]
Merge commit '3bcdf8dcb9891ffe49b6398d0e2c02f1712d8f00'

* commit '3bcdf8dcb9891ffe49b6398d0e2c02f1712d8f00':
  lavc: remove disabled FF_API_SNOW cruft

Conflicts:
libavcodec/avcodec.h
libavcodec/options_table.h
libavcodec/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agobktr: add missing #include for av_gettime()
Paul B Mahol [Wed, 13 Mar 2013 10:48:09 +0000 (10:48 +0000)]
bktr: add missing #include for av_gettime()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoMerge commit 'fcb07e8b332bbd6f9558bff98ff5102c5f2d8252'
Michael Niedermayer [Wed, 13 Mar 2013 10:29:04 +0000 (11:29 +0100)]
Merge commit 'fcb07e8b332bbd6f9558bff98ff5102c5f2d8252'

* commit 'fcb07e8b332bbd6f9558bff98ff5102c5f2d8252':
  lavc: remove disabled FF_API_MMI cruft

Conflicts:
libavcodec/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoRevert "Merge commit '0517c9e098092709397cc522c59fa63c83cc81be'" bring the old audio...
Michael Niedermayer [Wed, 13 Mar 2013 09:57:00 +0000 (10:57 +0100)]
Revert "Merge commit '0517c9e098092709397cc522c59fa63c83cc81be'" bring the old audio resampling API back

This reverts commit d3edc65dd1e5b5d4246fcb8bcd216eb558bab7d4, reversing
changes made to 150de78d7c9cee65b4095832b25ae353e0d7c7af.

Conflicts:

libavcodec/version.h

It seems there are several applications still using it

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agovc1dec: remove unused variables
Michael Niedermayer [Wed, 13 Mar 2013 09:51:53 +0000 (10:51 +0100)]
vc1dec: remove unused variables

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoCrystalHD: Port to ref-counted frame API.
Philip Langdale [Wed, 13 Mar 2013 04:53:22 +0000 (21:53 -0700)]
CrystalHD: Port to ref-counted frame API.

Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agohqdn3d: Fix out of array read in LOWPASS
Loren Merritt [Fri, 21 Sep 2012 23:43:16 +0000 (01:43 +0200)]
hqdn3d: Fix out of array read in LOWPASS

CC:libav-stable@libav.org
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agocabac: remove unused argument of ff_init_cabac_states()
Michael Niedermayer [Sun, 26 Aug 2012 03:44:46 +0000 (05:44 +0200)]
cabac: remove unused argument of ff_init_cabac_states()

Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agorawdec: fix a typo -- || instead of |
Nicolas George [Sat, 9 Mar 2013 15:47:38 +0000 (16:47 +0100)]
rawdec: fix a typo -- || instead of |

Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoopt: re-enable memleak fix for duplicated options.
Clément Bœsch [Thu, 15 Nov 2012 15:11:04 +0000 (17:11 +0200)]
opt: re-enable memleak fix for duplicated options.

The memleak fix in a1bcc76e was causing problems when the original
string wasn't NULL or av_malloc'ed, thus was disabled. It seems the only
OPT_STRING occurence where it needed to be fixed is in ffserver. This
commit fixes that specific problem and so re-enable the original code.

11 years agovp56: remove unused variable
Michael Niedermayer [Wed, 13 Mar 2013 02:47:16 +0000 (03:47 +0100)]
vp56: remove unused variable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodsputil: remove hpel functions (moved to hpeldsp).
Ronald S. Bultje [Sun, 10 Mar 2013 21:23:46 +0000 (14:23 -0700)]
dsputil: remove hpel functions (moved to hpeldsp).

11 years agoMove alpha half-pel assembly from dsputil to hpeldsp.
Ronald S. Bultje [Sun, 10 Mar 2013 23:53:07 +0000 (16:53 -0700)]
Move alpha half-pel assembly from dsputil to hpeldsp.

11 years agoMove sparc/vis half-pel assembly from dsputil to hpeldsp.
Ronald S. Bultje [Sun, 10 Mar 2013 23:51:25 +0000 (16:51 -0700)]
Move sparc/vis half-pel assembly from dsputil to hpeldsp.

11 years agoMove sh4 half-pel assembly from dsputil to hpeldsp.
Michael Niedermayer [Sun, 10 Mar 2013 23:48:31 +0000 (16:48 -0700)]
Move sh4 half-pel assembly from dsputil to hpeldsp.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMove bfin half-pel assembly from dsputil to hpeldsp.
Ronald S. Bultje [Sun, 10 Mar 2013 23:40:23 +0000 (16:40 -0700)]
Move bfin half-pel assembly from dsputil to hpeldsp.

11 years agoMove arm half-pel assembly from dsputil to hpeldsp.
Ronald S. Bultje [Sun, 10 Mar 2013 23:16:45 +0000 (16:16 -0700)]
Move arm half-pel assembly from dsputil to hpeldsp.

11 years agoMove ppc half-pel assembly from dsputil to hpeldsp.
Ronald S. Bultje [Sun, 10 Mar 2013 22:50:53 +0000 (15:50 -0700)]
Move ppc half-pel assembly from dsputil to hpeldsp.

11 years agoMove x86 half-pel assembly from dsputil to hpeldsp.
Ronald S. Bultje [Sun, 10 Mar 2013 22:37:59 +0000 (15:37 -0700)]
Move x86 half-pel assembly from dsputil to hpeldsp.

11 years agomjpeg: use hpeldsp instead of dsputil for half-pel functions.
Ronald S. Bultje [Sun, 10 Mar 2013 21:23:52 +0000 (14:23 -0700)]
mjpeg: use hpeldsp instead of dsputil for half-pel functions.

11 years agosvq1enc: use hpeldsp instead of dsputil for half-pel functions.
Ronald S. Bultje [Sun, 10 Mar 2013 21:16:00 +0000 (14:16 -0700)]
svq1enc: use hpeldsp instead of dsputil for half-pel functions.

11 years agosnow: use hpeldsp instead of dsputil for half-pel functions.
Ronald S. Bultje [Sun, 10 Mar 2013 21:14:35 +0000 (14:14 -0700)]
snow: use hpeldsp instead of dsputil for half-pel functions.

11 years agosvq3: use hpeldsp instead of dsputil for half-pel functions.
Ronald S. Bultje [Sun, 10 Mar 2013 21:12:58 +0000 (14:12 -0700)]
svq3: use hpeldsp instead of dsputil for half-pel functions.

11 years agompegvideo: use hpeldsp instead of dsputil for half-pel functions.
Ronald S. Bultje [Sun, 10 Mar 2013 20:55:07 +0000 (13:55 -0700)]
mpegvideo: use hpeldsp instead of dsputil for half-pel functions.

This also converts vc1, since that is mpegvideo-based.

11 years agosvq1: use hpeldsp instead of dsputil for half-pel functions.
Ronald S. Bultje [Sun, 10 Mar 2013 20:38:45 +0000 (13:38 -0700)]
svq1: use hpeldsp instead of dsputil for half-pel functions.

This makes svq1 independent of dsputil.

11 years agomimic: use hpeldsp instead of dsputil for half-pel functions.
Ronald S. Bultje [Sun, 10 Mar 2013 20:32:10 +0000 (13:32 -0700)]
mimic: use hpeldsp instead of dsputil for half-pel functions.

11 years agointerplayvideo: use hpeldsp instead of dsputil for half-pel functions.
Ronald S. Bultje [Sun, 10 Mar 2013 19:58:02 +0000 (12:58 -0700)]
interplayvideo: use hpeldsp instead of dsputil for half-pel functions.

This makes interplayvideo independent of dsputil.

11 years agobink: use hpeldsp instead of dsputil for half-pel functions.
Ronald S. Bultje [Sun, 10 Mar 2013 16:12:01 +0000 (09:12 -0700)]
bink: use hpeldsp instead of dsputil for half-pel functions.

11 years agoindeo3: use hpeldsp instead of dsputil for half-pel functions.
Ronald S. Bultje [Sun, 10 Mar 2013 15:19:27 +0000 (08:19 -0700)]
indeo3: use hpeldsp instead of dsputil for half-pel functions.

This makes indeo3 independent of dsputil.

11 years agovp56: use hpeldsp instead of dsputil for half-pel functions.
Ronald S. Bultje [Sun, 10 Mar 2013 13:55:58 +0000 (06:55 -0700)]
vp56: use hpeldsp instead of dsputil for half-pel functions.

This makes vp5 and vp6 independent of dsputil.

11 years agovp3: use hpeldsp instead of dsputil for half-pel functions.
Ronald S. Bultje [Sun, 10 Mar 2013 05:26:09 +0000 (21:26 -0800)]
vp3: use hpeldsp instead of dsputil for half-pel functions.

This makes vp3 independent of dsputil.

11 years agohpeldsp: add half-pel functions (currently copies of dsputil).
Ronald S. Bultje [Sat, 9 Mar 2013 23:14:35 +0000 (15:14 -0800)]
hpeldsp: add half-pel functions (currently copies of dsputil).

11 years agoMerge commit 'de27d2b92fa97deb2856d18e9f5f19586ce45a0f'
Michael Niedermayer [Wed, 13 Mar 2013 01:56:33 +0000 (02:56 +0100)]
Merge commit 'de27d2b92fa97deb2856d18e9f5f19586ce45a0f'

* commit 'de27d2b92fa97deb2856d18e9f5f19586ce45a0f':
  lavc: remove disabled FF_API_LIBMPEG2 cruft

Conflicts:
libavcodec/avcodec.h
libavcodec/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '0517c9e098092709397cc522c59fa63c83cc81be'
Michael Niedermayer [Wed, 13 Mar 2013 01:41:18 +0000 (02:41 +0100)]
Merge commit '0517c9e098092709397cc522c59fa63c83cc81be'

* commit '0517c9e098092709397cc522c59fa63c83cc81be':
  lavc: remove disabled FF_API_AVCODEC_RESAMPLE cruft

Conflicts:
libavcodec/Makefile
libavcodec/avcodec.h
libavcodec/resample.c
libavcodec/resample2.c
libavcodec/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'd6d369bf1370999896500ae7eb5b9447ab635a3d'
Michael Niedermayer [Wed, 13 Mar 2013 01:08:41 +0000 (02:08 +0100)]
Merge commit 'd6d369bf1370999896500ae7eb5b9447ab635a3d'

* commit 'd6d369bf1370999896500ae7eb5b9447ab635a3d':
  atomic: prefer gcc builtins over win32 atomics, if available.
  avframe: copy reordered_opaque in copy_props

Conflicts:
libavutil/frame.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '684e3d2e1ce96625eeef63f2564aab66f6715d05'
Michael Niedermayer [Wed, 13 Mar 2013 01:02:00 +0000 (02:02 +0100)]
Merge commit '684e3d2e1ce96625eeef63f2564aab66f6715d05'

* commit '684e3d2e1ce96625eeef63f2564aab66f6715d05':
  ra144: check buffer size before requesting a buffer
  wmapro: unref skipped frames

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'e3232f34312f8187094c875445683277ed0c209d'
Michael Niedermayer [Wed, 13 Mar 2013 00:55:08 +0000 (01:55 +0100)]
Merge commit 'e3232f34312f8187094c875445683277ed0c209d'

* commit 'e3232f34312f8187094c875445683277ed0c209d':
  svq1: use av_frame_free to free refcounted frame
  lavc: fix get_buffer() compatibility layer for audio.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '98cec5c84feff34e04428de4a86836a83657ae5e'
Michael Niedermayer [Wed, 13 Mar 2013 00:47:39 +0000 (01:47 +0100)]
Merge commit '98cec5c84feff34e04428de4a86836a83657ae5e'

* commit '98cec5c84feff34e04428de4a86836a83657ae5e':
  ratecontrol: remove an unused variable
  vorbisdec: do not leak the first frame.
  vf_pad: fix a & instead of && typo

Conflicts:
libavfilter/vf_pad.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavpacket: do not copy data when buf ref is available.
Clément Bœsch [Tue, 12 Mar 2013 07:13:21 +0000 (08:13 +0100)]
avpacket: do not copy data when buf ref is available.

This at least fixes issues with lavf/subtitles. The behaviour of
av_dup_packet() is unchanged, only av_copy_packet() is affected.

11 years agoMerge commit '2eaa3663fda750dac66d41fe8541a8744d5563a4'
Michael Niedermayer [Wed, 13 Mar 2013 00:31:46 +0000 (01:31 +0100)]
Merge commit '2eaa3663fda750dac66d41fe8541a8744d5563a4'

* commit '2eaa3663fda750dac66d41fe8541a8744d5563a4':
  avplay: enable only when SDL 1.2 is found

Conflicts:
configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'adfa53d67c7a3318157ea9d95e8bdcfb77139452'
Michael Niedermayer [Wed, 13 Mar 2013 00:12:57 +0000 (01:12 +0100)]
Merge commit 'adfa53d67c7a3318157ea9d95e8bdcfb77139452'

* commit 'adfa53d67c7a3318157ea9d95e8bdcfb77139452':
  lavc: remove disabled FF_API_VDA_ASYNC cruft

Conflicts:
libavcodec/vda.h
libavcodec/vda_h264.c
libavcodec/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavcodec: assert that old codec ids match new
Michael Niedermayer [Tue, 12 Mar 2013 23:39:05 +0000 (00:39 +0100)]
avcodec: assert that old codec ids match new

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'bdd1567c355a8092e7746ef99e831d579e34fa6a'
Michael Niedermayer [Tue, 12 Mar 2013 23:48:58 +0000 (00:48 +0100)]
Merge commit 'bdd1567c355a8092e7746ef99e831d579e34fa6a'

* commit 'bdd1567c355a8092e7746ef99e831d579e34fa6a':
  lavc: remove disabled FF_API_CODEC_ID cruft

Conflicts:
libavcodec/old_codec_ids.h
libavcodec/version.h

Only the #define is removed
The CODEC_IDs itself are left until theres some reason to remove
them.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavfi/fieldorder: add support to named options
Stefano Sabatini [Sun, 10 Mar 2013 16:36:29 +0000 (17:36 +0100)]
lavfi/fieldorder: add support to named options

11 years agolavfi/fieldorder: remove unused headers and commented define
Stefano Sabatini [Sun, 10 Mar 2013 16:35:54 +0000 (17:35 +0100)]
lavfi/fieldorder: remove unused headers and commented define

11 years agolavc: extend documentation for skip_idct, skip_loop_filter, skip_frame options
Stefano Sabatini [Sun, 10 Mar 2013 15:15:48 +0000 (16:15 +0100)]
lavc: extend documentation for skip_idct, skip_loop_filter, skip_frame options

11 years agoffprobe: support codec options
Stefano Sabatini [Wed, 6 Mar 2013 23:47:59 +0000 (00:47 +0100)]
ffprobe: support codec options

Make ffprobe honour codec options, and support stream specifiers like it
is done in ffplay.

In particular, address Trac ticket #1859.

11 years agocmdutils: improve feedback in case of not found option
Stefano Sabatini [Sun, 10 Mar 2013 14:36:20 +0000 (15:36 +0100)]
cmdutils: improve feedback in case of not found option