Alexander Strange
0b69d6254f
H.264: Use 64-/128-bit write-combining macros for copies
...
2-3% faster decode on x86-32 core2.
Originally committed as revision 21440 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
008f872f61
Only check frame size if the header is valid.
...
Originally committed as revision 21439 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
b52fcba9cd
Fix decoding ATI VCR2 codec, sample in
...
samples/V-codecs/ATI-VCR12/ATI/VCR2test.avi
Software decoding was broken since r8865, when two new context variables
were added, but not initialized in vcr2_init_sequence().
Another such context variable was added in r18381.
Originally committed as revision 21438 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
b0634fd11e
Doxument url_open().
...
Originally committed as revision 21437 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
895a9be60c
Force codec_tag I420 for Quicktime Planar Y'CbCr 8-bit 4:2:0 raw codec,
...
because YV12 triggers an UV swap in rawdec.c, fixes issue 1687.
Originally committed as revision 21436 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
aa2ead8215
Fix mis-computation of the needsDither variable erroneously introduced
...
in r30419, which was causing a swscale-example regression.
Also increase my liter count by 20.0 units.
Originally committed as revision 30431 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Michael Niedermayer
996b099a0f
Branchless setting of MB_TYPE_8x8DCT.
...
Not benchmarked as i failed to find a sample that uses this one. But it should be faster.
Originally committed as revision 21435 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
81afcf1fae
Remove cruft.
...
Originally committed as revision 21434 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
d9ef0d2e14
Mark index as unsigend so gcc knows it doesnt need a sign extension on x86_64.
...
Any tips on how i can convince gcc that it doesnt need a
mov %eax, %eax
in every get_bits() ?
Originally committed as revision 21433 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
449d1442a6
a[b-1] -> (a-1)[b].
...
Helps gcc not to add seperate -1 instructions.
Originally committed as revision 21432 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
7abc860323
Optimize suffix_length computation, 1 cpu cycle speedup.
...
Originally committed as revision 21431 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
eeb1e92feb
Simplify suffix_length computation, same speed.
...
Originally committed as revision 21430 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
725b3da981
Favor the term "URL" over "filename", as the API deals with URLs
...
rather than with simple filenames.
Originally committed as revision 21429 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
c78295ad1b
Optimize level_code computation, 6cpu cycles speedup.
...
Originally committed as revision 21428 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
f1d2b5728c
Make url_read_complete handle EAGAIN more intelligently.
...
Only retry 2 - 5 times in quick succession and afterwards sleep a bit
to avoid creating high CPU load without any progress.
Originally committed as revision 21427 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
0b882b4009
Fix crash in MLP decoder due to integer overflow.
...
Probably only DoS, init_get_bits sets buffer to NULL, thus causing a
NULL-dereference directly after.
Originally committed as revision 21426 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
8ba436171f
1 cpu cycle faster suffix_length calculation.
...
Originally committed as revision 21425 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
f632c4549b
Merge two "if (flags & SWS_PRINT_INFO) { ... }" blocks.
...
Originally committed as revision 30425 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Laurent Aimar
f0f86627fe
VC-1/WMV3 DXVA2 implementation
...
It allows VLD VC-1/WMV3 decoding using DXVA2 (GPU assisted decoding API under
VISTA and Windows 7).
It is implemented by using AVHWAccel API.
Originally committed as revision 21424 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
77d40dce93
Remove is_complex from loop_filter() its useless there in its current form.
...
Originally committed as revision 21423 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Laurent Aimar
34fecc9afd
Added a few missing consts in dxva_h264.
...
Originally committed as revision 21422 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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