Laurent Aimar
0dc343d4cb
Added a missing const to ff_h264_get_slice_type().
...
Originally committed as revision 21421 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
f1f78a9d85
Doxument url_close().
...
Originally committed as revision 21420 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Laurent Aimar
8880c8bcc3
Added missing const to get_bits_count().
...
Originally committed as revision 21419 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
b2b7ab32aa
Prefer cbp over cbp_table.
...
Originally committed as revision 21418 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
333146ddc5
Doxument url_open_protocol().
...
Originally committed as revision 21417 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
50eb40a799
Remove all uses of slice_type* from the loop filter, also remove its
...
initialization befre the loop filter.
Originally committed as revision 21416 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
1f8ad15ad3
Doxument url_read().
...
Originally committed as revision 21415 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
30b6147521
Use av_get_bits_per_pixel() for computing the bits per pixel of the
...
source and destination format, cache those values in the newly added
SwsContext:srcFormatBpp and SwsContext:dstFormatBpp fields, and remove
the fmt_depth() function.
Originally committed as revision 30419 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
59398ea9c0
Indent.
...
Originally committed as revision 30413 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
2658e7a6e7
Don't redefine M_PI. It is already defined from libavutil/mathematics.h.
...
Originally committed as revision 30412 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
a4388ebd37
Split swscale.c into scaler code (swscale.c) and utility code (utils.c).
...
Originally committed as revision 30411 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Michael Niedermayer
2c0ee01866
Remove unneeded reset of non_zero_count_cache for deblock.
...
Originally committed as revision 21414 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
01c511683f
Remove useless things from the deblock side of fill_caches().
...
Originally committed as revision 21413 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
ea3b456dd6
make mv_cache init 64bit where possible.
...
Originally committed as revision 21412 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
kemuri
420755dd28
vfwcap: Include windows.h before vfw.h since the latter requires defines
...
from the former.
Patch by kemuri <kemuri9 at gmail dot com>
Originally committed as revision 21411 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
kemuri
a1b3c5a377
Replace every usage of -lvfw32 with what is particularly necessary for
...
that case:
Avisynth -> -lavifil32
VFW Cap -> -lavicap32
Patch by kemuri <kemuri9 at gmail dot com>
Originally committed as revision 21410 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
27796dc3f4
Use $vfwcap_indev_extralibs variable instead of duplicating "-lvfw32" in
...
capCreateCaptureWindow() check.
Based on patch by kemuri <kemuri9 at gmail dot com>
Originally committed as revision 21409 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
626c46ec23
Indent.
...
Originally committed as revision 21408 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Laurent Aimar
85167c46ef
Moved reusable functions from dxva2_h264.c to dxva2.c
...
Originally committed as revision 21407 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
0c32e19d58
Move +52 from the loop filter to the alpha/beta offsets in the context.
...
This should fix a segfault, also it might be faster on systems where the
+52 wasnt free.
Originally committed as revision 21406 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
6231d0983b
Release buffer when the codec is closed.
...
Originally committed as revision 21405 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
b9e3f85dbc
Use qstride = 0 and allocate only a single line for qscale_table since
...
for this codecs all quants are the same for a single frame.
Originally committed as revision 21404 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Laurent Aimar
e4833b5d71
Added ff_dxva2_ prefix to get_surface(_index) and commit_buffer functions.
...
Originally committed as revision 21403 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Laurent Aimar
8cf9bbb6dc
Reindent the content of one if(){} in ff_dxva2_common_end_frame.
...
Originally committed as revision 21402 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Laurent Aimar
8db7ee09c3
Moved reusable code from dxva2_h264.c:end_frame to ff_dxva2_common_end_frame.
...
Originally committed as revision 21401 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
1cc2d21175
Set edges based on cbp and mv partitioning, not just skiped MBs.
...
This is faster for videos that have lots of MBs that fall in this category.
Originally committed as revision 21400 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
87ac0c0a39
Use AVPALETTE_COUNT instead of hard-coding 256.
...
This is consistent with other codecs and will also avoid a crash on the
memcpy to data[1] if AVPALETTE_SIZE ever increases.
Originally committed as revision 21399 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
ab8075a2da
Remove redundant initialization of the palette, it is part of the context
...
and that one is always 0-initialized already.
Originally committed as revision 21398 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
6b3661b22d
Optimize filter_mb_mbaff_edge*()
...
Originally committed as revision 21397 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
933bea77e5
Optmize 8x8dct check used to skip some borders in the loop filter.
...
4 cpu cycles faster.
Originally committed as revision 21396 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
6242b1c424
Use av_freep intead of av_free to free pointers in vp56 context.
...
Originally committed as revision 21395 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
48c65d0dc9
Zero the frame data on allocation for VB codec, e.g. the FATE sample seems to
...
rely on this.
Originally committed as revision 21394 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
ddb901b74d
Make url_read_complete retry on EAGAIN and return how much data it read
...
if it reached EOF, making it useful in more cases.
Originally committed as revision 21393 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
98287358e9
Print a warning when DATA chunk is encountered in the middle of chunk.
...
From multirate RM patch by Ronald S. Bultje
Originally committed as revision 21392 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Daniel Verkamp
a7e6328cba
Export wma_critical_freqs as ff_wma_critical_freqs
...
Originally committed as revision 21391 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
7a086a852c
Fix heap overflow with -async.
...
Fixes issue1666
Originally committed as revision 21390 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
e62a55b92e
The SSSE3 version of dct_quantize in mpegvideo_mmx_template.c needs
...
inv_zigzag_direct16 16-byte aligned, so mark it appropriately.
Fixes encoder crashes e.g. with MPlayer's -vf lavc.
Originally committed as revision 21389 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
54a4f36d6e
Remove conditional M_PI definition, it is already defined in
...
libavutil/mathematics.h indirectly included by libavformat/avformat.h.
Originally committed as revision 21388 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
a52ce57d4e
Replace deprecated guess_format() with av_guess_format().
...
Patch by Martin Storsjö reverse(<ts.nitram@nitram>).
Originally committed as revision 21387 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
3deb53849e
Implement an sse version of scalarproduct_float().
...
Originally committed as revision 21386 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
57835fc1ae
Check for chunk boundaries when decoding VB codec data
...
Originally committed as revision 21385 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
2727649677
Zero palette in case not all entries are initialized later
...
Originally committed as revision 21384 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
6481075443
Make style a little bit more K&R'ish.
...
Originally committed as revision 21383 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
7c823d8b7f
Rename a function which is no longer ipv6-specific. Patch by Martin Storsjö
...
<$firstname () $firstname st>.
Originally committed as revision 21382 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alan Steremberg
00eb13e05f
Use the control URI from the SDP (if present) rather than the input filename,
...
if present. This fixes playback of a number of MS-RTSP streams, mostly these
for which playback contains a session key in the URI. Fixes issue 1697.
Patch by Alan Steremberg <$firstname dot $lastname () gmail com>.
Originally committed as revision 21381 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
4a88852623
Move array specifiers outside DECLARE_ALIGNED() invocations
...
Originally committed as revision 30385 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Måns Rullgård
587d24ff25
Suppress TMS470 warnings about alignment directives
...
Originally committed as revision 21380 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
34e52abb62
DECLARE_ALIGNED macro for TMS470 compiler
...
This compiler supports gcc-style alignment attributes for struct,
but not for global variables. For the latter, alignment can be
specified with a pragma, which does not work for struct members or
local variables. By using both pragma and attribute, one or the
other will always take effect.
Unfortunately, no means exists for aligning stack variables.
Originally committed as revision 21379 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
d408b77a3a
Add an AV_PRAGMA() macro for constructing _Pragma() directives
...
The seemingly equivalent _Pragma(AV_STRINGIFY(x)) is not accepted
by some compilers.
Originally committed as revision 21378 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
c67278098d
Move array specifiers outside DECLARE_ALIGNED() invocations
...
Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago