ffmpeg.git
8 years agoEliminate FF_COMMON_FRAME macro.
Diego Biurrun [Wed, 6 Jul 2011 18:08:30 +0000 (20:08 +0200)]
Eliminate FF_COMMON_FRAME macro.

FF_COMMON_FRAME holds the contents of the AVFrame structure and is also copied
to struct Picture.  Replace by an embedded AVFrame structure in struct Picture.

8 years agoswscale: fix crash with dithering due incorrect offset calculation.
Anton Mitrofanov [Sun, 10 Jul 2011 16:07:43 +0000 (20:07 +0400)]
swscale: fix crash with dithering due incorrect offset calculation.

ptrdiff_t can be 4 bytes, which leads to the next element being 4-byte
aligned and thus at a different offset than intended. Forcing 8-byte
alignment forces equal offset of dither16/32 on x86-32 and x86-64.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agomatroskadec: fix stupid typo (!= -> ==)
Anton Khirnov [Sun, 10 Jul 2011 19:48:23 +0000 (20:48 +0100)]
matroskadec: fix stupid typo (!= -> ==)

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agobuild: remove duplicates from order-only directory prerequisite list
Diego Biurrun [Sun, 10 Jul 2011 19:05:45 +0000 (21:05 +0200)]
build: remove duplicates from order-only directory prerequisite list

This reduces startup latency for make invocations, which is especially
noticeable on systems that are slow or have slow I/O, like Windows.

8 years agobuild: rework rules for things in the tools dir
Mans Rullgard [Sun, 10 Jul 2011 19:26:25 +0000 (20:26 +0100)]
build: rework rules for things in the tools dir

Declaring tools associated with each library in their respective
makefiles allows these tools to easily depend on the correct
prerequisites and link against the libs they need.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoconfigure: fix --cpu=host with gcc 4.6
Mans Rullgard [Sun, 10 Jul 2011 15:17:55 +0000 (16:17 +0100)]
configure: fix --cpu=host with gcc 4.6

The output from -v with gcc 4.6 has changed such that the search
pattern matches too soon without making it more strict.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoARM: use const macro to define constant data in asm
Mans Rullgard [Sat, 9 Jul 2011 11:37:08 +0000 (12:37 +0100)]
ARM: use const macro to define constant data in asm

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agobitdepth: simplify FUNC/FUNCC macros
Mans Rullgard [Sat, 9 Jul 2011 10:44:07 +0000 (11:44 +0100)]
bitdepth: simplify FUNC/FUNCC macros

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agodsputil: remove ff_emulated_edge_mc macro used in one place
Mans Rullgard [Sat, 9 Jul 2011 10:38:39 +0000 (11:38 +0100)]
dsputil: remove ff_emulated_edge_mc macro used in one place

This macro can cause problems in conjunction with the bitdepth
template expansion.  It was presumably added to keep source
compatibility when high bitdepth support was added.  However,
emulated_edge_mc is a dsputil pointer and should not be called
directly, so there is little reason to keep such a macro.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years ago9/10-bit: simplify clipping macros
Mans Rullgard [Sat, 9 Jul 2011 10:03:01 +0000 (11:03 +0100)]
9/10-bit: simplify clipping macros

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agomatroskadec: reindent
Anton Khirnov [Sat, 9 Jul 2011 06:11:30 +0000 (08:11 +0200)]
matroskadec: reindent

8 years agomatroskadec: defer parsing of cues element until we seek.
Aaron Colwell [Sat, 9 Jul 2011 05:48:43 +0000 (07:48 +0200)]
matroskadec: defer parsing of cues element until we seek.

This decreases startup latency.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agolavc: add support for codec-specific defaults.
Anton Khirnov [Wed, 8 Jun 2011 06:27:53 +0000 (08:27 +0200)]
lavc: add support for codec-specific defaults.

8 years agolavc: make avcodec_alloc_context3 officially public.
Anton Khirnov [Sat, 18 Jun 2011 11:40:48 +0000 (13:40 +0200)]
lavc: make avcodec_alloc_context3 officially public.

Deprecate avcodec_alloc_context/2.

8 years agolavc: remove a half-working attempt at different defaults for audio/video codecs.
Anton Khirnov [Mon, 6 Jun 2011 16:37:46 +0000 (18:37 +0200)]
lavc: remove a half-working attempt at different defaults for audio/video codecs.

It should be replaced with proper per-codec defaults.

8 years agoac3dec: add a drc_scale private option
Anton Khirnov [Fri, 20 May 2011 20:37:59 +0000 (22:37 +0200)]
ac3dec: add a drc_scale private option

Deprecate corresponding AVCodecContext option.

This is the first test of decoder private options.

8 years agolavf: add avformat_find_stream_info()
Anton Khirnov [Sun, 22 May 2011 17:24:59 +0000 (19:24 +0200)]
lavf: add avformat_find_stream_info()

It supports passing options to codecs.

8 years agolavc: introduce avcodec_open2() as a replacement for avcodec_open().
Anton Khirnov [Sun, 22 May 2011 12:10:49 +0000 (14:10 +0200)]
lavc: introduce avcodec_open2() as a replacement for avcodec_open().

Adds support for decoder-private options and makes setting other options
simpler.

8 years agoH.264: fix filter_mb_fast with 4:4:4 + 8x8dct
Jason Garrett-Glaser [Sat, 9 Jul 2011 18:03:26 +0000 (11:03 -0700)]
H.264: fix filter_mb_fast with 4:4:4 + 8x8dct

8 years agoalsa: limit buffer_size to 32768 frames.
Justin Ruggles [Wed, 22 Jun 2011 20:38:20 +0000 (16:38 -0400)]
alsa: limit buffer_size to 32768 frames.

In testing, the file output plugin gave a max buffer size of about 20 million
frames, which is way more than what is really needed and causes a memory
allocation error on my system.

8 years agoalsa: fallback to buffer_size/4 for period_size.
Justin Ruggles [Wed, 22 Jun 2011 19:33:56 +0000 (15:33 -0400)]
alsa: fallback to buffer_size/4 for period_size.

buffer_size/4 is the value used by aplay. This fixes output to null
devices, e.g. writing ALSA output to a file.

8 years agodoc: replace @pxref by @ref where appropriate
Diego Biurrun [Fri, 8 Jul 2011 13:34:56 +0000 (15:34 +0200)]
doc: replace @pxref by @ref where appropriate

8 years agompeg1video: don't abort if thread_count is too high.
Frank Barchard [Wed, 29 Jun 2011 21:13:18 +0000 (14:13 -0700)]
mpeg1video: don't abort if thread_count is too high.

Instead, just decrease it to a valid value and use that.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agosegafilm: add support for videos with cri adx adpcm
Matthew Hoops [Tue, 5 Jul 2011 16:21:22 +0000 (12:21 -0400)]
segafilm: add support for videos with cri adx adpcm

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agogxf: Fix 25 fps DV material in GXF being misdetected as 50 fps
Tomas Härdin [Thu, 23 Jun 2011 13:59:33 +0000 (15:59 +0200)]
gxf: Fix 25 fps DV material in GXF being misdetected as 50 fps

Set DV packet durations using fields_per_frame.
This requires turning gxf_stream_info into the demuxer's context for access to the value in gxf_packet().
Since MPEG-2 seems to work fine this done only for DV.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agolibxvid: Add const qualifier to silence compiler warning.
Diego Biurrun [Wed, 6 Jul 2011 23:31:04 +0000 (01:31 +0200)]
libxvid: Add const qualifier to silence compiler warning.

libavcodec/libxvidff.c:752: warning: initialization discards qualifiers from pointer target type

8 years agoH.264: improve qp_thresh check
Jason Garrett-Glaser [Wed, 6 Jul 2011 21:08:30 +0000 (14:08 -0700)]
H.264: improve qp_thresh check

Eliminate redundant check in filter_mb_fast, consider bit depth in calculating qp_thresh.

8 years agoH.264: use fill_rectangle in CABAC decoding
Jason Garrett-Glaser [Wed, 6 Jul 2011 20:25:13 +0000 (13:25 -0700)]
H.264: use fill_rectangle in CABAC decoding

8 years agoH.264: Remove redundant hl_motion_16/8 code
Jason Garrett-Glaser [Wed, 6 Jul 2011 19:26:04 +0000 (12:26 -0700)]
H.264: Remove redundant hl_motion_16/8 code

8 years agoH.264: merge fill_rectangle into P-SKIP MV prediction, to match B-SKIP
Jason Garrett-Glaser [Wed, 6 Jul 2011 14:58:50 +0000 (07:58 -0700)]
H.264: merge fill_rectangle into P-SKIP MV prediction, to match B-SKIP

8 years agoH.264: faster P-SKIP decoding
Jason Garrett-Glaser [Wed, 6 Jul 2011 00:55:14 +0000 (17:55 -0700)]
H.264: faster P-SKIP decoding

Inline the relevant parts of fill_decode_caches into P-SKIP mv prediction to
avoid calling the whole thing.

8 years agoH.264: av_always_inline some more functions
Jason Garrett-Glaser [Wed, 6 Jul 2011 01:08:22 +0000 (18:08 -0700)]
H.264: av_always_inline some more functions

These weren't getting inlined all the time in all gcc versions.

8 years agoH.264: Add x86 assembly for 10-bit H.264 predict functions
Daniel Kang [Sun, 3 Jul 2011 18:56:09 +0000 (14:56 -0400)]
H.264: Add x86 assembly for 10-bit H.264 predict functions

Mainly ported from 8-bit H.264 predict.

Some code ported from x264. LGPL ok by author.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agoswscale: rename uv_off/uv_off2 to uv_off_px/byte.
Ronald S. Bultje [Fri, 8 Jul 2011 21:39:04 +0000 (14:39 -0700)]
swscale: rename uv_off/uv_off2 to uv_off_px/byte.

8 years agoswscale: implement error dithering in planarCopyWrapper.
Ronald S. Bultje [Wed, 6 Jul 2011 03:48:13 +0000 (20:48 -0700)]
swscale: implement error dithering in planarCopyWrapper.

Based on a somewhat similar idea in FFmpeg's swscale.

8 years agoswscale: error dithering for 16/9/10-bit to 8-bit.
Ronald S. Bultje [Tue, 5 Jul 2011 19:49:11 +0000 (12:49 -0700)]
swscale: error dithering for 16/9/10-bit to 8-bit.

Based on a somewhat similar idea in FFmpeg's swscale copy.

8 years agoswscale: fix overflow in 16-bit vertical scaling.
Ronald S. Bultje [Fri, 8 Jul 2011 21:57:07 +0000 (14:57 -0700)]
swscale: fix overflow in 16-bit vertical scaling.

We operated on 31-bits, but with e.g. lanczos scaling, values can
add up to beyond 0x80000000, thus leading to output of zeroes. Drop
one bit of precision fixes this.

8 years agoswscale: fix crash in 8-bpc bilinear output without alpha.
Ronald S. Bultje [Fri, 8 Jul 2011 19:28:28 +0000 (12:28 -0700)]
swscale: fix crash in 8-bpc bilinear output without alpha.

We accessed the alpha array even it wasn't used and didn't
exist, hence leading to a NULL pointer segfault.

8 years agoswscale: fix 16-bit horizontal scaling underflow.
Ronald S. Bultje [Fri, 8 Jul 2011 21:54:31 +0000 (14:54 -0700)]
swscale: fix 16-bit horizontal scaling underflow.

When using e.g. lanczos scaling, values can drop below 0, so they
should never be unsigned.

