OSDN Git Service

coroid/ffmpeg_saccubus.git
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 3 Jul 2011 00:56:12 +0000 (02:56 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  ARM: ac3: update ff_ac3_extract_exponents_neon per 8b7b2d6
  ARM: NEON optimised vector_clip_int32()
  swscale: disable full_chroma_int when converting to non-24/32bpp RGB.
  suggest to use av_get_bytes_per_sample() in av_get_bits_per_sample_format() doxy
  ffmpeg: use av_get_bytes_per_sample() in place of av_get_bits_per_sample_fmt()
  put_bits: remove ALT_BITSTREAM_WRITER
  put_bits: always use intreadwrite.h macros
  libavformat: Add an example how to use the metadata API
  doxygen: Prefer member groups over grouping into modules
  doxygen: be more permissive when searching for API examples
  avformat: doxify the Metadata API
  lavf: restore old behavior for custom AVIOContex with an AVFMT_NOFILE format.
  lavf: use the correct pointer in av_open_input_stream().
  avidec: infer absolute vs relative index from first packet

Conflicts:
libavformat/Makefile
libavformat/avidec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoARM: ac3: update ff_ac3_extract_exponents_neon per 8b7b2d6
Mans Rullgard [Sat, 2 Jul 2011 17:24:13 +0000 (18:24 +0100)]
ARM: ac3: update ff_ac3_extract_exponents_neon per 8b7b2d6

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoARM: NEON optimised vector_clip_int32()
Mans Rullgard [Sat, 2 Jul 2011 16:21:02 +0000 (17:21 +0100)]
ARM: NEON optimised vector_clip_int32()

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoswscale: disable full_chroma_int when converting to non-24/32bpp RGB.
Ronald S. Bultje [Sun, 26 Jun 2011 22:52:01 +0000 (15:52 -0700)]
swscale: disable full_chroma_int when converting to non-24/32bpp RGB.

This functionality is only implemented for RGB24/32 and causes crashes
otherwise.

12 years agosuggest to use av_get_bytes_per_sample() in av_get_bits_per_sample_format() doxy
Stefano Sabatini [Sat, 2 Jul 2011 11:22:35 +0000 (13:22 +0200)]
suggest to use av_get_bytes_per_sample() in av_get_bits_per_sample_format() doxy

The previously suggested replacement - av_get_bits_per_sample_fmt() -
was also deprecated.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agoffmpeg: use av_get_bytes_per_sample() in place of av_get_bits_per_sample_fmt()
Stefano Sabatini [Sat, 2 Jul 2011 11:22:18 +0000 (13:22 +0200)]
ffmpeg: use av_get_bytes_per_sample() in place of av_get_bits_per_sample_fmt()

av_get_bits_per_sample_fmt() was deprecated.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agoput_bits: remove ALT_BITSTREAM_WRITER
Mans Rullgard [Sat, 2 Jul 2011 10:50:24 +0000 (11:50 +0100)]
put_bits: remove ALT_BITSTREAM_WRITER

The code for this variant does not compile.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoput_bits: always use intreadwrite.h macros
Mans Rullgard [Fri, 1 Jul 2011 15:35:37 +0000 (16:35 +0100)]
put_bits: always use intreadwrite.h macros

This fixes invalid unaligned stores in some ARM configurations.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agovf_lut: set minimum and maximum alpha value for yuva420p
Stefano Sabatini [Sat, 2 Jul 2011 13:23:56 +0000 (15:23 +0200)]
vf_lut: set minimum and maximum alpha value for yuva420p

12 years agovf_lut: add plane validity check in draw_slice()
Stefano Sabatini [Sat, 2 Jul 2011 13:06:02 +0000 (15:06 +0200)]
vf_lut: add plane validity check in draw_slice()

The value for inpic->data[plane] with plane >=4 is undefined, and it
will contain in general random data. This change adds a check for
exiting the loop when plane reaches the value 4.

Fix crash (occurring for example with: format=rgba,lut).

12 years agolibavformat: Add an example how to use the metadata API
Reinhard Tartler [Fri, 1 Jul 2011 18:50:33 +0000 (20:50 +0200)]
libavformat: Add an example how to use the metadata API

Also include it into the doxygen documentation

12 years agodoxygen: Prefer member groups over grouping into modules
Reinhard Tartler [Fri, 1 Jul 2011 13:32:21 +0000 (15:32 +0200)]
doxygen: Prefer member groups over grouping into modules

Before this, almost all module groups have been used for grouping functions
and fields in structures semantically. This causes them to not appear
properly in the file documentation and needlessly clutters up the "Modules"
index.

Additionally, this commit streamlines some spelling and appearances.

12 years agoffprobe: flush stdout after each group.
Nicolas George [Fri, 1 Jul 2011 13:48:04 +0000 (15:48 +0200)]
ffprobe: flush stdout after each group.

12 years agocmdutils: fix an opt name/val swap in set_context_opts()
Etienne Buira [Fri, 1 Jul 2011 20:44:53 +0000 (22:44 +0200)]
cmdutils: fix an opt name/val swap in set_context_opts()

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
12 years agoALSA demuxer: use av_gettime and a timefilter.
Nicolas George [Fri, 1 Jul 2011 13:26:40 +0000 (15:26 +0200)]
ALSA demuxer: use av_gettime and a timefilter.

The PTS for captured audio was measured using snd_pcm_htimestamp.

snd_pcm_htimestamp hangs when the input is a dsnoop plugin.

Furthermore, at some point, snd_pcm_htimestamp started returning monotonic
timestamps rather than wall clock timestamps, in most but not all
situations.
Monotonic timestamps are fine, but ffmpeg uses wall clock timestamps
everywhere else, and we have no API to inform the user which kind of
timestamps it is.

A separate snd_pcm_htimestamp is only slightly less accurate than
snd_pcm_htimestamp: the standard deviation for the difference between two
consecutive timestamps is (on my hardware):
- ~13 µs with snd_pcm_htimestamp;
- ~35 µs with av_gettime;
-  ~5 µs with av_gettime and a timefilter.

12 years agodoxygen: be more permissive when searching for API examples
Reinhard Tartler [Fri, 1 Jul 2011 18:53:09 +0000 (20:53 +0200)]
doxygen: be more permissive when searching for API examples

12 years agoavformat: doxify the Metadata API
Reinhard Tartler [Fri, 1 Jul 2011 18:49:14 +0000 (20:49 +0200)]
avformat: doxify the Metadata API

convert the comment that documents the metadata API to use
the doxygen markup

12 years agolavf: restore old behavior for custom AVIOContex with an AVFMT_NOFILE format.
Anton Khirnov [Fri, 24 Jun 2011 05:58:16 +0000 (07:58 +0200)]
lavf: restore old behavior for custom AVIOContex with an AVFMT_NOFILE format.

av_open_input_stream used to allow this, even though it makes no sense.
Make it just print a warning instead of failing, thus restoring
compatibility.

Note that avformat_open_input() will still reject this combination.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agolavf: use the correct pointer in av_open_input_stream().
Anton Khirnov [Fri, 1 Jul 2011 19:24:17 +0000 (21:24 +0200)]
lavf: use the correct pointer in av_open_input_stream().

12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 2 Jul 2011 01:07:06 +0000 (03:07 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  get_bits: remove x86 inline asm in A32 bitstream reader
  doc: Remove outdated information about our issue tracker
  avidec: Factor out the sync fucntionality.
  fate-aac: Expand coverage.
  ac3dsp: add x86-optimized versions of ac3dsp.extract_exponents().
  ac3dsp: simplify extract_exponents() now that it does not need to do clipping.
  ac3enc: clip coefficients after MDCT.
  ac3enc: add int32_t array clipping function to DSPUtil, including x86 versions.
  swscale: for >8bit scaling, read in native bit-depth.
  matroskadec: matroska_read_seek after after EBML_STOP leads to failure.
  doxygen: fix usage of @file directive in libavutil/{dict,file}.h
  doxygen: Help doxygen parser to understand the DECLARE_ALIGNED and offsetof macros

Conflicts:
doc/issue_tracker.txt
libavformat/avidec.c
libavutil/dict.h
libswscale/swscale.c
libswscale/utils.c
tests/ref/lavfi/pixfmts_scale

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavidec: infer absolute vs relative index from first packet
Alex Converse [Thu, 2 Jun 2011 00:33:38 +0000 (17:33 -0700)]
avidec: infer absolute vs relative index from first packet

12 years agoget_bits: remove x86 inline asm in A32 bitstream reader
Mans Rullgard [Fri, 1 Jul 2011 11:47:36 +0000 (12:47 +0100)]
get_bits: remove x86 inline asm in A32 bitstream reader

x86 does not use this variant so having inline asm there
is pointless.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agodoc: Remove outdated information about our issue tracker
Reinhard Tartler [Fri, 1 Jul 2011 13:49:53 +0000 (15:49 +0200)]
doc: Remove outdated information about our issue tracker

We have now switched to http://bugzilla.libav.org.

12 years agoavidec: Factor out the sync fucntionality.
Alex Converse [Wed, 29 Jun 2011 20:30:09 +0000 (13:30 -0700)]
avidec: Factor out the sync fucntionality.

12 years agofate-aac: Expand coverage.
Alex Converse [Tue, 28 Jun 2011 06:12:55 +0000 (23:12 -0700)]
fate-aac: Expand coverage.

Add al05_44, al06_44, al17_44.

12 years agoac3dsp: add x86-optimized versions of ac3dsp.extract_exponents().
Justin Ruggles [Thu, 30 Jun 2011 21:48:44 +0000 (17:48 -0400)]
ac3dsp: add x86-optimized versions of ac3dsp.extract_exponents().

12 years agoac3dsp: simplify extract_exponents() now that it does not need to do clipping.
Justin Ruggles [Thu, 16 Jun 2011 20:55:33 +0000 (16:55 -0400)]
ac3dsp: simplify extract_exponents() now that it does not need to do clipping.

12 years agoac3enc: clip coefficients after MDCT.
Justin Ruggles [Mon, 27 Jun 2011 18:29:33 +0000 (14:29 -0400)]
ac3enc: clip coefficients after MDCT.

This ensures that any processing between the MDCT and exponent extraction will
be using clipped coefficients.

12 years agoac3enc: add int32_t array clipping function to DSPUtil, including x86 versions.
Justin Ruggles [Thu, 2 Jun 2011 18:00:50 +0000 (14:00 -0400)]
ac3enc: add int32_t array clipping function to DSPUtil, including x86 versions.

12 years agoALSA: fix use of period_size.
Nicolas George [Fri, 1 Jul 2011 12:58:24 +0000 (14:58 +0200)]
ALSA: fix use of period_size.

period_size is in frames, while the demuxer assumed it was in bytes,
resulting in short reads.

12 years agoswscale: for >8bit scaling, read in native bit-depth.
Ronald S. Bultje [Fri, 1 Jul 2011 00:35:13 +0000 (17:35 -0700)]
swscale: for >8bit scaling, read in native bit-depth.

For 9/10bit, it means we don't have to upscale to 16bit before
actual scaling or pixel format conversion, and thus a performance
gain.

12 years agomatroskadec: matroska_read_seek after after EBML_STOP leads to failure.
John Stebbins [Fri, 1 Jul 2011 15:57:42 +0000 (08:57 -0700)]
matroskadec: matroska_read_seek after after EBML_STOP leads to failure.

EBML_STOP leaves matroska->current_id set. Then matroska_read_seek changes
the stream position without resetting current_id.  The next
matroska_parse_cluster  fails due to calculation of incorrect pos.  So clear
current_id when avio_seek happens in matroska_read_seek.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agodoxygen: fix usage of @file directive in libavutil/{dict,file}.h
Reinhard Tartler [Thu, 30 Jun 2011 21:00:46 +0000 (23:00 +0200)]
doxygen: fix usage of @file directive in libavutil/{dict,file}.h

12 years agoffprobe: fix opt_pretty() signature
Stefano Sabatini [Fri, 1 Jul 2011 10:52:46 +0000 (12:52 +0200)]
ffprobe: fix opt_pretty() signature

This is required after the OPT_FUNC2 removal.

12 years agolavfi: make pix_fmt_is_in() in vf_lut.c an internal function
Stefano Sabatini [Thu, 30 Jun 2011 07:51:17 +0000 (09:51 +0200)]
lavfi: make pix_fmt_is_in() in vf_lut.c an internal function

Also generalize it, making it accept ints rather than pixel formats.
Allow factorization.

12 years agolavf: bump minor and add APIchanges entry for av_get_output_timestamp
Nicolas George [Fri, 1 Jul 2011 08:09:04 +0000 (10:09 +0200)]
lavf: bump minor and add APIchanges entry for av_get_output_timestamp

12 years agoopenal: prefer ISC license
Jonathan Baldwin [Fri, 1 Jul 2011 08:48:49 +0000 (10:48 +0200)]
openal: prefer ISC license

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
12 years agodict: fix another typo
Stefano Sabatini [Fri, 1 Jul 2011 08:47:07 +0000 (10:47 +0200)]
dict: fix another typo

achive -> achieve

12 years agoALSA: implement get_output_timestamp.
Nicolas George [Thu, 30 Jun 2011 17:46:02 +0000 (19:46 +0200)]
ALSA: implement get_output_timestamp.

12 years agolavf: add an API to get output timestamps.
Nicolas George [Thu, 30 Jun 2011 17:45:22 +0000 (19:45 +0200)]
lavf: add an API to get output timestamps.

12 years agoALSA encoder: correctly set time_base.
Nicolas George [Thu, 30 Jun 2011 17:47:52 +0000 (19:47 +0200)]
ALSA encoder: correctly set time_base.

12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 1 Jul 2011 03:33:39 +0000 (05:33 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  cosmetics: fix some then/than typos
  doxygen: Include libavcodec and libavformat examples into the documentation
  avutil: elaborate documentation for av_get_random_seed
  Add support for aac streams in mp4/mov without extradata.
  aes: whitespace cosmetics
  adler32: whitespace cosmetics
  swscale: fix another yuv range conversion overflow in 16bit scaling.
  Fix cpu flags test program
  opt-test: Add missing braces to silence compiler warnings.
  build: Eliminate obsolete test targets.
  udp: Fix a compilation warning
  swscale: Unbreak build with --enable-small
  base64: add fate test
  aes: improve test program and add fate test
  adler32: make test program more useful and add fate test
  swscale: fix yuv range correction when using 16-bit scaling.
  aacenc: Make chan_map const correct

Conflicts:
Makefile
doc/examples/muxing-example.c
libavformat/udp.c
libavutil/random_seed.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoFix mpeg4 padding bug detection with more than 128bit trash and slices.
Michael Niedermayer [Fri, 1 Jul 2011 00:51:10 +0000 (02:51 +0200)]
Fix mpeg4 padding bug detection with more than 128bit trash and slices.
Fixes ticket302
The second hunk is from anatoly

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoFix possible double free when encoding using xvid.
Carl Eugen Hoyos [Fri, 1 Jul 2011 00:38:28 +0000 (02:38 +0200)]
Fix possible double free when encoding using xvid.

12 years agoFix internal buffer size for 2bpp and 4bpp raw video.
Carl Eugen Hoyos [Fri, 1 Jul 2011 00:34:33 +0000 (02:34 +0200)]
Fix internal buffer size for 2bpp and 4bpp raw video.

12 years agodoxygen: Help doxygen parser to understand the DECLARE_ALIGNED and offsetof macros
Reinhard Tartler [Thu, 30 Jun 2011 19:57:43 +0000 (21:57 +0200)]
doxygen: Help doxygen parser to understand the DECLARE_ALIGNED and offsetof macros

Without this, members that have been declare with the DECLARE_ALIGNED
macro don't show up at all in the generated documentation.

12 years agocosmetics: fix some then/than typos
Diego Biurrun [Thu, 30 Jun 2011 18:53:59 +0000 (20:53 +0200)]
cosmetics: fix some then/than typos

12 years agodoxygen: Include libavcodec and libavformat examples into the documentation
Reinhard Tartler [Thu, 30 Jun 2011 19:06:25 +0000 (21:06 +0200)]
doxygen: Include libavcodec and libavformat examples into the documentation

12 years agoavutil: elaborate documentation for av_get_random_seed
Reinhard Tartler [Thu, 30 Jun 2011 18:44:46 +0000 (20:44 +0200)]
avutil: elaborate documentation for av_get_random_seed

12 years agoAdd support for aac streams in mp4/mov without extradata.
Benjamin Larsson [Tue, 28 Jun 2011 06:39:12 +0000 (23:39 -0700)]
Add support for aac streams in mp4/mov without extradata.

12 years agoaes: whitespace cosmetics
Mans Rullgard [Thu, 30 Jun 2011 11:29:25 +0000 (12:29 +0100)]
aes: whitespace cosmetics

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoadler32: whitespace cosmetics
Mans Rullgard [Thu, 30 Jun 2011 09:15:10 +0000 (10:15 +0100)]
adler32: whitespace cosmetics

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoMake all option parsing functions match the function pointer type through which they...
Jeff Downs [Wed, 29 Jun 2011 16:38:46 +0000 (12:38 -0400)]
Make all option parsing functions match the function pointer type through which they are called.

All option parsing functions now match the function pointer signature through
which they are called (int f(const char *, const char *), thereby working
reliably on all platforms.
Prefix all option processing functions with opt_

12 years agoswscale: fix another yuv range conversion overflow in 16bit scaling.
Ronald S. Bultje [Thu, 30 Jun 2011 14:05:52 +0000 (07:05 -0700)]
swscale: fix another yuv range conversion overflow in 16bit scaling.

12 years agoFix cpu flags test program
Mans Rullgard [Thu, 30 Jun 2011 13:03:54 +0000 (14:03 +0100)]
Fix cpu flags test program

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoopt-test: Add missing braces to silence compiler warnings.
Diego Biurrun [Sun, 26 Jun 2011 11:50:37 +0000 (13:50 +0200)]
opt-test: Add missing braces to silence compiler warnings.

libavutil/opt.c:604:1: warning: missing braces around initializer [-Wmissing-braces]

12 years agobuild: Eliminate obsolete test targets.
Diego Biurrun [Sat, 25 Jun 2011 16:12:36 +0000 (18:12 +0200)]
build: Eliminate obsolete test targets.

The targets are now part of FATE and can be run as individual FATE targets.

12 years agolavu: bump minor and add APIchanges entry for AV_PICTURE_TYPE_NONE
Stefano Sabatini [Thu, 30 Jun 2011 09:09:13 +0000 (11:09 +0200)]
lavu: bump minor and add APIchanges entry for AV_PICTURE_TYPE_NONE

The symbols was added in the git commit
512933671409f9f88cc9fdfc8f29525d32240bab.

12 years agoudp: Fix a compilation warning
Martin Storsjö [Fri, 17 Jun 2011 07:08:23 +0000 (10:08 +0300)]
udp: Fix a compilation warning

This fixes this compilation warning, by making endptr a non-const
pointer, as required by strtol:
In function ‘udp_open’:
warning: passing argument 2 of ‘strtol’ from incompatible pointer type

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoswscale: Unbreak build with --enable-small
Mohamed Naufal [Thu, 30 Jun 2011 08:57:32 +0000 (11:57 +0300)]
swscale: Unbreak build with --enable-small

This fixes building with --enable-small, by using the correct
variable name.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agobase64: add fate test
Mans Rullgard [Wed, 29 Jun 2011 22:34:09 +0000 (23:34 +0100)]
base64: add fate test

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoaes: improve test program and add fate test
Mans Rullgard [Wed, 29 Jun 2011 22:27:07 +0000 (23:27 +0100)]
aes: improve test program and add fate test

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoadler32: make test program more useful and add fate test
Mans Rullgard [Wed, 29 Jun 2011 18:33:10 +0000 (19:33 +0100)]
adler32: make test program more useful and add fate test

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoFix linesize for some rawvideo samples with odd width.
Carl Eugen Hoyos [Thu, 30 Jun 2011 07:02:14 +0000 (09:02 +0200)]
Fix linesize for some rawvideo samples with odd width.

12 years agoswscale: fix yuv range correction when using 16-bit scaling.
Ronald S. Bultje [Thu, 30 Jun 2011 04:04:45 +0000 (21:04 -0700)]
swscale: fix yuv range correction when using 16-bit scaling.

12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 30 Jun 2011 02:20:53 +0000 (04:20 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  rational-test: Add proper main() declaration to fix gcc warnings.
  configure: Add vdpau and dxva2 to configure results output.
  Remove unused, never built libavutil/pca.[ch]
  matroskadec: forward parsing errors to caller.
  av_find_stream_info: simplify EAGAIN handling.
  aacenc: Fix determination of Mid/Side Mode.
  psymodel: Remove the single channel analysis function
  aacenc: Implement dummy channel group analysis that just calls the single channel analysis for each channel.
  psymodel: Add channels and channel groups to the psymodel.
  ARM: remove check for PLD instruction
  fate: move amr[nw]b test rules into separate files
  ogg: fix double free when finding length of small chained oggs.
  swscale: implement >8bit scaling support.
  build: fix creation of tools dir with make 3.81
  build: Mark all-yes Makefile target as phony.
  pixfmt: fix YUV422/444 wrong endian comment
  build: create output directories as needed
  Add new yuv444 pixfmts to avcodec_align_dimensions2

Conflicts:
Makefile
configure
libavutil/pca.c
libavutil/pca.h
libavutil/pixfmt.h
libswscale/swscale.c
libswscale/utils.c
libswscale/x86/swscale_template.c
tests/ref/lavfi/pixdesc
tests/ref/lavfi/pixfmts_copy
tests/ref/lavfi/pixfmts_null
tests/ref/lavfi/pixfmts_scale
tests/ref/lavfi/pixfmts_vflip

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoaacenc: Make chan_map const correct
Alex Converse [Wed, 29 Jun 2011 21:33:33 +0000 (14:33 -0700)]
aacenc: Make chan_map const correct

12 years agoavcodec: increase padding, fixes ticket313
Michael Niedermayer [Wed, 29 Jun 2011 18:02:08 +0000 (20:02 +0200)]
avcodec: increase padding, fixes ticket313

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agorational-test: Add proper main() declaration to fix gcc warnings.
Diego Biurrun [Sun, 26 Jun 2011 22:29:32 +0000 (00:29 +0200)]
rational-test: Add proper main() declaration to fix gcc warnings.

12 years agoconfigure: Add vdpau and dxva2 to configure results output.
Diego Biurrun [Wed, 8 Jun 2011 17:43:45 +0000 (19:43 +0200)]
configure: Add vdpau and dxva2 to configure results output.

12 years agoRemove unused, never built libavutil/pca.[ch]
Mans Rullgard [Wed, 29 Jun 2011 22:38:05 +0000 (23:38 +0100)]
Remove unused, never built libavutil/pca.[ch]

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agomatroskadec: forward parsing errors to caller.
Ami Fischman [Wed, 29 Jun 2011 20:54:49 +0000 (13:54 -0700)]
matroskadec: forward parsing errors to caller.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agoav_find_stream_info: simplify EAGAIN handling.
Ami Fischman [Wed, 29 Jun 2011 20:50:21 +0000 (13:50 -0700)]
av_find_stream_info: simplify EAGAIN handling.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agoMove SRC_PATH hack around to allow compilation from subdir again.
Reimar Döffinger [Wed, 29 Jun 2011 22:01:14 +0000 (00:01 +0200)]
Move SRC_PATH hack around to allow compilation from subdir again.

12 years agoSet channel_layout if channels is set when transcoding.
Carl Eugen Hoyos [Wed, 29 Jun 2011 21:49:44 +0000 (23:49 +0200)]
Set channel_layout if channels is set when transcoding.

12 years agoaacenc: Fix determination of Mid/Side Mode.
Nathan Caldwell [Wed, 29 Jun 2011 03:11:39 +0000 (21:11 -0600)]
aacenc: Fix determination of Mid/Side Mode.

In adjust_frame_information(), msc is incremented for each sfb in each
sub-window then compared against max_sfb which is for a single sub-window.

This resulted in frames using EIGHT_SHORT_SEQUENCE where the first few
sub-windows increment msc to a value that results in ms_mode == 2. Even
though only some of the bands are actually using Mid/Side.

12 years agopsymodel: Remove the single channel analysis function
Nathan Caldwell [Thu, 19 May 2011 05:23:22 +0000 (23:23 -0600)]
psymodel: Remove the single channel analysis function

12 years agoaacenc: Implement dummy channel group analysis that just calls the single channel...
Nathan Caldwell [Thu, 19 May 2011 05:14:59 +0000 (23:14 -0600)]
aacenc: Implement dummy channel group analysis that just calls the single channel analysis for each channel.

12 years agopsymodel: Add channels and channel groups to the psymodel.
Nathan Caldwell [Wed, 15 Jun 2011 08:50:25 +0000 (02:50 -0600)]
psymodel: Add channels and channel groups to the psymodel.

12 years agoARM: remove check for PLD instruction
Mans Rullgard [Wed, 29 Jun 2011 19:59:24 +0000 (20:59 +0100)]
ARM: remove check for PLD instruction

PLD is present in ARMv5TE and later, which is checked for separately.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: move amr[nw]b test rules into separate files
Mans Rullgard [Wed, 29 Jun 2011 18:01:25 +0000 (19:01 +0100)]
fate: move amr[nw]b test rules into separate files

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoogg: fix double free when finding length of small chained oggs.
Ronald S. Bultje [Wed, 29 Jun 2011 05:24:21 +0000 (22:24 -0700)]
ogg: fix double free when finding length of small chained oggs.

ogg_save() copies streams[], but doesn't keep track of free()'ed
struct members. Thus, if in between a call to ogg_save() and
ogg_restore(), streams[].private was free()'ed, this would result
in a double free -> crash, which happened when e.g. playing small
chained ogg fragments.

12 years agoswscale: implement >8bit scaling support.
Ronald S. Bultje [Wed, 29 Jun 2011 16:39:43 +0000 (09:39 -0700)]
swscale: implement >8bit scaling support.

This means that precision is retained when scaling between sample
formats with >8 bits per component (48bit RGB, 16bit grayscale,
9/10/16bit YUV).

12 years agobuild: fix creation of tools dir with make 3.81
Mans Rullgard [Wed, 29 Jun 2011 10:46:08 +0000 (11:46 +0100)]
build: fix creation of tools dir with make 3.81

GNU make 3.81 apparently does not support order-only prerequisites
with pattern rules, and thus fails to create the tools directory
if it is missing.  Naming the objects explicitly in the rule makes
it work properly.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agobuild: Mark all-yes Makefile target as phony.
Diego Biurrun [Tue, 7 Jun 2011 11:16:48 +0000 (13:16 +0200)]
build: Mark all-yes Makefile target as phony.

12 years agopixfmt: fix YUV422/444 wrong endian comment
Can Wu [Wed, 29 Jun 2011 01:37:57 +0000 (09:37 +0800)]
pixfmt: fix YUV422/444 wrong endian comment

Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years agobuild: create output directories as needed
Mans Rullgard [Tue, 28 Jun 2011 17:45:13 +0000 (18:45 +0100)]
build: create output directories as needed

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoRemove gcc 2.95.3 remnants.
Carl Eugen Hoyos [Wed, 29 Jun 2011 08:07:39 +0000 (10:07 +0200)]
Remove gcc 2.95.3 remnants.

12 years agoAdd new yuv444 pixfmts to avcodec_align_dimensions2
Jason Garrett-Glaser [Wed, 29 Jun 2011 01:22:23 +0000 (18:22 -0700)]
Add new yuv444 pixfmts to avcodec_align_dimensions2

Fixes draw_edges crashes with high-bit-depth 4:4:4 decoding.

12 years agoswscale: Fix yuv422p10
Michael Niedermayer [Wed, 29 Jun 2011 03:56:46 +0000 (05:56 +0200)]
swscale: Fix yuv422p10
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 29 Jun 2011 02:08:31 +0000 (04:08 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (21 commits)
  swscale: Add Doxygen for hyscale_fast/hScale.
  fate: enable lavfi-pixmt tests on big endian systems
  PPC: swscale: disable altivec functions for unsupported formats
  fate: merge identical pixdesc_be/le tests
  swscale: Add Doxygen for yuv2planar*/yuv2packed* functions.
  build: call texi2pod.pl with full path instead of symlink
  build: include sub-makefiles using full path instead of symlinks
  swscale: update big endian reference values after dff5a835.
  wavpack: skip blocks with no samples
  cosmetics: remove outdated comment that is no longer true
  build: replace some addprefix/addsuffix with substitution refs
  avutil: Remove unused arbitrary precision integer code.
  configure: Drop check for availability of ten assembler operands.
  aacenc: Save channel configuration for later use.
  aacenc: Fix codebook trellising for zeroed bands.
  swscale: change prototypes of scaled YUV output functions.
  swscale: re-add support for non-native endianness.
  swscale: disentangle yuv2rgbX_c_full() into small functions.
  swscale: split yuv2packed[12X]_c() remainders into small functions.
  swscale: split yuv2packedX_altivec in smaller functions.
  ...

Conflicts:
Makefile
configure
libavcodec/x86/dsputil_mmx.c
libavfilter/Makefile
libavformat/Makefile
libavutil/integer.c
libavutil/integer.h
libswscale/swscale.c
libswscale/swscale_internal.h
libswscale/x86/swscale_template.c
tests/ref/lavfi/pixdesc_le
tests/ref/lavfi/pixfmts_scale

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoswscale: Add Doxygen for hyscale_fast/hScale.
Ronald S. Bultje [Tue, 28 Jun 2011 19:32:40 +0000 (21:32 +0200)]
swscale: Add Doxygen for hyscale_fast/hScale.

12 years agofate: enable lavfi-pixmt tests on big endian systems
Mans Rullgard [Tue, 28 Jun 2011 21:37:42 +0000 (22:37 +0100)]
fate: enable lavfi-pixmt tests on big endian systems

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoPPC: swscale: disable altivec functions for unsupported formats
Mans Rullgard [Tue, 28 Jun 2011 22:19:36 +0000 (23:19 +0100)]
PPC: swscale: disable altivec functions for unsupported formats

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoamrnbdec: we dont want dtx samples anymore and give the user a hint towards how to...
Michael Niedermayer [Tue, 28 Jun 2011 20:23:52 +0000 (22:23 +0200)]
amrnbdec: we dont want dtx samples anymore and give the user a hint towards how to play such files.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agofate: merge identical pixdesc_be/le tests
Mans Rullgard [Tue, 28 Jun 2011 20:24:35 +0000 (21:24 +0100)]
fate: merge identical pixdesc_be/le tests

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoFix configure problem with out-of-source-tree build for fate-related .mak files in...
Paul Sterne [Sun, 26 Jun 2011 19:55:53 +0000 (12:55 -0700)]
Fix configure problem with out-of-source-tree build for fate-related .mak files in the tests and tests/fate subdirectories

This patch will add to the list of files for which configure creates
symbolic links when building outside of the ffmpeg source tree.
This fixes a problem for fate-related .mak files in the tests and tests/fate
subdirectories.

12 years agoswscale: Add Doxygen for yuv2planar*/yuv2packed* functions.
Ronald S. Bultje [Tue, 28 Jun 2011 17:42:17 +0000 (19:42 +0200)]
swscale: Add Doxygen for yuv2planar*/yuv2packed* functions.

12 years agobuild: call texi2pod.pl with full path instead of symlink
Mans Rullgard [Tue, 28 Jun 2011 16:12:36 +0000 (17:12 +0100)]
build: call texi2pod.pl with full path instead of symlink

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agobuild: include sub-makefiles using full path instead of symlinks
Mans Rullgard [Tue, 28 Jun 2011 16:08:00 +0000 (17:08 +0100)]
build: include sub-makefiles using full path instead of symlinks

Signed-off-by: Mans Rullgard <mans@mansr.com>