Michael Niedermayer
d41efc1f26
h264: put visualization and debug support back
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
a3a97129e7
mpegvideo: make ff_print_debug_info independant of mpegvideo
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Ronald S. Bultje
e2789d3e33
split out ff_hwaccel_pixfmt_list_420[] over individual codecs.
...
Not all hwaccels implement all codecs, so using one single list for
multiple such codecs means some codecs will be represented in the list,
even though they don't actually handle that codec. Copying specific
lists in each codec fixes that.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
480ddf2bc9
lavfi/histogram: overlay display mode for levels histogram mode
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
e39821a65e
nutenc: only write an index if there are syncpoints
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
6cd650dbd2
ff_gen_search: Fix finding the maximum timestamp in a really small file
...
Fixes Assertion failure
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
695a766bff
ff_read_timestamp: check stream_index before using it as array index
...
Fixes out of array read
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
85921499c7
cdgraphics: set palette to zero too
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
1f4ab61b74
lavc/cdxl: clear palette before reading it
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Ronald S. Bultje
71ae8d50b2
x86/dsputil: fix compilation when h263 decoder/encoder are disabled.
...
The symbol "ff_h263_loop_filter_strength" is defined in h263.c, but
the h263 loopfilter functions (in the .asm file) are not optimized
out (even though their function pointers are never assigned).
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Ronald S. Bultje
51513b98d6
h264/svq3: stop using draw_edges.
...
Instead, only extend edges on-demand when the motion vector actually
crosses the visible decoded area using ff_emulated_edge_mc(). This
changes decoding time for cathedral from 8.722sec to 8.706sec, i.e.
0.2% faster overall. More generally (VP8 uses this also), low-motion
content gets significant speed improvements, whereas high-motion content
tends to decode in approximately the same time.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
f894246304
lavf/showspectrum: add divVerent in the (c) for his recent work on the filter.
12 years ago
Michael Niedermayer
0789374ed3
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
svq3: unbreak decoding
No change to the code as this fix was already part of FFmpeg
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
82e82fa2e5
Merge commit 'aa11cb79318baa3415d553424ba378f6c62e1f9b'
...
* commit 'aa11cb79318baa3415d553424ba378f6c62e1f9b':
build: make audio_frame_queue a stand-alone component
Conflicts:
configure
libavcodec/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
4b7c81c3e0
Merge commit '870a0c669e536d56c6325d84f65e34c53792398e'
...
* commit '870a0c669e536d56c6325d84f65e34c53792398e':
build: The libopencore-amrnb encoder depends on audio_frame_queue
Conflicts:
libavcodec/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
2220f13d82
Merge commit '8837f4396a1a458a0efb07fe7daba7b847755a7a'
...
* commit '8837f4396a1a458a0efb07fe7daba7b847755a7a':
libopencore-amrwb: Make AMR-WB ifdeffery more precise
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ab213b5360
Merge commit 'e6bda9a9fd86505927a2e095e495eae104860701'
...
* commit 'e6bda9a9fd86505927a2e095e495eae104860701':
libopencore-amr: Conditionally compile decoder and encoder bits
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
4ff0e63a01
Merge commit '56632fef65c0cb6946ed3648ded3d7b82e5c5c17'
...
* commit '56632fef65c0cb6946ed3648ded3d7b82e5c5c17':
libopencore-amrnb: cosmetics: Group all encoder-related code together
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
f88f7b86a9
Merge commit '0b70fb1d518cbd796545fd6eef02772cd0d892c7'
...
* commit '0b70fb1d518cbd796545fd6eef02772cd0d892c7':
dsputil: convert remaining op_pixels_func
No changes to the code as all these fixes already existed in FFmpeg.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
96008082db
Merge commit '488f87be873506abb01d67708a67c10a4dd29283'
...
* commit '488f87be873506abb01d67708a67c10a4dd29283':
roqvideodec: check dimensions validity
vqavideo: check chunk sizes before reading chunks
qdm2: check array index before use, fix out of array accesses
Conflicts:
libavcodec/qdm2.c
libavcodec/roqvideodec.c
libavcodec/vqavideo.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Matti Hamalainen
7f3624dc81
svq3: unbreak decoding
...
a7d2861d36
removed necessary braces.
12 years ago
Ronald S. Bultje
c63f9fb37a
h264: don't store intra pcm samples in h->mb.
...
Instead, keep them in the bitstream buffer until we read them verbatim,
this saves a memcpy() and a subsequent clearing of the target buffer.
decode_cabac+decode_mb for a sample file (CAPM3_Sony_D.jsv) goes from
6121.4 to 6095.5 cycles, i.e. 26 cycles faster.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
54b2bddd22
v4l2: try to fix build on BSD
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
f4e29c408c
lavfi/noise: switch to AVLFG noise generator
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Carl Eugen Hoyos
259603b917
h264: don't initialize missing pictures when using VDPAU.
...
This fixes an assertion failure when running mplayer -vc ffh264vdpau.
Reported by irc user ioni.
12 years ago
Michael Niedermayer
dece584a63
h264: avoid calling get_format() multiple times
...
Some applications do not like that.
Fixes VDA
Reduces noise for VDPAU
Tested-by: Guillaume POIRIER <poirierg@gmail.com>
Tested-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Luca Barbato
aa11cb7931
build: make audio_frame_queue a stand-alone component
...
Encoders requiring it have the dependency expressed in the
configure.
12 years ago
Carl Eugen Hoyos
8d0757e107
Revert "swfenc: use av_get_audio_frame_duration() instead of AVCodecContext.frame_size"
...
This reverts commit 620b88a302
.
Fixes ticket #2272 .
Conflicts:
libavformat/swfenc.c
12 years ago
Carl Eugen Hoyos
fdbe7628a9
Add yvu410 as a supported v4l2 input format.
12 years ago
Carl Eugen Hoyos
fdec49cbe8
Add gray16 as a supported v4l2 input format.
12 years ago
Michael Niedermayer
29c8619a49
fate: add print() to the tests of eval
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
09ece9fa6c
eval: print() support
...
This allows printing values via av_log from expressions.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
cf36180143
Only set accelerated arm fft functions if fft is enabled.
...
Fixes lavc compilation (linking) for configurations without fft.
Reported-by: tyler wear
Tested-by: Gavin Kinsey
12 years ago
Clément Bœsch
1e860f1668
doc/codecs: simple sub_charenc option documentation.
12 years ago
Nicolas George
dcc73aaaa9
doc/examples: do not allocate AVFrame directly.
...
The size of the AVFrame structure is not part of the ABI;
it can grow with later versions. Therefore, applications
are not supposed to allocate AVFrame directly, they are
supposed to use avcodec_alloc_frame() instead.
12 years ago
Michael Niedermayer
59e46ef63a
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
error_resilience: add required headers.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
f3147917bf
lavf/subtitles: error out in case of bitmap subtitles.
12 years ago
Clément Bœsch
fe150a48a7
lavc: fix codec_descriptor and pkt_timebase doxy.
12 years ago
Stefano Sabatini
894ed8fbb7
tests: fix values for the unsharp test
...
Set odd size for unsharp matrices, even values are not accepted.
12 years ago
Clément Bœsch
b1e6b144ed
lavc/utils: reindent in avcodec_decode_subtitle2() after f7963993
.
12 years ago
Clément Bœsch
90fb3e9bee
lavfi/subtitles: set a different description between ass and subtitles.
12 years ago
Clément Bœsch
2a14b23484
lavfi: rename vf_ass.c to vf_subtitles.c
12 years ago
Clément Bœsch
08d149d688
lavfi/subtitles: support charenc option.
12 years ago
Clément Bœsch
3a0a959dcb
lavfi/subtitles: split options between ass and subtitles.
12 years ago
Clément Bœsch
f796399344
lavc: support subtitles character encoding conversion.
12 years ago
Diego Biurrun
870a0c669e
build: The libopencore-amrnb encoder depends on audio_frame_queue
...
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Diego Biurrun
8837f4396a
libopencore-amrwb: Make AMR-WB ifdeffery more precise
...
The library might provide an encoder in the future, so it's better to
check for the presence of the decoder rather than just the library.
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Diego Biurrun
e6bda9a9fd
libopencore-amr: Conditionally compile decoder and encoder bits
...
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Diego Biurrun
56632fef65
libopencore-amrnb: cosmetics: Group all encoder-related code together
...
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Luca Barbato
0b70fb1d51
dsputil: convert remaining op_pixels_func
...
Convert to diffptr_t the line_size parameters still int.
Remove all the warnings in dsputil.c
12 years ago