8 years agoswscale: fix 16-bit scaling when output is 8-bits.
Ronald S. Bultje [Fri, 8 Jul 2011 21:52:52 +0000 (14:52 -0700)]
swscale: fix 16-bit scaling when output is 8-bits.

We would use the second half of the U plane buffer, rather than the
V plane buffer, to output the V plane pixels.

8 years agomp3enc: write a xing frame containing number of frames in the file
Anton Khirnov [Mon, 21 Mar 2011 20:02:50 +0000 (21:02 +0100)]
mp3enc: write a xing frame containing number of frames in the file

8 years agolavf: update AVStream.nb_frames when muxing.
Anton Khirnov [Wed, 16 Mar 2011 07:45:14 +0000 (08:45 +0100)]
lavf: update AVStream.nb_frames when muxing.

8 years agoffmpeg: remove unused variables from InputStream.
Anton Khirnov [Wed, 6 Jul 2011 06:35:07 +0000 (08:35 +0200)]
ffmpeg: remove unused variables from InputStream.

8 years agodoc: update ffmpeg -ar and -ac documentation to reflect reality.
Anton Khirnov [Fri, 24 Jun 2011 09:22:15 +0000 (11:22 +0200)]
doc: update ffmpeg -ar and -ac documentation to reflect reality.

8 years agoffmpeg: remove pointless if (nb_input_files)
Anton Khirnov [Fri, 24 Jun 2011 06:54:52 +0000 (08:54 +0200)]
ffmpeg: remove pointless if (nb_input_files)

It's required to be non-zero since
cc58300e30e7aea6acfecd72a04a3886b285cfd8

8 years agoffmpeg: merge input_files_ts_offset into input_files.
Anton Khirnov [Thu, 23 Jun 2011 17:30:15 +0000 (19:30 +0200)]
ffmpeg: merge input_files_ts_offset into input_files.

8 years agoffmpeg: merge input_codecs into input_streams.
Anton Khirnov [Thu, 23 Jun 2011 17:22:19 +0000 (19:22 +0200)]
ffmpeg: merge input_codecs into input_streams.

There's no point in keeping them separate.

8 years agoffmpeg: drop AV prefixes from struct names.
Anton Khirnov [Thu, 23 Jun 2011 17:14:08 +0000 (19:14 +0200)]
ffmpeg: drop AV prefixes from struct names.

Those are reserved for the libs.

8 years agoffmpeg: deprecate loop_input and loop_output options
Anton Khirnov [Sat, 18 Jun 2011 07:49:24 +0000 (09:49 +0200)]
ffmpeg: deprecate loop_input and loop_output options

They were replaced by (de)muxer private options.

8 years agogif: add loop private option.
Anton Khirnov [Sat, 18 Jun 2011 07:47:46 +0000 (09:47 +0200)]
gif: add loop private option.

Deprecate AVFormatContext.loop_output.

8 years agoimg2: add loop private option.
Anton Khirnov [Sat, 18 Jun 2011 07:28:49 +0000 (09:28 +0200)]
img2: add loop private option.

Deprecate AVFormatContext.loop_input.

8 years agoAVOptions: in av_opt_find() don't return named constants unless unit is specified.
Anton Khirnov [Wed, 6 Jul 2011 17:56:58 +0000 (19:56 +0200)]
AVOptions: in av_opt_find() don't return named constants unless unit is specified.

That is, unless the caller explicitly asks for them.

Prevents conflict between e.g. the 'loop' option in img2 demuxer and
'loop' flag in AVCodecContext.

8 years agox11grab: replace undocumented nomouse hackery with a private option.
Anton Khirnov [Mon, 20 Jun 2011 10:42:36 +0000 (12:42 +0200)]
x11grab: replace undocumented nomouse hackery with a private option.

8 years agodict: extend documentation.
Anton Khirnov [Fri, 8 Jul 2011 06:27:53 +0000 (08:27 +0200)]
dict: extend documentation.

8 years agolls: whitespace cosmetics
Mans Rullgard [Fri, 8 Jul 2011 11:52:12 +0000 (12:52 +0100)]
lls: whitespace cosmetics

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agodocs: Use proper markup for a literal command line option
Martin Storsjö [Fri, 8 Jul 2011 10:37:54 +0000 (13:37 +0300)]
docs: Use proper markup for a literal command line option

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agodocs: Remove a remark that isn't relevant any longer
Martin Storsjö [Fri, 8 Jul 2011 08:18:13 +0000 (11:18 +0300)]
docs: Remove a remark that isn't relevant any longer

Now the bin directory only contains those DLLs that are actually used.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agodocs: Explain how to regenerate import libraries with MSVC tools
Martin Storsjö [Fri, 8 Jul 2011 08:16:32 +0000 (11:16 +0300)]
docs: Explain how to regenerate import libraries with MSVC tools

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agodocs: Mention that libraries for MSVC can be built with a cross compiler
Martin Storsjö [Fri, 8 Jul 2011 08:15:00 +0000 (11:15 +0300)]
docs: Mention that libraries for MSVC can be built with a cross compiler

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agodocs: Remove old docs that mention setting up a build environment with lib.exe
Martin Storsjö [Fri, 8 Jul 2011 08:14:14 +0000 (11:14 +0300)]
docs: Remove old docs that mention setting up a build environment with lib.exe

The build system doesn't use lib.exe any longer, and therefore this
can be simplified.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agodocs: Mention the upstream bugzilla url about the dlltool vs MSVC issue
Martin Storsjö [Fri, 8 Jul 2011 08:00:01 +0000 (11:00 +0300)]
docs: Mention the upstream bugzilla url about the dlltool vs MSVC issue

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agodnxhd: prettify tables
Mans Rullgard [Fri, 8 Jul 2011 12:58:15 +0000 (13:58 +0100)]
dnxhd: prettify tables

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoflashsv: inline copy_region() into flashsv_decode_frame()
Diego Biurrun [Wed, 29 Jun 2011 22:59:13 +0000 (00:59 +0200)]
flashsv: inline copy_region() into flashsv_decode_frame()

8 years agoavutil: Add missing test programs to Makefile.
Diego Biurrun [Sun, 26 Jun 2011 22:46:29 +0000 (00:46 +0200)]
avutil: Add missing test programs to Makefile.

8 years agoflashsv: improve some variable names
Diego Biurrun [Wed, 29 Jun 2011 23:00:10 +0000 (01:00 +0200)]
flashsv: improve some variable names

8 years agolibschroedingerdec: Remove write-only variable.
Diego Biurrun [Wed, 6 Jul 2011 23:30:59 +0000 (01:30 +0200)]
libschroedingerdec: Remove write-only variable.

libavcodec/libschroedingerdec.c:211:23: warning: variable 'format' set but not used

8 years agolibavdevice: Remove disabled code.
Diego Biurrun [Tue, 26 Apr 2011 12:28:45 +0000 (14:28 +0200)]
libavdevice: Remove disabled code.

8 years agobuild: remove unused copy regression test script
Diego Biurrun [Tue, 5 Jul 2011 12:58:49 +0000 (14:58 +0200)]
build: remove unused copy regression test script

The copy regression test script is unused, bash-specific and did
not even work properly when it was originally committed.

8 years agobuild: clean up library installation rules
Mans Rullgard [Thu, 7 Jul 2011 14:25:30 +0000 (15:25 +0100)]
build: clean up library installation rules

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agovf_drawtext: Remove some write-only variables.
Diego Biurrun [Wed, 6 Jul 2011 23:31:05 +0000 (01:31 +0200)]
vf_drawtext: Remove some write-only variables.

libavfilter/vf_drawtext.c:427:22: warning: variable 'dst_pixel' set but not used
libavfilter/vf_drawtext.c:463:22: warning: variable 'dst_pixel' set but not used

