Carl Eugen Hoyos
ddee80f384
Metasoft MJPEG codec has Cb and Cr swapped, fixes issue 1611.
...
Originally committed as revision 21451 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
6022255774
Use isAnyRGB() where possible
...
Originally committed as revision 30435 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Michael Niedermayer
81858371d9
Add 3 more RGB makros that allow specifying RGB in bytes and any rgb/bgr.
...
Originally committed as revision 30434 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Michael Niedermayer
3b1ee70312
Rename isRGB() and isBGR() as their meaning is confusing.
...
Originally committed as revision 30433 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
7b87519b32
Merge two "if (flags & SWS_PRINT_INFO) { ... }" blocks, slightly
...
simplify code.
Originally committed as revision 30432 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Michael Niedermayer
021dccba1f
Fix heap overflow due to lack of nb_components check.
...
Originally committed as revision 21450 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
cc5d4f4c34
Release buffer when decoding is finished.
...
Originally committed as revision 21449 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
9120e2cd3f
Print config of each lib if different from that of ffmpeg/ffplay/ffserver
...
Originally committed as revision 21448 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
2773920698
Optimize decode_cabac_field_decoding_flag().
...
~4 cpu cycles faster
Originally committed as revision 21447 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
7f8c3d1f4d
configure: fix --cpu=nocona
...
Use x86_64_suggest instead of _select as otherwise fast_cmov being
disabled (as it should be for nocona) also disables x86_64 breaking
the build.
Originally committed as revision 21446 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alexander Strange
1e4f1c56d7
100l, correct wrong H.264+adaptive MBAFF decoding
...
Fixes several FATE tests.
Originally committed as revision 21445 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
9104cd5161
Check if dxva2api.h is recent enough to compile vc1_dxva2_hwaccel.
...
Originally committed as revision 21444 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
6023d84a2b
Load the proper getaddrinfo functions from ws2_32.dll, if they're present.
...
Patch by Martin Storsjö <martin at martin dot st>.
Originally committed as revision 21443 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
3debf366c8
Check for getaddrinfo in the winsock headers.
...
This makes us link directly to getaddrinfo if it is available, making
binaries incompatible with anything prior to windows XP. If compatibility
is desired, compile with --target-os=mingw32-prexp.
Patch by Martin Storsjö <martin at martin dot st>.
Originally committed as revision 21442 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
d9cd11ad44
Only define _WIN32_WINNT=0x0501 if $target_os = "mingw32".
...
If compatibility with pre-XP versions is desired, use
--target-os=mingw32-prexp
Patch by Martin Storsjö <martin at martin dot st>.
Originally committed as revision 21441 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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