ffmpeg.git
8 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.
(cherry picked from commit da55ee6ccc05efdd9006bb8c31db9012a3326857)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 years agoH.264: disable 2tap qpel with CODEC_FLAG2_FAST and >8-bit
Jason Garrett-Glaser [Sun, 26 Jun 2011 07:21:54 +0000 (00:21 -0700)]
H.264: disable 2tap qpel with CODEC_FLAG2_FAST and >8-bit

2tap qpel isn't implemented yet for high bit depth, so it just breaks decoding.
(cherry picked from commit 9a0dda8b3ab07fa7be60335715a6c350c907a7b8)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 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>
(cherry picked from commit d0ce090ec553c88eb8e9c303156017417d4599cc)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 years agoadd changelog entries for added fourcc codecs and H.264 fixes
Reinhard Tartler [Thu, 23 Jun 2011 07:50:43 +0000 (09:50 +0200)]
add changelog entries for added fourcc codecs and H.264 fixes

8 years agobuild: Remove dependency and editor backup files also in the doc/ subdirectory.
Diego Biurrun [Thu, 23 Jun 2011 10:38:03 +0000 (12:38 +0200)]
build: Remove dependency and editor backup files also in the doc/ subdirectory.

8 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.

(cherry picked from commit 2359aeb52d2325ed6c28d4f7579e0999963bcec1)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 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

(cherry picked from commit 2702a6f114f996ddfb334f1d8ddfae50e2c7eef7)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 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

(cherry picked from commit 7c9079ab4cf0bcf34103fc9c5e49ec1fd7dd390c)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 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

(cherry picked from commit 932db250243812380640112fd27a59bc0642bc8a)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 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

(cherry picked from commit 85a88f9c0c0fcc2fc48121db1beb5ada68d24bdc)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 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.
(cherry picked from commit 3b79f2e2e928eb346dbea85cc89393dcdf010ca9)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 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>
(cherry picked from commit 921715edffbba5db8deb26b7ad3cb583ba963d03)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 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.
(cherry picked from commit 67e7dc54049d9b51a0c2168c8265145a9aef7780)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 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>
(cherry picked from commit f082a0fb420f0367bdd00219fd0fe8fe3caf7bc7)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 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.
(cherry picked from commit 53d5cd2c8225e251826c77f8f69a30250038fbd0)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 years agomov: Support R10g codec identifier.
ami_stuff [Thu, 12 May 2011 22:49:29 +0000 (00:49 +0200)]
mov: Support R10g codec identifier.
(cherry picked from commit 7ac639654f21aa78e0afa14f6c049ffa2c9078bd)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 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.
(cherry picked from commit a304a833621a793bbf49b796fe1fd11ea1cd54c8)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 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.
(cherry picked from commit 2ea1ca1714f655a463b941b115e45a1a2f031f7b)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 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.
(cherry picked from commit 682a20114e9ee0272be764c68dc1cf251ff083da)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 years agorawvideo: Support auv2 fourcc.
ami_stuff [Sun, 24 Apr 2011 22:20:27 +0000 (00:20 +0200)]
rawvideo: Support auv2 fourcc.
(cherry picked from commit d352df093169f39631f1ec0017a3f186ef85f83c)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 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.
(cherry picked from commit 6371ce4b0f0535a7f576b8f109d35345e3d11d7d)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 years agodocument libswscale bump
Reinhard Tartler [Mon, 20 Jun 2011 20:40:31 +0000 (22:40 +0200)]
document libswscale bump

8 years agoerror_resilience: skip last-MV predictor step if MVs are not available.
Ronald Bultje [Mon, 20 Jun 2011 15:07:56 +0000 (15:07 +0000)]
error_resilience: skip last-MV predictor step if MVs are not available.

Fixes crashes when playing broken MPEG2-TS streams.

8 years agoerror_resilience: actually add counter when adding a MV predictor.
Ronald Bultje [Mon, 20 Jun 2011 15:07:55 +0000 (15:07 +0000)]
error_resilience: actually add counter when adding a MV predictor.

Without, the predictor isn't actually used.

8 years agoqdm2: Fix alignment of local array.
Michael Niedermayer [Sat, 18 Jun 2011 00:44:17 +0000 (02:44 +0200)]
qdm2: Fix alignment of local array.