8 years agolibgsm: Drop const qualifier to silence compiler warning.
Diego Biurrun [Wed, 6 Jul 2011 23:31:01 +0000 (01:31 +0200)]
libgsm: Drop const qualifier to silence compiler warning.

libavcodec/libgsm.c:148: warning: passing argument 2 of ‘gsm_decode’ discards qualifiers from pointer target type
/usr/include/gsm/gsm.h:68: note: expected ‘gsm_byte *’ but argument is of type ‘const uint8_t *’

8 years agodocs: Remove needless configure options
Martin Storsjö [Thu, 7 Jul 2011 06:51:57 +0000 (09:51 +0300)]
docs: Remove needless configure options

Specifying --enable-static --disable-shared isn't necessary, these
are the defaults.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agodocs: Don't recommend adding --enable-memalign-hack
Martin Storsjö [Thu, 7 Jul 2011 06:50:43 +0000 (09:50 +0300)]
docs: Don't recommend adding --enable-memalign-hack

It is enabled automatically when required nowadays.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agolibvo-amrwbenc: Add braces to shut up gcc warning.
Diego Biurrun [Wed, 6 Jul 2011 23:31:00 +0000 (01:31 +0200)]
libvo-amrwbenc: Add braces to shut up gcc warning.

libavcodec/libvo-amrwbenc.c:37:5: warning: missing braces around initializer

8 years agoadts: Fix PCE copying.
Alex Converse [Wed, 29 Jun 2011 20:41:47 +0000 (13:41 -0700)]
adts: Fix PCE copying.

Parse the extension flag bit when reading the MPEG4 AudioSpecificConfig.

This has nothing to do with SBR/PS contradictory to what was noted when it was removed.

8 years agoffserver: remove unused variable.
Chris Wilson [Wed, 6 Jul 2011 20:13:10 +0000 (22:13 +0200)]
ffserver: remove unused variable.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoRemove unused and outdated TODO file.
Diego Biurrun [Wed, 6 Jul 2011 18:46:06 +0000 (20:46 +0200)]
Remove unused and outdated TODO file.

8 years agogitignore: Drop individual .d ignore; it is already covered by a wildcard.
Diego Biurrun [Sun, 3 Jul 2011 21:48:22 +0000 (23:48 +0200)]
gitignore: Drop individual .d ignore; it is already covered by a wildcard.

8 years agolavf: deprecate AVStream.quality.
Anton Khirnov [Mon, 20 Jun 2011 11:08:40 +0000 (13:08 +0200)]
lavf: deprecate AVStream.quality.

AVStream is no place for it and it's unused outside of ffmpeg anyway.

8 years agobink: pass Bink version to audio decoder through extradata instead of codec_tag.
Kostya [Fri, 17 Jun 2011 07:28:58 +0000 (07:28 +0000)]
bink: pass Bink version to audio decoder through extradata instead of codec_tag.

This is needed because not all players (e.g. MPlayer) are able to distinguish
two different Bink audio decoders when codec_tag is set.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agolibpostproc: Remove disabled code.
Diego Biurrun [Tue, 26 Apr 2011 12:27:38 +0000 (14:27 +0200)]
libpostproc: Remove disabled code.

8 years agoflashsv: improve some comments and fix some wrong ones
Diego Biurrun [Thu, 30 Jun 2011 13:05:24 +0000 (15:05 +0200)]
flashsv: improve some comments and fix some wrong ones

8 years agoflashsv: Eliminate redundant variable indirection.
Diego Biurrun [Thu, 30 Jun 2011 18:45:22 +0000 (20:45 +0200)]
flashsv: Eliminate redundant variable indirection.

As a positive side-effect, this gets rid of the following warning:
libavcodec/flashsv.c:190:38: warning: assignment discards ‘const’ qualifier from pointer target type

8 years agoflashsv: set reference frame type to full frame
Diego Biurrun [Thu, 30 Jun 2011 13:07:36 +0000 (15:07 +0200)]
flashsv: set reference frame type to full frame

