Michael Niedermayer
6760bd0a19
asfdec: avoid unused variable warning.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ba7f18876c
asfdec: use dts for seeking.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
bb4eabacea
asfdec: restore timestamp reading code
This reverts part of:
commit e65ab9d94f
Author: Mans Rullgard <mans@mansr.com>
Date: Wed Jun 1 17:26:27 2011 +0100
Remove unused variables
13 years ago
Clément Bœsch
edc26bfae5
vda: use K&R style.
13 years ago
Stefano Sabatini
2b1a4c5b34
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).
13 years ago
Sebastien Zwickert
81852ef5d6
vda: get correctly the frame from h264 context.
13 years ago
Sebastien Zwickert
4590e161e6
vda: check allocation result.
13 years ago
Sebastien Zwickert
c7fa3eeab9
vda: removes useless casts.
13 years ago
Sebastien Zwickert
6e1e49385e
vda: cosmetic.
13 years ago
Sebastien Zwickert
a40867f27b
configure: add vda dependencies.
13 years ago
Sebastien Zwickert
b46134f659
vda: reordering headers inclusion.
13 years ago
Sebastien Zwickert
9837442a39
vda: undef Picture.
13 years ago
Clément Bœsch
c8136ebd6a
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
13 years ago
Michael Niedermayer
40176fc314
mp3enc: Try to use a matching bitrate in the xing header.
Might Fix Ticket431
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
1fea432b7a
mp3enc: simplify mp3_write_xing()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ecf5e70548
vble: use dsp.add_hfyu_median_prediction() this allows asm optimizations to be used.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
75c0ddc9c2
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>
13 years ago
Michael Niedermayer
6718536ba5
diracdec: fix empty data units.
Fixed Ticket636
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
3f5d6a665a
binkvideo: simplify and remove invalid shifts
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Luca Barbato
2625b621ce
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.
13 years ago
Luca Barbato
caf27e37b6
lavf: simplify format_child_class_next()
And fix the error introduced when adding private option to avio.
See 32caa7b13c
13 years ago
Sebastien Zwickert
ac3dbb4d58
hwaccel: OS X Video Decoder Acceleration (VDA) support.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Clément Bœsch
07c7ffc04b
Rename remaining get_le32 to avio_rl32.
13 years ago
Clément Bœsch
c142e2a00f
Rename remaining get_le16 to avio_rl16.
13 years ago
Clément Bœsch
49651063da
Use AVIOContext.seekable instead of deprecated url_is_streamed.
13 years ago
Clément Bœsch
7b79305a47
Rename remaining url_fskip to avio_skip.
13 years ago
Clément Bœsch
b04ee90043
Rename remaining av_metadata_set2 to av_dict_set.
13 years ago
Clément Bœsch
63b796b0dd
Rename remaining url_ftell to avio_tell.
13 years ago
Clément Bœsch
055cda8acc
Rename remaining get_byte to avio_r8.
13 years ago
Clément Bœsch
f3c47e4100
Rename remaining url_fsize to avio_size.
13 years ago
Clément Bœsch
53d70a334a
Rename remaining get_buffer to avio_read.
13 years ago
Clément Bœsch
39edfcc9e8
Rename remaining url_fseek to avio_seek.
13 years ago
Clément Bœsch
eef3ea8c71
Rename remaining ByteIOContext to AVIOContext.
13 years ago
Michael Niedermayer
73af8ea356
mandelbrot: add math.h for log2()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
70eb58cd92
mandelbrot: avoid INFINITY as openbsd seems not to like it.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b1b0fd2790
pad: fix format string length
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Janne Grunau
d8a091698a
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.
13 years ago
Michael Niedermayer
5f268ca5c5
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>
13 years ago
Clément Bœsch
4fa6e9d0b4
doc: replace an "avconv" reference with "ffmpeg" in indevs.
13 years ago
Clément Bœsch
9466237b8b
doc: drop "./" binary prefixes.
13 years ago
Stefano Sabatini
3a9f2f1d65
vsrc_mandelbrot: set options through the opt framework
13 years ago
Giorgio Vazzana
c15400afc5
mandelbrot: remove always-false condition in fill_from_cache
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
102db4f6e7
MAINTAINER: add libavfilter section and add myself to yadif & mandelbrot
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
08dadd331f
mandelbrot: allow visualizing the period of converged points.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e8499ab171
mandelbrot: Add inner variable & enum for inner coloring schemes.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3cbe9afba5
mandelbrot: only check bailout once every 2 iterations.
Once we bailed out we calculate the exact iteration in which it would have happened if needed.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
41fd1b2d5a
mandelbrot: add SQR() macro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Giorgio Vazzana
e555119c73
mandelbrot: correct and simplify the formula used in NORMALIZED_ITERATION_COUNT
Use log(sqrt(mb->bailout)) instead of log(mb->bailout) because mb->bailout represent
the bailout radius squared, and then simplify the two sqrt().
This is also slightly faster.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
KO Myung-Hun
ad0bdd2fd2
lavc: add supports of OS/2 threads
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
88166fc579
mandelbrot: unroll the innermost loop once.
This allows us to remove a if() and a variable assignment.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago