ffmpeg.git
7 years agodnxhddec: handle cid change in bitstream.
Baptiste Coudurier [Sun, 26 Jun 2011 21:08:22 +0000 (14:08 -0700)]
dnxhddec: handle cid change in bitstream.

7 years agoffmpeg: fix prototypes of functions after the removal of OPT_FUNC2.
Baptiste Coudurier [Sun, 26 Jun 2011 21:01:00 +0000 (14:01 -0700)]
ffmpeg: fix prototypes of functions after the removal of OPT_FUNC2.

7 years agolavfi: add testsrc source
Stefano Sabatini [Sat, 18 Jun 2011 01:11:16 +0000 (03:11 +0200)]
lavfi: add testsrc source

7 years agoAdd operand size to add instructions.
Reimar Döffinger [Sun, 26 Jun 2011 11:29:17 +0000 (13:29 +0200)]
Add operand size to add instructions.

In these cases it can't be guessed from the operands (at least
not necessarily), and it seems some clang versions refuse to
compiler it.
Fixes ticket #303.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
7 years agoRevert "build: Remove multiple inclusion guards from config.mak."
Reimar Döffinger [Sun, 26 Jun 2011 07:44:31 +0000 (09:44 +0200)]
Revert "build: Remove multiple inclusion guards from config.mak."

This reverts commit 89b5829d0a4d9510efeff65dbeeaed50e0980120.

Conflicts:

configure

7 years agoRevert "build: Remove redundant config.mak includes from subdirectory Makefiles."
Reimar Döffinger [Sun, 26 Jun 2011 07:46:05 +0000 (09:46 +0200)]
Revert "build: Remove redundant config.mak includes from subdirectory Makefiles."

This reverts commit a6213f3dce4006e0d47bd938e15832987d95efef.

7 years agoRevert "build: Add DEP_LIBS dependency directly to the shared library build rule."
Reimar Döffinger [Sun, 26 Jun 2011 07:42:42 +0000 (09:42 +0200)]
Revert "build: Add DEP_LIBS dependency directly to the shared library build rule."

This reverts commit 729f953fb5079ca09bbac391b824be454df029d6.