Fixes ticket270

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoocv: replace FF_INTERNAL_MEM_TYPE_MAX_VALUE with SIZE_MAX
Stefano Sabatini [Thu, 21 Apr 2011 08:31:48 +0000 (10:31 +0200)]
ocv: replace FF_INTERNAL_MEM_TYPE_MAX_VALUE with SIZE_MAX

Fix compilatin after removal of FF_INTERNAL_MEM_TYPE_MAX_VALUE.

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agodrawtext: add braces around initialisers for option defaults
Stefano Sabatini [Mon, 16 May 2011 21:44:35 +0000 (23:44 +0200)]
drawtext: add braces around initialisers for option defaults

Fix warnings of the type:
vf_drawtext.c:NNN: warning: missing braces around initializer
vf_drawtext.c:NNN: warning: (near initialization for ‘drawtext_options[X].default_val’)

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agodrawtext: reindent after the previous commit
Stefano Sabatini [Mon, 16 May 2011 21:48:00 +0000 (23:48 +0200)]
drawtext: reindent after the previous commit

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agodrawtext: fix strftime() text expansion
Stefano Sabatini [Mon, 16 May 2011 18:11:50 +0000 (20:11 +0200)]
drawtext: fix strftime() text expansion

The feature was dropped after the filter was partially rewritten and
recommitted.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoBump major version for b8e893399ff8755721dc117695ec5ff183c1e07b
Reinhard Tartler [Mon, 20 Jun 2011 10:20:54 +0000 (12:20 +0200)]
Bump major version for b8e893399ff8755721dc117695ec5ff183c1e07b

On architectures such as x86 (both 32 bit and 64bit), the stack element
size is fixed, which maintains alignment.  Here, this change does not
break anything. However, we also support also other architectures where
this property is not maintained and therefore, applications will crash
horribly.

This change effectively forces all applications to be recompiled against
libswscale.

8 years agoh264-mt: fix deadlock in packets with multiple slices (e.g. MP4).
Ronald S. Bultje [Mon, 20 Jun 2011 14:24:33 +0000 (10:24 -0400)]
h264-mt: fix deadlock in packets with multiple slices (e.g. MP4).

8 years agomov: Fix empty edit detection.
Yusuke Nakamura [Sat, 4 Jun 2011 16:28:43 +0000 (01:28 +0900)]
mov: Fix empty edit detection.

8 years agoDrop git- prefix from version labels
Mans Rullgard [Sun, 19 Jun 2011 18:31:56 +0000 (19:31 +0100)]
Drop git- prefix from version labels

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoUse the contents of RELEASE as version fallback instead of 'UNKNOWN'
Reinhard Tartler [Sun, 19 Jun 2011 17:51:20 +0000 (19:51 +0200)]
Use the contents of RELEASE as version fallback instead of 'UNKNOWN'

This makes binaries produced by source tarballs identify themselves with
the version number of the corresponding release series, unless overriden
by a 'VERSION' file.

8 years agopath64/open64: filter out unsupported flags
Mans Rullgard [Sun, 19 Jun 2011 17:03:21 +0000 (18:03 +0100)]
path64/open64: filter out unsupported flags

These flags are accepted without error but produce an annoying
warning.  Filtering them out makes the build less noisy.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoAdd Release Notes
Reinhard Tartler [Sun, 19 Jun 2011 17:45:36 +0000 (19:45 +0200)]
Add Release Notes

8 years agosipr: Drop unused DSPContext
Alex Converse [Sat, 18 Jun 2011 22:45:45 +0000 (15:45 -0700)]
sipr: Drop unused DSPContext

8 years agosipr: include string.h for mem*()
Alex Converse [Sat, 18 Jun 2011 22:44:31 +0000 (15:44 -0700)]
sipr: include string.h for mem*()

8 years agosipr: Use memmove() to copy overlapped buffers.
Alex Converse [Sat, 18 Jun 2011 22:42:57 +0000 (15:42 -0700)]
sipr: Use memmove() to copy overlapped buffers.

8 years agoh264: drop some ugly casts
Alex Converse [Sat, 18 Jun 2011 05:03:24 +0000 (22:03 -0700)]
h264: drop some ugly casts