8 years agoflashsv: replace bitstream description by a link to the specification
Diego Biurrun [Tue, 5 Jul 2011 17:25:10 +0000 (19:25 +0200)]
flashsv: replace bitstream description by a link to the specification

An official specification now exists and it is both more detailed and easier to
understand than the incomplete notes available here.  Also remove ideas on how
to implement an encoder; these notes are already present in the encoder.

8 years agoflashsv: convert a debug av_log into av_dlog
Diego Biurrun [Thu, 30 Jun 2011 13:03:45 +0000 (15:03 +0200)]
flashsv: convert a debug av_log into av_dlog

8 years agoflashsv: simplify condition
Diego Biurrun [Wed, 29 Jun 2011 23:00:30 +0000 (01:00 +0200)]
flashsv: simplify condition

8 years agoflashsv: return more meaningful error values
Diego Biurrun [Wed, 29 Jun 2011 22:28:08 +0000 (00:28 +0200)]
flashsv: return more meaningful error values

8 years agoflashsv: cosmetics: break some overly long lines
Diego Biurrun [Wed, 29 Jun 2011 22:25:35 +0000 (00:25 +0200)]
flashsv: cosmetics: break some overly long lines

8 years agoflashsv: cosmetics: drop some unnecessary parentheses
Diego Biurrun [Wed, 29 Jun 2011 22:21:43 +0000 (00:21 +0200)]
flashsv: cosmetics: drop some unnecessary parentheses

8 years agoswscale: amend documentation to mention use of native depth for scaling.
Ronald S. Bultje [Wed, 6 Jul 2011 01:19:26 +0000 (18:19 -0700)]
swscale: amend documentation to mention use of native depth for scaling.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years agoeval: add missing comma to tests.
Ronald S. Bultje [Wed, 6 Jul 2011 01:11:32 +0000 (18:11 -0700)]
eval: add missing comma to tests.

8 years agoeval: fix memleak.
Ronald S. Bultje [Wed, 6 Jul 2011 01:10:48 +0000 (18:10 -0700)]
eval: fix memleak.

8 years agoH.264: make loopfilter bS const where applicable
Jason Garrett-Glaser [Tue, 5 Jul 2011 23:27:54 +0000 (16:27 -0700)]
H.264: make loopfilter bS const where applicable

8 years agoAdd some missing mathematics.h #includes for av_rescale().
Diego Biurrun [Mon, 4 Jul 2011 22:42:31 +0000 (00:42 +0200)]
Add some missing mathematics.h #includes for av_rescale().

8 years agoopencore-amr: Add missing initializer braces to shut up gcc warning.
Diego Biurrun [Tue, 14 Jun 2011 22:04:48 +0000 (00:04 +0200)]
opencore-amr: Add missing initializer braces to shut up gcc warning.

This fixes the warning:
libavcodec/libopencore-amr.c:91: warning: missing braces around initializer

8 years agoARM: workaround for bug in GNU assembler
Mans Rullgard [Tue, 5 Jul 2011 17:29:35 +0000 (18:29 +0100)]
ARM: workaround for bug in GNU assembler

Some versions of the GNU assembler do not handle 64-bit
immediate operands containing arithmetic.  Writing the
value out in full works correctly.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agodv: fix comment wording mistake
Clément Bœsch [Tue, 5 Jul 2011 15:30:00 +0000 (17:30 +0200)]
dv: fix comment wording mistake

8 years agoRename libavcodec/high_bit_depth.h ---> libavcodec/bit_depth_template.c
Diego Biurrun [Tue, 5 Jul 2011 15:33:24 +0000 (17:33 +0200)]
Rename libavcodec/high_bit_depth.h ---> libavcodec/bit_depth_template.c

This naming scheme is used elsewhere, so it's sensible to be consistent.

8 years agodv: fix valgrind use of uninitialised value warnings.
Reimar Döffinger [Tue, 5 Jul 2011 14:02:56 +0000 (16:02 +0200)]
dv: fix valgrind use of uninitialised value warnings.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>