7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 26 Jun 2011 00:31:32 +0000 (02:31 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  ARM: silence some annoying armcc warnings
  ffplay: Remove unused-but-set channels variable from update_sample_display().
  build: Add DEP_LIBS dependency directly to the shared library build rule.
  build: Remove multiple inclusion guards from config.mak.
  build: Remove redundant config.mak includes from subdirectory Makefiles.
  aacenc: Mark psy_3gpp_window() as av_unused.

Conflicts:
configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agosamplefmt: remove deprecated use of av_get_bits_per_sample_fmt()
Stefano Sabatini [Sat, 25 Jun 2011 19:54:58 +0000 (21:54 +0200)]
samplefmt: remove deprecated use of av_get_bits_per_sample_fmt()

Use av_get_bytes_per_sample() instead.

Fix deprecation warning:
samplefmt.c: In function ‘av_samples_fill_arrays’:
samplefmt.c:88: warning: ‘av_get_bits_per_sample_fmt’ is deprecated (declared at samplefmt.c:76)

7 years agovsink_buffer: add missing description
Stefano Sabatini [Sat, 25 Jun 2011 19:53:21 +0000 (21:53 +0200)]
vsink_buffer: add missing description

7 years agoconfigure: select buffersink_filter when ffplay is enabled
Stefano Sabatini [Sat, 25 Jun 2011 19:49:45 +0000 (21:49 +0200)]
configure: select buffersink_filter when ffplay is enabled

buffersink_filter is a strong requirement for compiling ffplay.
Fixes ffplay compilation with --disable-everything --disable-ffmpeg.

7 years agoARM: silence some annoying armcc warnings
Mans Rullgard [Sat, 25 Jun 2011 17:51:00 +0000 (18:51 +0100)]
ARM: silence some annoying armcc warnings

This silences warnings about pointer target sign mismatches as
already done for gcc with -Wno-pointer-sign.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoFix compilation in subdir with NASM.
Reimar Döffinger [Fri, 24 Jun 2011 08:04:22 +0000 (10:04 +0200)]
Fix compilation in subdir with NASM.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
7 years agoRestore some more rules to common.mak to improve building in subdirs.
Reimar Döffinger [Fri, 24 Jun 2011 17:53:28 +0000 (19:53 +0200)]
Restore some more rules to common.mak to improve building in subdirs.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
7 years agoffplay: Remove unused-but-set channels variable from update_sample_display().
Diego Biurrun [Sat, 25 Jun 2011 12:09:40 +0000 (14:09 +0200)]
ffplay: Remove unused-but-set channels variable from update_sample_display().

7 years agobuild: Add DEP_LIBS dependency directly to the shared library build rule.
Diego Biurrun [Sat, 25 Jun 2011 00:01:12 +0000 (02:01 +0200)]
build: Add DEP_LIBS dependency directly to the shared library build rule.

The dependency was added conditional to a variable that is always defined,
so it is safe to add it directly.

7 years agobuild: Remove multiple inclusion guards from config.mak.
Diego Biurrun [Fri, 24 Jun 2011 22:32:12 +0000 (00:32 +0200)]
build: Remove multiple inclusion guards from config.mak.

config.mak is no longer included multiple times; the guards are pointless.

7 years agobuild: Remove redundant config.mak includes from subdirectory Makefiles.
Diego Biurrun [Fri, 24 Jun 2011 22:19:39 +0000 (00:19 +0200)]
build: Remove redundant config.mak includes from subdirectory Makefiles.

Calling Make from subdirectories is not supported and config.mak has
multiple inclusion guards anyway, so the top-level include is enough.

7 years agoaacenc: Mark psy_3gpp_window() as av_unused.
Diego Biurrun [Fri, 24 Jun 2011 08:49:59 +0000 (10:49 +0200)]
aacenc: Mark psy_3gpp_window() as av_unused.

It is intentionally left in to allow adding 3GPP-style windowing in the future.
Marking it av_unused silences an annoying unused function warning.

7 years agoogg_read_packet: forward error code.
Nicolas George [Fri, 24 Jun 2011 10:02:41 +0000 (12:02 +0200)]
ogg_read_packet: forward error code.

7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 25 Jun 2011 02:04:53 +0000 (04:04 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  configure: Add -Wno-format-zero-length to CFLAGS.
  udp: Receive on the remote port number, if no local port is set

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoconfigure: select buffersink_filter when ffmpeg is enabled
Stefano Sabatini [Fri, 24 Jun 2011 21:45:15 +0000 (23:45 +0200)]
configure: select buffersink_filter when ffmpeg is enabled

buffersink_filter is a strong requirement for compiling ffmpeg.
Fixes ffmpeg compilation with --disable-everything.

7 years agoconfigure: Add -Wno-format-zero-length to CFLAGS.
Diego Biurrun [Fri, 24 Jun 2011 19:16:10 +0000 (21:16 +0200)]
configure: Add -Wno-format-zero-length to CFLAGS.

The C standard specifies that zero-length format strings are allowed.

7 years agoRestore accidentally removed parts of "BRIEF" list.
Reimar Döffinger [Fri, 24 Jun 2011 17:51:16 +0000 (19:51 +0200)]
Restore accidentally removed parts of "BRIEF" list.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
7 years agoparse_options(): Avoid passing NULL as a string arg to fprintf
Jeff Downs [Thu, 23 Jun 2011 18:12:37 +0000 (14:12 -0400)]
parse_options(): Avoid passing NULL as a string arg to fprintf

7 years agoudp: Receive on the remote port number, if no local port is set
Can Wu [Fri, 17 Jun 2011 05:58:01 +0000 (13:58 +0800)]
udp: Receive on the remote port number, if no local port is set

For a unicast udp stream to localhost:1234, currently
ffplay udp://:1234?localport=1234
works, but
ffplay udp://:1234
doesn't work.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agogeneral.texi: clarify with examples what "the FFmpeg libraries" means
Stefano Sabatini [Fri, 24 Jun 2011 09:56:19 +0000 (11:56 +0200)]
general.texi: clarify with examples what "the FFmpeg libraries" means

7 years agogeneral.texi: remove reference to --enable-memalign-hack, no longer required
Stefano Sabatini [Wed, 22 Jun 2011 23:36:29 +0000 (01:36 +0200)]
general.texi: remove reference to --enable-memalign-hack, no longer required

7 years agoMAINTAINERS: add a "Releases" section
Stefano Sabatini [Thu, 23 Jun 2011 22:06:56 +0000 (00:06 +0200)]
MAINTAINERS: add a "Releases" section

The new section documents the maintainership status for the various
FFmpeg releases, on a best effort basis.

7 years agoChangelog: merge various 0.7* sections into a single 0.8 section
Stefano Sabatini [Thu, 23 Jun 2011 21:52:33 +0000 (23:52 +0200)]
Changelog: merge various 0.7* sections into a single 0.8 section

FFmpeg never had distinct alfa/beta 0.7 releases, so having a single
0.8 section with all the changes should be less confusing for the
users, and it is also consistent with what we did with 0.5 and 0.6
releases.

Also add a dedicated 0.7 section, explaining how it differs from 0.8.

7 years agoAllow running make in subdirs again.
Reimar Döffinger [Fri, 24 Jun 2011 07:10:25 +0000 (09:10 +0200)]
Allow running make in subdirs again.

7 years agoRevert "build: move basic rules and variables to main Makefile"
Reimar Döffinger [Fri, 24 Jun 2011 07:02:57 +0000 (09:02 +0200)]
Revert "build: move basic rules and variables to main Makefile"

This reverts commit bb5249244ddb22df1cfb8dee1c369e6cd653d00d.
This is necessary to allow running "make" in subdirs again.

Conflicts:

Makefile

7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 24 Jun 2011 00:54:12 +0000 (02:54 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  doxygen: Consistently use '@' instead of '\' for Doxygen markup.
  Use av_printf_format to check the usage of printf style functions
  Add av_printf_format, for marking printf style format strings and their parameters
  ARM: enable thumb for Cortex-M* CPUs
  nsvdec: Propagate error values instead of returning 0 in nsv_read_header().
  build: remove SRC_PATH_BARE variable
  build: move basic rules and variables to main Makefile
  build: move special targets to end of main Makefile
  lavdev: improve feedback in case of invalid frame rate/size
  vfwcap: prefer "framerate_q" over "fps" in vfw_read_header()
  v4l2: prefer "framerate_q" over "fps" in v4l2_set_parameters()
  fbdev: prefer "framerate_q" over "fps" in device context
  bktr: prefer "framerate" over "fps" for grab_read_header()
  ALSA: implement channel layout for playback.
  alsa: support unsigned variants of already supported signed formats.
  alsa: add support for more formats.
  ARM: allow building in Thumb2 mode

Conflicts:
common.mak
doc/APIchanges
libavcodec/vdpau.h
libavdevice/alsa-audio-common.c
libavdevice/fbdev.c
libavdevice/libdc1394.c
libavutil/avutil.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodoxygen: Consistently use '@' instead of '\' for Doxygen markup.
Diego Biurrun [Thu, 23 Jun 2011 20:41:54 +0000 (22:41 +0200)]
doxygen: Consistently use '@' instead of '\' for Doxygen markup.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agoUse av_printf_format to check the usage of printf style functions
Martin Storsjö [Fri, 17 Jun 2011 07:31:11 +0000 (10:31 +0300)]
Use av_printf_format to check the usage of printf style functions

This helps catching cases where the format string doesn't
match what is passed in, or injection bugs where user data
is passed in as format string.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoAdd av_printf_format, for marking printf style format strings and their parameters
Martin Storsjö [Fri, 17 Jun 2011 07:30:15 +0000 (10:30 +0300)]
Add av_printf_format, for marking printf style format strings and their parameters

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoARM: enable thumb for Cortex-M* CPUs
Mans Rullgard [Thu, 23 Jun 2011 14:42:19 +0000 (15:42 +0100)]
ARM: enable thumb for Cortex-M* CPUs

These CPUs are thumb-only and thus require this option.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoSupport u8, s8, alaw and mulaw channel reordering in alsa.
Anton Khirnov [Thu, 23 Jun 2011 14:49:51 +0000 (16:49 +0200)]
Support u8, s8, alaw and mulaw channel reordering in alsa.

7 years agonsvdec: Propagate error values instead of returning 0 in nsv_read_header().
Diego Biurrun [Thu, 23 Jun 2011 11:27:21 +0000 (13:27 +0200)]
nsvdec: Propagate error values instead of returning 0 in nsv_read_header().

This eliminates a warning about a set-but-unused variable.

7 years agobuild: remove SRC_PATH_BARE variable
Mans Rullgard [Mon, 6 Jun 2011 21:38:38 +0000 (22:38 +0100)]
build: remove SRC_PATH_BARE variable

Setting SRC_PATH to "." when building in-tree removes the need
for a quoted version of the source path since out-of-tree builds
are not possible if the pathname contains spaces.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agobuild: move basic rules and variables to main Makefile
Mans Rullgard [Sun, 5 Jun 2011 21:29:37 +0000 (22:29 +0100)]
build: move basic rules and variables to main Makefile

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agobuild: move special targets to end of main Makefile
Mans Rullgard [Mon, 6 Jun 2011 14:21:12 +0000 (15:21 +0100)]
build: move special targets to end of main Makefile

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agolavdev: improve feedback in case of invalid frame rate/size
Stefano Sabatini [Fri, 3 Jun 2011 08:50:28 +0000 (10:50 +0200)]
lavdev: improve feedback in case of invalid frame rate/size

Show the invalid string in the error message.

While at it also prefer "Could not" over "Couldn't", plain forms are
preferred over contractions (simplify readability, especially for non
English-savvy people).

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agovfwcap: prefer "framerate_q" over "fps" in vfw_read_header()
Stefano Sabatini [Fri, 3 Jun 2011 08:41:47 +0000 (10:41 +0200)]
vfwcap: prefer "framerate_q" over "fps" in vfw_read_header()

The variable is used for containing the parsed value of framerate,
using a lexically consistent name eases readability/understanding.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agov4l2: prefer "framerate_q" over "fps" in v4l2_set_parameters()
Stefano Sabatini [Fri, 3 Jun 2011 08:39:54 +0000 (10:39 +0200)]
v4l2: prefer "framerate_q" over "fps" in v4l2_set_parameters()

The variable is used for containing the parsed value of framerate,
using a lexically consistent name eases readability/understanding.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agofbdev: prefer "framerate_q" over "fps" in device context
Stefano Sabatini [Fri, 3 Jun 2011 08:31:42 +0000 (10:31 +0200)]
fbdev: prefer "framerate_q" over "fps" in device context

The variable is used for containing the parsed value of framerate,
using a lexically consistent name eases readability/understanding.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agobktr: prefer "framerate" over "fps" for grab_read_header()
Stefano Sabatini [Fri, 3 Jun 2011 08:54:10 +0000 (10:54 +0200)]
bktr: prefer "framerate" over "fps" for grab_read_header()

The variable is used for containing the parsed value of s1->framerate,
using a lexically consistent name ease readability/understanding.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agoALSA: implement channel layout for playback.
Nicolas George [Thu, 10 Mar 2011 11:10:34 +0000 (12:10 +0100)]
ALSA: implement channel layout for playback.

Currently quad, 5.0, 5.1 and 7.1 are implemented.
Implementing support for other formats/layouts and capture should be
straightforward.

5.0 and 7.1 support by Carl Eugen Hoyos.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agoalsa: support unsigned variants of already supported signed formats.
Carl Eugen Hoyos [Wed, 13 Apr 2011 23:04:18 +0000 (01:04 +0200)]
alsa: support unsigned variants of already supported signed formats.

7 years agoalsa: add support for more formats.
Carl Eugen Hoyos [Mon, 13 Jun 2011 19:16:30 +0000 (21:16 +0200)]
alsa: add support for more formats.

Specifically, f32, f64, s32, s24, a-law and mu-law.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agoARM: allow building in Thumb2 mode
Mans Rullgard [Tue, 14 Jun 2011 10:29:48 +0000 (11:29 +0100)]
ARM: allow building in Thumb2 mode

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 23 Jun 2011 02:49:04 +0000 (04:49 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  configure: add --optflags option
  build: move documentation rules to doc/Makefile
  build: move test rules to tests/Makefile
  ac3enc: remove unneeded local variable in asym_quant()
  ac3enc: remove a branch in asym_quant() by doing 2 shifts
  ac3enc: avoid masking output in asym_quant() by using signed values for quantized mantissas.
  H.264: fix 4:4:4 + deblocking + 8x8dct + cavlc + MBAFF
  H.264: fix 4:4:4 + deblocking + MBAFF
  H.264: fix 4:4:4 cropping warning
  H.264: reference the correct SPS in decode_scaling_matrices
  H.264: fix bug in lossless 4:4:4 decoding

Conflicts:
Makefile

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agogeneral.texi: use "the FFmpeg libraries" in place of enumerating them
Stefano Sabatini [Wed, 22 Jun 2011 19:16:40 +0000 (21:16 +0200)]
general.texi: use "the FFmpeg libraries" in place of enumerating them

Avoid an incomplete listing of the libav* libraries, and the need to
update them again.

7 years agogeneral.texi: apply minor formatting fix in the MinGW section
Stefano Sabatini [Wed, 22 Jun 2011 19:17:31 +0000 (21:17 +0200)]
general.texi: apply minor formatting fix in the MinGW section

7 years agoconfigure: add --optflags option
Mans Rullgard [Sun, 19 Jun 2011 17:47:06 +0000 (18:47 +0100)]
configure: add --optflags option

This allows overriding the default optimisation flags selected by
configure.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agobuild: move documentation rules to doc/Makefile
Mans Rullgard [Mon, 6 Jun 2011 17:03:22 +0000 (18:03 +0100)]
build: move documentation rules to doc/Makefile

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agobuild: move test rules to tests/Makefile
Mans Rullgard [Mon, 6 Jun 2011 18:44:29 +0000 (19:44 +0100)]
build: move test rules to tests/Makefile

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoThis is to match gcc's {athlon64,k8,opteron}-sse3 -march flags.
Alexis Ballier [Wed, 22 Jun 2011 20:25:14 +0000 (22:25 +0200)]
This is to match gcc's {athlon64,k8,opteron}-sse3 -march flags.

7 years agoUse HAVE_TEN_OPERANDS for new decode_significance* functions.
Carl Eugen Hoyos [Wed, 22 Jun 2011 19:42:09 +0000 (21:42 +0200)]
Use HAVE_TEN_OPERANDS for new decode_significance* functions.

7 years agoRevert needless API change in 05e84c95.
Reimar Döffinger [Wed, 22 Jun 2011 16:25:49 +0000 (18:25 +0200)]
Revert needless API change in 05e84c95.

When providing a custom AVIOContex for a AVFMT_NOFILE format
only print a warning instead of erroring out.
This allows the code to work with older MPlayer versions that
just always set pb out of laziness.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
7 years agoffplay: use new avformat_open_* API.
Anton Khirnov [Thu, 9 Jun 2011 08:58:23 +0000 (10:58 +0200)]
ffplay: use new avformat_open_* API.

7 years agovf_mp: do not add duplicated pixel formats.
Clément Bœsch [Wed, 22 Jun 2011 08:33:01 +0000 (10:33 +0200)]
vf_mp: do not add duplicated pixel formats.

This avoid a crash with in avfilter_merge_formats() in case one of the
filter formats list has multiple time the same entry.

Thanks to Mina Nagy Zaki for helping figuring out the issue.

7 years agolavfi: minor style fixes in formats.c
Stefano Sabatini [Tue, 21 Jun 2011 08:30:41 +0000 (10:30 +0200)]
lavfi: minor style fixes in formats.c

7 years agoac3enc: remove unneeded local variable in asym_quant()
Justin Ruggles [Tue, 21 Jun 2011 20:49:16 +0000 (16:49 -0400)]
ac3enc: remove unneeded local variable in asym_quant()

7 years agoac3enc: remove a branch in asym_quant() by doing 2 shifts
Justin Ruggles [Tue, 21 Jun 2011 20:14:19 +0000 (16:14 -0400)]
ac3enc: remove a branch in asym_quant() by doing 2 shifts

7 years agoac3enc: avoid masking output in asym_quant() by using signed values for
Justin Ruggles [Tue, 21 Jun 2011 17:39:02 +0000 (13:39 -0400)]
ac3enc: avoid masking output in asym_quant() by using signed values for
quantized mantissas.

7 years agoH.264: fix 4:4:4 + deblocking + 8x8dct + cavlc + MBAFF
Jason Garrett-Glaser [Wed, 22 Jun 2011 09:34:02 +0000 (02:34 -0700)]
H.264: fix 4:4:4 + deblocking + 8x8dct + cavlc + MBAFF

7 years agoH.264: fix 4:4:4 + deblocking + MBAFF
Jason Garrett-Glaser [Wed, 22 Jun 2011 09:05:14 +0000 (02:05 -0700)]
H.264: fix 4:4:4 + deblocking + MBAFF

7 years agoH.264: fix 4:4:4 cropping warning
Jason Garrett-Glaser [Tue, 21 Jun 2011 11:16:33 +0000 (04:16 -0700)]
H.264: fix 4:4:4 cropping warning

7 years agoH.264: reference the correct SPS in decode_scaling_matrices
Jason Garrett-Glaser [Tue, 21 Jun 2011 08:10:37 +0000 (01:10 -0700)]
H.264: reference the correct SPS in decode_scaling_matrices

7 years agoH.264: fix bug in lossless 4:4:4 decoding
Jason Garrett-Glaser [Mon, 20 Jun 2011 22:56:35 +0000 (15:56 -0700)]
H.264: fix bug in lossless 4:4:4 decoding

Coefficient test for i16x16 add_pixels4 assumed luma plane.

7 years agoCrystalHD: Always identify H.264 streams as Annex B.
Philip Langdale [Sat, 18 Jun 2011 17:58:42 +0000 (10:58 -0700)]
CrystalHD: Always identify H.264 streams as Annex B.

Now that we're converting all streams to Annex B format, we
can identify them as such to the hardware.

Signed-off-by: Philip Langdale <philipl@overt.org>
7 years agoCrystalHD: Always send filtered H.264 stream to hardware.
Philip Langdale [Sat, 18 Jun 2011 18:00:37 +0000 (11:00 -0700)]
CrystalHD: Always send filtered H.264 stream to hardware.

As we're now always running mp4 format streams through the annex b
filter, it makes sense to pass the filtered stream down, as
libcrystalhd would be doing the conversion internally anyway.

Signed-off-by: Philip Langdale <philipl@overt.org>
7 years agoCrystalHD: Simplfy extradata handling for non-Annex B content.
Philip Langdale [Mon, 13 Jun 2011 03:13:18 +0000 (20:13 -0700)]
CrystalHD: Simplfy extradata handling for non-Annex B content.

Originally, we needed to restore the original extradata after
initialising the mp4toannexb filter because mplayer would end up
taking two passes through the init sequence for the same stream
and end up miscategorising the stream. This doesn't seem to happen
anymore, making the backup/restore process unnecessary.

Signed-off-by: Philip Langdale <philipl@overt.org>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 22 Jun 2011 03:16:40 +0000 (05:16 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  rawdec: Fix decoding of QT WRAW files.
  configure: report optimization for size separately
  mov: Support Digital Voodoo SD 8 Bit and DTS codec identifiers.
  mov: Support R10g codec identifier.
  riff/img2: Add JPEG 2000 codec IDs.
  riff: Add DAVC fourcc.
  riff: Add M263, XVIX, MMJP, CDV5 fourccs.
  rawvideo: Support auv2 fourcc.
  swscale: Remove unused variable from ff_bfin_get_unscaled_swscale().
  h264: Fix assert that failed to compile with -DDEBUG.
  h264: Add x86 assembly for 10-bit weight/biweight H.264 functions.
  fate: remove output redirections from old regtest scripts

Conflicts:
configure
libavcodec/rawdec.c
libavformat/isom.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agorawdec: Fix decoding of QT WRAW files.
ami_stuff [Tue, 24 May 2011 21:38:01 +0000 (23:38 +0200)]
rawdec: Fix decoding of QT WRAW files.

From some tests it results that:
1. All of the AVI/MOV WRAW files need to be flipped.
2. MOV WRAW files need to use AVI color modes.
3. Assigning PAL8 mode by default to WRAW codec is not correct.

7 years agoconfigure: report optimization for size separately
Mans Rullgard [Sun, 19 Jun 2011 17:41:14 +0000 (18:41 +0100)]
configure: report optimization for size separately

This removes an unsightly override of the 'optimizations' setting
only to make the configure report print 'small' when --enable-small
is used.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoffplay: do not init SDL audio if -an is specified. n0.8
Clément Bœsch [Tue, 21 Jun 2011 09:25:25 +0000 (11:25 +0200)]
ffplay: do not init SDL audio if -an is specified.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoFix zero-length gnu_printf format string warning.
Clément Bœsch [Wed, 15 Jun 2011 09:24:00 +0000 (11:24 +0200)]
Fix zero-length gnu_printf format string warning.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoA cmp instruction with two constants is invalid, thus "g" constraint
Reimar Döffinger [Tue, 21 Jun 2011 19:41:04 +0000 (21:41 +0200)]
A cmp instruction with two constants is invalid, thus "g" constraint
is not correct but must be "rm" instead.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomov: Support Digital Voodoo SD 8 Bit and DTS codec identifiers.
Carl Eugen Hoyos [Thu, 12 May 2011 23:08:01 +0000 (01:08 +0200)]
mov: Support Digital Voodoo SD 8 Bit and DTS codec identifiers.

7 years agomov: Support R10g codec identifier.
ami_stuff [Thu, 12 May 2011 22:49:29 +0000 (00:49 +0200)]
mov: Support R10g codec identifier.

7 years agoriff/img2: Add JPEG 2000 codec IDs.
Kamil Nowosad [Mon, 23 May 2011 21:13:34 +0000 (23:13 +0200)]
riff/img2: Add JPEG 2000 codec IDs.

7 years agoriff: Add DAVC fourcc.
ami_stuff [Wed, 11 May 2011 20:18:15 +0000 (22:18 +0200)]
riff: Add DAVC fourcc.

This fourcc is used by the "mpegable AVC" codec and files encoded with
this codec decode correctly with our H.264 decoder.

7 years agoriff: Add M263, XVIX, MMJP, CDV5 fourccs.
Carl Eugen Hoyos [Sun, 24 Apr 2011 22:27:03 +0000 (00:27 +0200)]
riff: Add M263, XVIX, MMJP, CDV5 fourccs.

7 years agorawvideo: Support auv2 fourcc.
ami_stuff [Sun, 24 Apr 2011 22:20:27 +0000 (00:20 +0200)]
rawvideo: Support auv2 fourcc.

7 years agorelease_notes: document not fully understood mingw-sdl issue
Michael Niedermayer [Tue, 21 Jun 2011 18:58:39 +0000 (20:58 +0200)]
release_notes: document not fully understood mingw-sdl issue

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoswscale: Remove unused variable from ff_bfin_get_unscaled_swscale().
Diego Biurrun [Wed, 15 Jun 2011 11:45:24 +0000 (13:45 +0200)]
swscale: Remove unused variable from ff_bfin_get_unscaled_swscale().

7 years agoh264: Fix assert that failed to compile with -DDEBUG.
Diego Biurrun [Mon, 20 Jun 2011 23:11:28 +0000 (01:11 +0200)]
h264: Fix assert that failed to compile with -DDEBUG.

The assert referenced a variable that no longer exists since 4:4:4 support.

7 years agorelease_notes: some updates
Michael Niedermayer [Tue, 21 Jun 2011 16:16:16 +0000 (18:16 +0200)]
release_notes: some updates

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agopresets: forgotten libvpx presets
Michael Niedermayer [Tue, 21 Jun 2011 15:52:16 +0000 (17:52 +0200)]
presets: forgotten libvpx presets

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agorelease_notes: fix version
Michael Niedermayer [Tue, 21 Jun 2011 15:08:01 +0000 (17:08 +0200)]
release_notes: fix version

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agorelease_notes: mention more codecs
Michael Niedermayer [Tue, 21 Jun 2011 15:06:35 +0000 (17:06 +0200)]
release_notes: mention more codecs
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agorelease_notes: there will be 2 releases each for one ABI/API.
Michael Niedermayer [Tue, 21 Jun 2011 15:02:14 +0000 (17:02 +0200)]
release_notes: there will be 2 releases each for one ABI/API.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agorelease_notes: suggest git log instead of the poorly maintained APIChanges
Michael Niedermayer [Tue, 21 Jun 2011 14:43:45 +0000 (16:43 +0200)]
release_notes: suggest git log instead of the poorly maintained APIChanges

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agorelease_notes: we do support releases
Michael Niedermayer [Tue, 21 Jun 2011 14:37:11 +0000 (16:37 +0200)]
release_notes: we do support releases

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agobuild system: disable memalign on haiku, its not reliable there.
Michael Niedermayer [Tue, 21 Jun 2011 14:36:23 +0000 (16:36 +0200)]
build system: disable memalign on haiku, its not reliable there.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoh264: Add x86 assembly for 10-bit weight/biweight H.264 functions.
Daniel Kang [Tue, 21 Jun 2011 04:30:23 +0000 (00:30 -0400)]
h264: Add x86 assembly for 10-bit weight/biweight H.264 functions.

Mainly ported from 8-bit H.264 weight/biweight.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agoffprobe: remove duplicate avformat_alloc_context()
Michael Niedermayer [Tue, 21 Jun 2011 12:38:58 +0000 (14:38 +0200)]
ffprobe: remove duplicate avformat_alloc_context()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoFix segmentation fault in ffprobe
Gavin Kinsey [Tue, 21 Jun 2011 12:13:37 +0000 (13:13 +0100)]
Fix segmentation fault in ffprobe