8 years agolavf: prevent crash in av_open_input_file() if ap == NULL.
Ronald S. Bultje [Sat, 18 Jun 2011 19:33:49 +0000 (15:33 -0400)]
lavf: prevent crash in av_open_input_file() if ap == NULL.

Needed for proper behaviour in our old API compatibility code.

8 years agomore Changelog additions
Reinhard Tartler [Thu, 16 Jun 2011 17:59:47 +0000 (19:59 +0200)]
more Changelog additions

8 years agolavf: add a forgotten NULL check in convert_format_parameters().
Anton Khirnov [Sat, 18 Jun 2011 15:26:40 +0000 (17:26 +0200)]
lavf: add a forgotten NULL check in convert_format_parameters().

8 years agoFix build if yasm is not available.
Ronald S. Bultje [Sat, 18 Jun 2011 12:34:14 +0000 (08:34 -0400)]
Fix build if yasm is not available.

8 years agoH.264: Add x86 assembly for 10-bit MC Chroma H.264 functions.
Daniel Kang [Sun, 5 Jun 2011 22:33:23 +0000 (18:33 -0400)]
H.264: Add x86 assembly for 10-bit MC Chroma H.264 functions.

Mainly ported from 8-bit H.264 MC Chroma.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agolavc: add opt_find to AVCodecContext class.
Anton Khirnov [Fri, 17 Jun 2011 04:39:42 +0000 (06:39 +0200)]
lavc: add opt_find to AVCodecContext class.

Fixes encoder private options, which are broken now in ffmpeg, because
opt_default2() can't find them, thus making opt_default() to fail.

8 years agoh264: Complexify frame num gap shortening code
Alexander Strange [Sun, 12 Jun 2011 20:40:00 +0000 (20:40 +0000)]
h264: Complexify frame num gap shortening code

By observation it did not seem to handle prev_frame_num > frame_num.
This does not affect any files I have.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agointreadwrite.h: fix AV_RL32/AV_RB32 signedness.
Uoti Urpala [Tue, 14 Jun 2011 21:53:30 +0000 (21:53 +0000)]
intreadwrite.h: fix AV_RL32/AV_RB32 signedness.

The output type of the AV_RL32/AV_RB32 macros was signed int. The
resulting overflow broke at least some ASF streams with large
timestamps. Fix by adding a cast to uint32_t.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoFix decoding of mpegts streams with h264 video that does *NOT* have b frames
Mike Scheutzow [Thu, 28 Apr 2011 14:14:26 +0000 (10:14 -0400)]
Fix decoding of mpegts streams with h264 video that does *NOT* have b frames

One of the causes of this bug is that the h264 parser defaults low_delay
to 1, but the h264 codec defaults low_delay to 0. Really Ugly.

After many hours of looking at this, I'm still not sure how has_b_frames
is *intended* to behave, but to me the implementation appears way more
complicated than it ought to be.

My patch relies on the encoder to set an optional field in the SPS. This
works for libx264 streams, but I'm not sure that all h264 encoders will
set it.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoAdd minor bumps and APIChanges entries for lavf private options.
Anton Khirnov [Thu, 16 Jun 2011 15:21:46 +0000 (17:21 +0200)]
Add minor bumps and APIChanges entries for lavf private options.

8 years agoffmpeg: deprecate -vc and -tvstd
Anton Khirnov [Wed, 15 Jun 2011 05:34:12 +0000 (07:34 +0200)]
ffmpeg: deprecate -vc and -tvstd

They've been replaced by demuxer private options.

8 years agoffmpeg: use new avformat_open_* API.
Anton Khirnov [Thu, 9 Jun 2011 08:58:23 +0000 (10:58 +0200)]
ffmpeg: use new avformat_open_* API.

8 years agoffserver: use new avformat_open_* API.
Anton Khirnov [Thu, 9 Jun 2011 08:58:23 +0000 (10:58 +0200)]
ffserver: use new avformat_open_* API.

8 years agoffprobe: use new avformat_open_* API.
Anton Khirnov [Thu, 9 Jun 2011 08:58:23 +0000 (10:58 +0200)]
ffprobe: use new avformat_open_* API.

8 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.

8 years agocmdutils: add opt_default2().
Anton Khirnov [Wed, 25 May 2011 14:42:41 +0000 (16:42 +0200)]
cmdutils: add opt_default2().

It stores options in a dictionary to be passed to new open calls.

It will replace opt_default once all the pieces are in place.

8 years agodict: add AV_DICT_APPEND flag.
Anton Khirnov [Sat, 4 Jun 2011 16:43:05 +0000 (18:43 +0200)]
dict: add AV_DICT_APPEND flag.

8 years agolavf: add avformat_write_header() as a replacement for av_write_header().
Anton Khirnov [Sun, 22 May 2011 11:53:33 +0000 (13:53 +0200)]
lavf: add avformat_write_header() as a replacement for av_write_header().

It supports more convenient setting of AVOptions.

8 years agoDeprecate av_open_input_* and remove their uses.
Anton Khirnov [Sat, 4 Jun 2011 15:36:30 +0000 (17:36 +0200)]
Deprecate av_open_input_* and remove their uses.

Deprecate the last remaining member of AVFormatParameters.

8 years agolavf: add avformat_open_input() as a replacement for av_open_input_*
Anton Khirnov [Sun, 22 May 2011 06:37:25 +0000 (08:37 +0200)]
lavf: add avformat_open_input() as a replacement for av_open_input_*

Add support for demuxer private options.

8 years agoAVOptions: add av_opt_find() as a replacement for av_find_opt.
Anton Khirnov [Sun, 22 May 2011 11:25:19 +0000 (13:25 +0200)]
AVOptions: add av_opt_find() as a replacement for av_find_opt.

8 years agoAVOptions: add av_opt_set_dict() mapping a dictionary struct to a context.
Anton Khirnov [Sun, 22 May 2011 10:52:50 +0000 (12:52 +0200)]
AVOptions: add av_opt_set_dict() mapping a dictionary struct to a context.

This way the caller can pass all the options in one nice package.

8 years agoffmpeg: don't abuse a global for passing frame size from input to output
Anton Khirnov [Wed, 15 Jun 2011 06:00:03 +0000 (08:00 +0200)]
ffmpeg: don't abuse a global for passing frame size from input to output

It's broken with multiple files or video streams.

8 years agoffmpeg: don't abuse a global for passing pixel format from input to output
Anton Khirnov [Wed, 15 Jun 2011 06:00:03 +0000 (08:00 +0200)]
ffmpeg: don't abuse a global for passing pixel format from input to output

It's broken with multiple files or video streams.

8 years agoffmpeg: initialise encoders earlier.
Anton Khirnov [Thu, 16 Jun 2011 04:24:54 +0000 (06:24 +0200)]
ffmpeg: initialise encoders earlier.

Fixes choosing supported samplerate and framerate.

8 years agoffmpeg: merge output_codecs array into AVOutputStream members.
Anton Khirnov [Thu, 16 Jun 2011 16:04:56 +0000 (18:04 +0200)]
ffmpeg: merge output_codecs array into AVOutputStream members.

There's no point in keeping them separate.

8 years agortpenc_latm: Consistently use "Libav" in license boilerplate.
Diego Biurrun [Thu, 16 Jun 2011 15:04:06 +0000 (17:04 +0200)]
rtpenc_latm: Consistently use "Libav" in license boilerplate.

8 years agortsp: Don't pass string pointer as format string to ff_url_join
Martin Storsjö [Thu, 16 Jun 2011 08:04:27 +0000 (11:04 +0300)]
rtsp: Don't pass string pointer as format string to ff_url_join

In this case, the string that was passed couldn't contain
user-defined data and thus there was no risk for injection
bugs, but it's safer this way, if we later change the
content of the options string.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agommsh: fixed printf injection bug in mmsh request
Kirill Zorin [Wed, 15 Jun 2011 17:18:29 +0000 (19:18 +0200)]
mmsh: fixed printf injection bug in mmsh request

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agocodec-regression: remove pointless -r options for dnxhd
Anton Khirnov [Thu, 16 Jun 2011 05:24:14 +0000 (07:24 +0200)]
codec-regression: remove pointless -r options for dnxhd

8 years agoac3enc: use correct alignment and length in channel coupling dsp functions.
Justin Ruggles [Tue, 14 Jun 2011 17:45:38 +0000 (13:45 -0400)]
ac3enc: use correct alignment and length in channel coupling dsp functions.

This fixes a segfault when using the C version of ac3dsp.float_to_fixed24().

8 years agoffmpeg: don't abuse a global for passing framerate from input to output
Anton Khirnov [Wed, 15 Jun 2011 06:00:03 +0000 (08:00 +0200)]
ffmpeg: don't abuse a global for passing framerate from input to output

It's broken with multiple files or video streams.

8 years agoffmpeg: don't abuse a global for passing channels from input to output
Anton Khirnov [Wed, 15 Jun 2011 06:00:03 +0000 (08:00 +0200)]
ffmpeg: don't abuse a global for passing channels from input to output

It's broken with multiple files or audio streams.

8 years agoffmpeg: don't abuse a global for passing samplerate from input to output
Anton Khirnov [Wed, 15 Jun 2011 06:00:03 +0000 (08:00 +0200)]
ffmpeg: don't abuse a global for passing samplerate from input to output

It's broken with multiple files or audio streams.

This removes the default samplerate of 44100 for raw input, hence all
the FATE changes.

8 years agoARM: update ff_h264_idct8_add4_neon for 4:4:4 changes
Mans Rullgard [Wed, 15 Jun 2011 11:58:00 +0000 (12:58 +0100)]
ARM: update ff_h264_idct8_add4_neon for 4:4:4 changes

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoswscale: use SwsContext for av_log when available
Janne Grunau [Mon, 25 Apr 2011 22:27:48 +0000 (00:27 +0200)]
swscale: use SwsContext for av_log when available

Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years agoswscale: Remove HAVE_MMX from files that are only compiled with MMX enabled.
Diego Biurrun [Tue, 14 Jun 2011 22:56:31 +0000 (00:56 +0200)]
swscale: Remove HAVE_MMX from files that are only compiled with MMX enabled.

8 years agoswscale: Fix compilation with --disable-mmx2.
Diego Biurrun [Tue, 14 Jun 2011 22:52:43 +0000 (00:52 +0200)]
swscale: Fix compilation with --disable-mmx2.

Some MMX2 functions were being referenced without proper #ifdefs.

8 years agoswscale: remove misplaced comment.
Ronald S. Bultje [Tue, 14 Jun 2011 20:55:24 +0000 (16:55 -0400)]
swscale: remove misplaced comment.

The comment should have been placed only in
yuv2rgb48_X_c_template, not yuv2rgb48_1_c_template.

8 years agoffmpeg: fix streaming to ffserver.
Ronald S. Bultje [Tue, 14 Jun 2011 19:35:05 +0000 (15:35 -0400)]
ffmpeg: fix streaming to ffserver.

8 years agoswscale: split out RGB48 output functions from yuv2packed[12X]_c().
Ronald S. Bultje [Tue, 14 Jun 2011 19:02:24 +0000 (15:02 -0400)]
swscale: split out RGB48 output functions from yuv2packed[12X]_c().

This is part of the Great Evil Plan to simplify swscale. Note that
you'll see some code duplication between the output functions for
different RGB variants, and even between packed-YUV and RGB
variants. This is intentional because it improves readability.

8 years agobuild: move vpath directives to main Makefile
Mans Rullgard [Sun, 5 Jun 2011 21:00:54 +0000 (22:00 +0100)]
build: move vpath directives to main Makefile

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoswscale: fix JPEG-range YUV scaling artifacts.
Michael Niedermayer [Mon, 13 Jun 2011 01:53:22 +0000 (21:53 -0400)]
swscale: fix JPEG-range YUV scaling artifacts.

YUV planes were marked as uint16_t, but they contained signed data.
Fixes issue 1108 and 675.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agobuild: move ALLFFLIBS to a more logical place
Mans Rullgard [Sun, 5 Jun 2011 21:18:06 +0000 (22:18 +0100)]
build: move ALLFFLIBS to a more logical place

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoARM: factor some repetitive code into macros
Mans Rullgard [Sun, 12 Jun 2011 23:33:19 +0000 (00:33 +0100)]
ARM: factor some repetitive code into macros

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoFix SVQ3 after adding 4:4:4 H.264 support
Jason Garrett-Glaser [Mon, 13 Jun 2011 17:21:46 +0000 (10:21 -0700)]
Fix SVQ3 after adding 4:4:4 H.264 support

8 years agoH.264: fix CODEC_FLAG_GRAY
Jason Garrett-Glaser [Thu, 9 Jun 2011 23:17:41 +0000 (16:17 -0700)]
H.264: fix CODEC_FLAG_GRAY

It was broken in 4:4:4, and still did chroma deblocking for no reason in 4:2:0.

8 years ago4:4:4 H.264 decoding support
Jason Garrett-Glaser [Fri, 3 Jun 2011 08:12:28 +0000 (01:12 -0700)]
4:4:4 H.264 decoding support

Note: this is 4:4:4 from the 2007 spec revision, not the previous (now deprecated) 4:4:4 mode in H.264.

8 years agoac3enc: fix allocation of floating point samples.
Justin Ruggles [Mon, 13 Jun 2011 21:44:50 +0000 (17:44 -0400)]
ac3enc: fix allocation of floating point samples.

sizeof(SampleType) is different for fixed and float encoders.

8 years agoutils: Drop pointless '#if 1' preprocessor directive.
Diego Biurrun [Fri, 10 Jun 2011 18:27:50 +0000 (20:27 +0200)]
utils: Drop pointless '#if 1' preprocessor directive.

8 years agoac3enc: remove empty ac3_float function that is never called
Justin Ruggles [Fri, 10 Jun 2011 19:17:55 +0000 (15:17 -0400)]
ac3enc: remove empty ac3_float function that is never called

8 years agoac3enc: split templated float vs. fixed functions into a separate file.
Justin Ruggles [Fri, 10 Jun 2011 18:57:19 +0000 (14:57 -0400)]
ac3enc: split templated float vs. fixed functions into a separate file.

Function pointers are used for templated functions instead of needlessly
duplicating many functions.

8 years agoac3enc: dynamically allocate AC3EncodeContext fields windowed_samples and mdct
Justin Ruggles [Fri, 10 Jun 2011 16:42:36 +0000 (12:42 -0400)]
ac3enc: dynamically allocate AC3EncodeContext fields windowed_samples and mdct

This will allow the same struct to be used for both the fixed and float ac3
encoders.

8 years agoac3enc: use function pointer to choose between AC-3 and E-AC-3 header output
Justin Ruggles [Fri, 10 Jun 2011 15:45:03 +0000 (11:45 -0400)]
ac3enc: use function pointer to choose between AC-3 and E-AC-3 header output
functions.

8 years agoRoll back 4:4:4 H.264 for now
Jason Garrett-Glaser [Mon, 13 Jun 2011 20:38:46 +0000 (13:38 -0700)]
Roll back 4:4:4 H.264 for now
Needs some ARM/PPC asm modifications.

8 years agoFix SVQ3 after adding 4:4:4 H.264 support
Jason Garrett-Glaser [Mon, 13 Jun 2011 17:21:46 +0000 (10:21 -0700)]
Fix SVQ3 after adding 4:4:4 H.264 support

8 years agoH.264: fix CODEC_FLAG_GRAY
Jason Garrett-Glaser [Thu, 9 Jun 2011 23:17:41 +0000 (16:17 -0700)]
H.264: fix CODEC_FLAG_GRAY

It was broken in 4:4:4, and still did chroma deblocking for no reason in 4:2:0.

8 years ago4:4:4 H.264 decoding support
Jason Garrett-Glaser [Fri, 3 Jun 2011 08:12:28 +0000 (01:12 -0700)]
4:4:4 H.264 decoding support

Note: this is 4:4:4 from the 2007 spec revision, not the previous (now deprecated) 4:4:4 mode in H.264.

8 years agoh264_parser: Fix whitespace after previous change.
Philip Langdale [Tue, 29 Mar 2011 04:43:23 +0000 (21:43 -0700)]
h264_parser: Fix whitespace after previous change.

Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoh264_parser: Fix behaviour when PARSER_FLAG_COMPLETE_FRAMES is set.
Philip Langdale [Tue, 29 Mar 2011 04:42:02 +0000 (21:42 -0700)]
h264_parser: Fix behaviour when PARSER_FLAG_COMPLETE_FRAMES is set.

Currently, the parser is buggy and only processes the stream extradata
when the flag is set. This fixes it to actually inspect the frames.

Whitespce will be fixed in a separate change.

Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Anton Khirnov <anton@khirnov.net>