]> git.sesse.net Git - ffmpeg/log
ffmpeg
12 years agoswr: rename swr_alloc2() to swr_alloc_set_opts().
Clément Bœsch [Wed, 16 Nov 2011 18:43:58 +0000 (19:43 +0100)]
swr: rename swr_alloc2() to swr_alloc_set_opts().

12 years agoswr: use "swri_" prefix instead of "swr_" for the private API.
Clément Bœsch [Wed, 16 Nov 2011 07:12:48 +0000 (08:12 +0100)]
swr: use "swri_" prefix instead of "swr_" for the private API.

12 years agoswr: drop 'AV' prefix from ResampleContext.
Clément Bœsch [Wed, 16 Nov 2011 07:06:42 +0000 (08:06 +0100)]
swr: drop 'AV' prefix from ResampleContext.

This type/struct is not part of the public API.

12 years agoswr: make audio convert code explicitely private.
Clément Bœsch [Wed, 16 Nov 2011 07:00:31 +0000 (08:00 +0100)]
swr: make audio convert code explicitely private.

Only what's declared in libswresample/swresample.h is public.

12 years agoswr: fix #endif comment ref.
Clément Bœsch [Wed, 16 Nov 2011 06:58:39 +0000 (07:58 +0100)]
swr: fix #endif comment ref.

12 years agoh264: fix cur_chroma_format_idc with slice multithreading.
Michael Niedermayer [Thu, 17 Nov 2011 04:42:18 +0000 (05:42 +0100)]
h264: fix cur_chroma_format_idc with slice multithreading.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomjpeg: support mpo
Michael Niedermayer [Thu, 17 Nov 2011 02:13:50 +0000 (03:13 +0100)]
mjpeg: support mpo
Fixes stereoscopic_photo.mpo

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 17 Nov 2011 01:44:33 +0000 (02:44 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  mpegaudiodec: Don't use a nonexistent log context for av_dlog
  avformat: Accept the ISO8601 separate format as input, too
  avformat: Interpret times in ff_iso8601_to_unix_time as UTC
  avutil: Add av_timegm as a public function
  cinepak: Add another special case so that it can handle the following file:
  lagarith: add some RGBA decoding support
  lagarith: Add correct line prediction for RGB

Conflicts:
doc/APIchanges
libavcodec/cinepak.c
libavutil/avutil.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh264: migrate poc gap based has_b_frames calculation into new has_b_frame calculation...
Michael Niedermayer [Thu, 17 Nov 2011 00:08:17 +0000 (01:08 +0100)]
h264: migrate poc gap based has_b_frames calculation into new has_b_frame calculation code.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh264: minor simplification
Michael Niedermayer [Wed, 16 Nov 2011 23:36:38 +0000 (00:36 +0100)]
h264: minor simplification

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh264: rewrite has_b_frame calculation code,
Michael Niedermayer [Wed, 16 Nov 2011 22:58:06 +0000 (23:58 +0100)]
h264: rewrite has_b_frame calculation code,
the previous implementation was too buggy.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh264: reset last_pocs on IDRs
Michael Niedermayer [Wed, 16 Nov 2011 22:57:17 +0000 (23:57 +0100)]
h264: reset last_pocs on IDRs

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agocinepak: remove redundant coordinate checks
Michael Niedermayer [Wed, 16 Nov 2011 16:25:39 +0000 (17:25 +0100)]
cinepak: remove redundant coordinate checks

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agocinepak: check strip_size
Michael Niedermayer [Wed, 16 Nov 2011 16:21:42 +0000 (17:21 +0100)]
cinepak: check strip_size

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agocinepak, simplify, use AV_RB24()
Michael Niedermayer [Wed, 16 Nov 2011 16:16:38 +0000 (17:16 +0100)]
cinepak, simplify, use AV_RB24()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agocinepak: simplify, use FFMIN()
Michael Niedermayer [Wed, 16 Nov 2011 16:15:15 +0000 (17:15 +0100)]
cinepak: simplify, use FFMIN()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffprobe: small align cosmetic in json writer struct init.
Clément Bœsch [Wed, 16 Nov 2011 18:37:11 +0000 (19:37 +0100)]
ffprobe: small align cosmetic in json writer struct init.

12 years agoffprobe: make Writers constant.
Clément Bœsch [Wed, 16 Nov 2011 18:35:23 +0000 (19:35 +0100)]
ffprobe: make Writers constant.

12 years agoffprobe: apply misc cosmetics to compact writer definition
Stefano Sabatini [Wed, 16 Nov 2011 17:39:27 +0000 (18:39 +0100)]
ffprobe: apply misc cosmetics to compact writer definition

12 years agoffprobe: add csv writer
Stefano Sabatini [Tue, 15 Nov 2011 23:41:55 +0000 (00:41 +0100)]
ffprobe: add csv writer

12 years agocinepak: Fix division by zero, ask for sample if encoded_buf_size is 0
Michael Niedermayer [Wed, 16 Nov 2011 14:10:26 +0000 (15:10 +0100)]
cinepak: Fix division by zero, ask for sample if encoded_buf_size is 0

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoAdd another special case to the Cinepak video decoder so that it can handle the follo...
Mike Melanson [Wed, 16 Nov 2011 07:06:48 +0000 (23:06 -0800)]
Add another special case to the Cinepak video decoder so that it can handle the following file:

http://samples.mplayerhq.hu/V-codecs/CVID/bad_cinepak_frame_size.mov

This fix works around another work around which handles a different type
of odd Cinepak data.

Thanks to Matthew Hoops (clone2727 - gmail.com) for the sample and fix.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomandelbrot: make mincol description and code match.
Michael Niedermayer [Wed, 16 Nov 2011 03:22:36 +0000 (04:22 +0100)]
mandelbrot: make mincol description and code match.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agompegaudiodec: Don't use a nonexistent log context for av_dlog
Martin Storsjö [Wed, 16 Nov 2011 09:33:53 +0000 (11:33 +0200)]
mpegaudiodec: Don't use a nonexistent log context for av_dlog

This fixes builds with DEBUG defined, broken since
1158745a2d12966c58e83b66243a42f20190812e.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoavformat: Accept the ISO8601 separate format as input, too
Martin Storsjö [Mon, 7 Nov 2011 22:12:09 +0000 (00:12 +0200)]
avformat: Accept the ISO8601 separate format as input, too

This makes the function accept the format of creation_time
as output by demuxers (e.g. the mov demuxer), making the
creation timestamp stay intact if transcoding.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoavformat: Interpret times in ff_iso8601_to_unix_time as UTC
Martin Storsjö [Mon, 7 Nov 2011 21:32:21 +0000 (23:32 +0200)]
avformat: Interpret times in ff_iso8601_to_unix_time as UTC

This function is used in muxers for parsing the 'creation_time'
metadata key, for converting it to a time value.

This makes it match the behaviour of the exported 'creation_time'
metadata from demuxers, where it is in UTC, too.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoavutil: Add av_timegm as a public function
Martin Storsjö [Mon, 7 Nov 2011 21:20:31 +0000 (23:20 +0200)]
avutil: Add av_timegm as a public function

This is useful, since the normal timegm function isn't a standard
function (requiring _BSD_SOURCE or _SVID_SOURCE on glibc to
be visible, and not available on e.g. windows). The widely available
function mktime uses the local time zone, which requires ugly
workarounds to handle UTC time.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agolavfi: fix misc typo in avfilter.h header.
Clément Bœsch [Tue, 15 Nov 2011 16:56:01 +0000 (17:56 +0100)]
lavfi: fix misc typo in avfilter.h header.

12 years agocinepak: Add another special case so that it can handle the following file:
Mike Melanson [Wed, 16 Nov 2011 07:06:48 +0000 (23:06 -0800)]
cinepak: Add another special case so that it can handle the following file:

http://samples.mplayerhq.hu/V-codecs/CVID/bad_cinepak_frame_size.mov

This fix works around another work around which handles a different type
of odd Cinepak data.

Thanks to Matthew Hoops (clone2727 - gmail.com) for the sample and fix.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agolagarith: add some RGBA decoding support
Kostya Shishkov [Sat, 12 Nov 2011 19:54:27 +0000 (20:54 +0100)]
lagarith: add some RGBA decoding support

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agolagarith: Add correct line prediction for RGB
Nathan Caldwell [Wed, 16 Nov 2011 07:45:00 +0000 (00:45 -0700)]
lagarith: Add correct line prediction for RGB

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agocleanup: remove various double end ';' all over the code.
Clément Bœsch [Wed, 16 Nov 2011 06:48:23 +0000 (07:48 +0100)]
cleanup: remove various double end ';' all over the code.

12 years agoswr: replace deprecated av_set_int() with av_opt_set_int().
Clément Bœsch [Tue, 15 Nov 2011 23:33:19 +0000 (00:33 +0100)]
swr: replace deprecated av_set_int() with av_opt_set_int().

12 years agoswr: replace deprecated av_opt_set_defaults2() with av_opt_set_defaults().
Clément Bœsch [Tue, 15 Nov 2011 23:30:52 +0000 (00:30 +0100)]
swr: replace deprecated av_opt_set_defaults2() with av_opt_set_defaults().

12 years agoswr: replace deprecated av_get_bits_per_sample_fmt() with av_get_bytes_per_sample().
Clément Bœsch [Tue, 15 Nov 2011 23:23:22 +0000 (00:23 +0100)]
swr: replace deprecated av_get_bits_per_sample_fmt() with av_get_bytes_per_sample().

12 years agoswr: use designated initializers for the class.
Clément Bœsch [Tue, 15 Nov 2011 23:20:13 +0000 (00:20 +0100)]
swr: use designated initializers for the class.

12 years agoswr: rename resample2 to resample.
Clément Bœsch [Tue, 15 Nov 2011 21:17:58 +0000 (22:17 +0100)]
swr: rename resample2 to resample.

12 years agoswr: move format convert code to dedicated functions.
Clément Bœsch [Tue, 15 Nov 2011 10:06:25 +0000 (11:06 +0100)]
swr: move format convert code to dedicated functions.

This should easier common case optimizations.

12 years agowma: Check channel number before init.
Michael Niedermayer [Wed, 16 Nov 2011 02:31:25 +0000 (03:31 +0100)]
wma: Check channel number before init.
Fixes Ticket240

Based on patch by ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 16 Nov 2011 01:23:10 +0000 (02:23 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  lavf: fix multiplication overflow in avformat_find_stream_info()
  cosmetics: indentation
  mpegaudiodec: init static tables in AVCodec.init_static_data()

Conflicts:
libavcodec/mpegaudiodec.c
libavformat/utils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavf: if timestamps are invalid (pts=dts) only drop dts.
Michael Niedermayer [Wed, 16 Nov 2011 00:19:35 +0000 (01:19 +0100)]
lavf: if timestamps are invalid (pts=dts) only drop dts.
Because if we drop both we have no timestamps at all for some files.
Fixes Ticket344

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavf: fix multiplication overflow in avformat_find_stream_info()
Mans Rullgard [Tue, 15 Nov 2011 22:33:49 +0000 (22:33 +0000)]
lavf: fix multiplication overflow in avformat_find_stream_info()

Converting to double before the multiplication rather than after
avoids an integer overflow in some cases.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoffprobe: add compact writer
Stefano Sabatini [Sun, 2 Oct 2011 09:25:44 +0000 (11:25 +0200)]
ffprobe: add compact writer

12 years agoffprobe: force display of missing fields, depending on writer.flags
Stefano Sabatini [Sun, 23 Oct 2011 23:23:22 +0000 (01:23 +0200)]
ffprobe: force display of missing fields, depending on writer.flags

Add flags field to Writer, and define the
WRITER_FLAG_DISPLAY_OPTIONAL_FIELDS flag which forces the display of
optional fields, for example non-available or invalid fields.

Also set the flag in the default writer.

This change is required as for some writers it is preferable to show all
fields (for example for avoiding a variable number of fields in CSV
output), while for other formats (e.g. JSON, XML) it is better to leave
invalid/unavailable fields unspecified and thus simplify the parsing
stage on the deserializer side.

12 years agodiracdec: obmc accesses arent aligned for all files.
Michael Niedermayer [Tue, 15 Nov 2011 22:37:40 +0000 (23:37 +0100)]
diracdec: obmc accesses arent aligned for all files.
Thus use unaligned accesses.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoopt: Fix *av_opt_find2(NULL)
Michael Niedermayer [Tue, 15 Nov 2011 21:43:21 +0000 (22:43 +0100)]
opt: Fix *av_opt_find2(NULL)
Fixes Ticket650

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomandelbrot: add dither to convergence & mincol colorings.
Michael Niedermayer [Tue, 15 Nov 2011 20:33:11 +0000 (21:33 +0100)]
mandelbrot: add dither to convergence & mincol colorings.
This avoids banding artifacts.
Note, low end TFTs still show some banding.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomandelbrot: make mincol the default.
Michael Niedermayer [Tue, 15 Nov 2011 18:59:29 +0000 (19:59 +0100)]
mandelbrot: make mincol the default.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomandelbrot: add mincol inner coloring method.
Michael Niedermayer [Tue, 15 Nov 2011 18:58:58 +0000 (19:58 +0100)]
mandelbrot: add mincol inner coloring method.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoFix seeking when using Apple HTTP Live Streaming
Panagiotis H.M. Issaris [Tue, 15 Nov 2011 17:35:03 +0000 (18:35 +0100)]
Fix seeking when using Apple HTTP Live Streaming

The Apple HTTP Live Streaming demuxer's implementation of seeking searches for
the MPEG TS segment which contains the requested timestamp.  In its current
implementation it assumes that the first segment will start from 0.

But, MPEG TS streams do not necessarily start with timestamp (near) 0, causing
seeking to fail for those streams.

This also occurs when using live streaming of HTTP Live Streams. In this case
sliding playlists may be used, which means that in that case only the last x
encoded segments are stored, the earlier segments get deleted from disk and
removed from the playlist. Because of this, when starting playback of a stream
in the middle of such a broadcast, the initial segment fetched after parsing
the m3u8 playlist will not start from timestamp (near) 0, causing (the
admittedly limited live) seeking to fail.

This patch changes this demuxers seeking implementation to use the initial DTS
as an offset for searching the segments containing the requested timestamp.

12 years agocosmetics: indentation
Justin Ruggles [Thu, 3 Nov 2011 19:53:43 +0000 (15:53 -0400)]
cosmetics: indentation

12 years agompegaudiodec: init static tables in AVCodec.init_static_data()
Justin Ruggles [Thu, 3 Nov 2011 18:59:37 +0000 (14:59 -0400)]
mpegaudiodec: init static tables in AVCodec.init_static_data()

12 years agoUpdate my GnuPG fingerprint.
Panagiotis H.M. Issaris [Tue, 15 Nov 2011 16:57:10 +0000 (17:57 +0100)]
Update my GnuPG fingerprint.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomandelbrot: add inner drawing method to show converence time
Michael Niedermayer [Tue, 15 Nov 2011 16:25:16 +0000 (17:25 +0100)]
mandelbrot: add inner drawing method to show converence time

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomandelbrot: add "fractal" to the description
Michael Niedermayer [Tue, 15 Nov 2011 16:14:15 +0000 (17:14 +0100)]
mandelbrot: add "fractal" to the description

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomandelbrot: Fix "warning: passing argument 2 of ‘draw_mandelbrot’ from incompatible...
Michael Niedermayer [Tue, 15 Nov 2011 16:12:52 +0000 (17:12 +0100)]
mandelbrot: Fix "warning: passing argument 2 of ‘draw_mandelbrot’ from incompatible pointer type"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoasfdec: mark only ts1 as av_unused
Michael Niedermayer [Tue, 15 Nov 2011 12:06:36 +0000 (13:06 +0100)]
asfdec: mark only ts1 as av_unused

Idea-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agompegts: Completely ignore H222 spec and consider reserved adaption
Michael Niedermayer [Tue, 15 Nov 2011 03:15:34 +0000 (04:15 +0100)]
mpegts: Completely ignore H222 spec and consider reserved adaption
 fields to be perfectly fine mpeg TS.
Fixes Ticket580

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 15 Nov 2011 02:13:42 +0000 (03:13 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  binkvideo: simplify and remove invalid shifts
  pulse: compute frame_duration once and fix it
  lavf: simplify format_child_class_next()
  hwaccel: OS X Video Decoder Acceleration (VDA) support.
  doc: add support for an optional navigation bar in texi2html pages

Conflicts:
configure
libavcodec/Makefile
libavcodec/allcodecs.c
libavcodec/vda.c
libavcodec/vda.h
libavcodec/vda_h264.c
libavcodec/vda_internal.h
libavcodec/version.h
libavformat/options.c
libavutil/avutil.h
libavutil/pixfmt.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agompeg4videodec: dont treat empty frames as errors for QMP4, it seems thats normal.
Michael Niedermayer [Tue, 15 Nov 2011 01:22:23 +0000 (02:22 +0100)]
mpeg4videodec: dont treat empty frames as errors for QMP4, it seems thats normal.
Fixes remaining complaints in Ticket560 possibly.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agompegaudio: prettify avpriv_mpa_bitrate_tab
Michael Niedermayer [Tue, 15 Nov 2011 00:59:59 +0000 (01:59 +0100)]
mpegaudio: prettify avpriv_mpa_bitrate_tab

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoasfdec: avoid unused variable warning.
Michael Niedermayer [Tue, 15 Nov 2011 00:58:13 +0000 (01:58 +0100)]
asfdec: avoid unused variable warning.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoasfdec: use dts for seeking.
Michael Niedermayer [Tue, 15 Nov 2011 00:08:04 +0000 (01:08 +0100)]
asfdec: use dts for seeking.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoasfdec: restore timestamp reading code
Michael Niedermayer [Mon, 14 Nov 2011 23:57:08 +0000 (00:57 +0100)]
asfdec: restore timestamp reading code
This reverts part of:
commit e65ab9d94f1c8d8893e32d90467d9525625d306a
Author: Mans Rullgard <mans@mansr.com>
Date:   Wed Jun 1 17:26:27 2011 +0100

    Remove unused variables

12 years agovda: use K&R style.
Clément Bœsch [Mon, 14 Nov 2011 23:17:31 +0000 (00:17 +0100)]
vda: use K&R style.

12 years agoamovie: avoid crash in amovie_request_frame() if no samplesref is available
Stefano Sabatini [Sun, 13 Nov 2011 22:51:06 +0000 (23:51 +0100)]
amovie: avoid crash in amovie_request_frame() if no samplesref is available

The crash occurrs when a frame is successfully decoded, but no decoded
data is immediately available (typically happens with ogg/vorbis).

12 years agovda: get correctly the frame from h264 context.
Sebastien Zwickert [Mon, 14 Nov 2011 21:03:38 +0000 (22:03 +0100)]
vda: get correctly the frame from h264 context.

12 years agovda: check allocation result.
Sebastien Zwickert [Mon, 14 Nov 2011 20:56:16 +0000 (21:56 +0100)]
vda: check allocation result.

12 years agovda: removes useless casts.
Sebastien Zwickert [Mon, 14 Nov 2011 20:35:18 +0000 (21:35 +0100)]
vda: removes useless casts.

12 years agovda: cosmetic.
Sebastien Zwickert [Mon, 14 Nov 2011 20:32:10 +0000 (21:32 +0100)]
vda: cosmetic.

12 years agoconfigure: add vda dependencies.
Sebastien Zwickert [Mon, 14 Nov 2011 20:22:14 +0000 (21:22 +0100)]
configure: add vda dependencies.

12 years agovda: reordering headers inclusion.
Sebastien Zwickert [Mon, 14 Nov 2011 20:20:04 +0000 (21:20 +0100)]
vda: reordering headers inclusion.

12 years agovda: undef Picture.
Sebastien Zwickert [Mon, 14 Nov 2011 20:01:21 +0000 (21:01 +0100)]
vda: undef Picture.

12 years agoswr: set the default used_ch_count value to zero.
Clément Bœsch [Mon, 14 Nov 2011 20:33:42 +0000 (21:33 +0100)]
swr: set the default used_ch_count value to zero.

This allows an appropriate behaviour when it is not specified (fallback
to the number of input channels).

Fixes Ticket523

12 years agomp3enc: Try to use a matching bitrate in the xing header.
Michael Niedermayer [Mon, 14 Nov 2011 19:57:30 +0000 (20:57 +0100)]
mp3enc: Try to use a matching bitrate in the xing header.
Might Fix Ticket431

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomp3enc: simplify mp3_write_xing()
Michael Niedermayer [Mon, 14 Nov 2011 19:45:02 +0000 (20:45 +0100)]
mp3enc: simplify mp3_write_xing()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agovble: use dsp.add_hfyu_median_prediction() this allows asm optimizations to be used.
Michael Niedermayer [Mon, 14 Nov 2011 16:24:59 +0000 (17:24 +0100)]
vble: use dsp.add_hfyu_median_prediction() this allows asm optimizations to be used.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agovble: move 2nd pass bitreading into vble_restore_plane()
Michael Niedermayer [Mon, 14 Nov 2011 16:19:06 +0000 (17:19 +0100)]
vble: move 2nd pass bitreading into vble_restore_plane()
this improves data cache hits and speeds up grayscale only decoding

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodiracdec: fix empty data units.
Michael Niedermayer [Mon, 14 Nov 2011 17:01:13 +0000 (18:01 +0100)]
diracdec: fix empty data units.
Fixed Ticket636

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agobinkvideo: simplify and remove invalid shifts
Mans Rullgard [Sun, 13 Nov 2011 15:25:53 +0000 (15:25 +0000)]
binkvideo: simplify and remove invalid shifts

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agopulse: compute frame_duration once and fix it
Luca Barbato [Mon, 14 Nov 2011 14:53:59 +0000 (15:53 +0100)]
pulse: compute frame_duration once and fix it

The frame duration was calculated without taking in account the
bytes per sample.

Thanks to Lorenzo Pistone <blaffablaffa@gmail.com> for pointing
the issue and providing an initial fix.

12 years agolavf: simplify format_child_class_next()
Luca Barbato [Mon, 14 Nov 2011 11:24:21 +0000 (12:24 +0100)]
lavf: simplify format_child_class_next()

And fix the error introduced when adding private option to avio.
See 32caa7b13cecca59213c73fa94dd683c2b003bfd

12 years agohwaccel: OS X Video Decoder Acceleration (VDA) support.
Sebastien Zwickert [Fri, 11 Nov 2011 14:48:21 +0000 (15:48 +0100)]
hwaccel: OS X Video Decoder Acceleration (VDA) support.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years agoRename remaining get_le32 to avio_rl32.
Clément Bœsch [Mon, 14 Nov 2011 00:37:06 +0000 (01:37 +0100)]
Rename remaining get_le32 to avio_rl32.

12 years agoRename remaining get_le16 to avio_rl16.
Clément Bœsch [Mon, 14 Nov 2011 00:36:32 +0000 (01:36 +0100)]
Rename remaining get_le16 to avio_rl16.

12 years agoUse AVIOContext.seekable instead of deprecated url_is_streamed.
Clément Bœsch [Mon, 14 Nov 2011 00:33:28 +0000 (01:33 +0100)]
Use AVIOContext.seekable instead of deprecated url_is_streamed.

12 years agoRename remaining url_fskip to avio_skip.
Clément Bœsch [Mon, 14 Nov 2011 00:28:05 +0000 (01:28 +0100)]
Rename remaining url_fskip to avio_skip.

12 years agoRename remaining av_metadata_set2 to av_dict_set.
Clément Bœsch [Mon, 14 Nov 2011 00:25:52 +0000 (01:25 +0100)]
Rename remaining av_metadata_set2 to av_dict_set.

12 years agoRename remaining url_ftell to avio_tell.
Clément Bœsch [Mon, 14 Nov 2011 00:23:00 +0000 (01:23 +0100)]
Rename remaining url_ftell to avio_tell.

12 years agoRename remaining get_byte to avio_r8.
Clément Bœsch [Mon, 14 Nov 2011 00:19:56 +0000 (01:19 +0100)]
Rename remaining get_byte to avio_r8.

12 years agoRename remaining url_fsize to avio_size.
Clément Bœsch [Sun, 13 Nov 2011 23:54:10 +0000 (00:54 +0100)]
Rename remaining url_fsize to avio_size.

12 years agoRename remaining get_buffer to avio_read.
Clément Bœsch [Sun, 13 Nov 2011 23:53:50 +0000 (00:53 +0100)]
Rename remaining get_buffer to avio_read.

12 years agoRename remaining url_fseek to avio_seek.
Clément Bœsch [Sun, 13 Nov 2011 23:52:55 +0000 (00:52 +0100)]
Rename remaining url_fseek to avio_seek.

12 years agoRename remaining ByteIOContext to AVIOContext.
Clément Bœsch [Sun, 13 Nov 2011 23:36:45 +0000 (00:36 +0100)]
Rename remaining ByteIOContext to AVIOContext.

12 years agomandelbrot: add math.h for log2()
Michael Niedermayer [Mon, 14 Nov 2011 04:56:03 +0000 (05:56 +0100)]
mandelbrot: add math.h for log2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomandelbrot: avoid INFINITY as openbsd seems not to like it.
Michael Niedermayer [Mon, 14 Nov 2011 04:47:56 +0000 (05:47 +0100)]
mandelbrot: avoid INFINITY as openbsd seems not to like it.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agopad: fix format string length
Michael Niedermayer [Mon, 14 Nov 2011 04:42:10 +0000 (05:42 +0100)]
pad: fix format string length

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodoc: add support for an optional navigation bar in texi2html pages
Janne Grunau [Sun, 13 Nov 2011 18:32:35 +0000 (19:32 +0100)]
doc: add support for an optional navigation bar in texi2html pages

The navigation header for the web pages lives in a different repository.
Read it during documentation regeneration to use the same navigation bar
on all pages.

12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 13 Nov 2011 22:43:12 +0000 (23:43 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  lavf: pass options from AVFormatContext to avio.
  avformat: Use avio_open2, pass the AVFormatContext interrupt_callback onwards
  avio: add avio_open2, taking an interrupt callback and options
  avio: add support for passing options to protocols.
  avio: add and use ffurl_protocol_next().
  avformat: Pass the interrupt callback on to chained muxers/demuxers
  avio: Add an AVIOInterruptCB parameter to ffurl_open/ffurl_alloc
  avformat: Use ff_check_interrupt
  avio: Add an internal utility function for checking the new interrupt callback
  avio: Add AVIOInterruptCB
  texi2html: remove stray \n
  doc: prettyfy the texi2html documentation
  swscale: handle unaligned buffers in yuv2plane1

Conflicts:
libavformat/avformat.h
libavformat/avio.c
libavformat/mov.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodoc: replace an "avconv" reference with "ffmpeg" in indevs.
Clément Bœsch [Sun, 13 Nov 2011 22:34:11 +0000 (23:34 +0100)]
doc: replace an "avconv" reference with "ffmpeg" in indevs.