Clément Bœsch
f2e3d706a1
vp9lpf/x86: add ff_vp9_loop_filter_h_{48,84}_16_{sse2,ssse3,avx}().
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
James Almer
92d47550ea
vp9lpf/x86: add an SSE2 version of vp9_loop_filter_[vh]_88_16
Similar gains as the ssse3 version once again
Additional improvements by Clément Bœsch <u@pkh.me>.
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Clément Bœsch
6bea478158
vp9lpf/x86: add ff_vp9_loop_filter_[vh]_88_16_{ssse3,avx}.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
James Almer
1f451eed60
vp9lpf/x86: add ff_vp9_loop_filter_[vh]_16_16_sse2().
Similar gains in performance as the SSSE3 version
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Clément Bœsch
a692724c58
vp9lpf/x86: add x86 SSSE3/AVX SIMD for vp9_loop_filter_[vh]_16_16.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Ronald S. Bultje
c935b54bd6
checkasm: add VP9 loopfilter tests.
The randomize_buffer() implementation assures that "most of the time",
we'll do a good mix of wide16/wide8/hev/regular/no filters for complete
code coverage. However, this is not mathematically assured because that
would make the code either much more complex, or much less random.
Some fixes and improvements by Rodger Combs <rodger.combs@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Ronald S. Bultje
a451324ddd
vp9: ignore reference segmentation map if error_resilience flag is set.
Fixes ffvp9_fails_where_libvpx.succeeds.webm.
Bug-Id: ffmpeg/3849.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Rodger Combs
14fe54bbfb
lavf/mpegtsenc: fix autobsf when the first NAL is 0x1<XX> bytes
9 years ago
Rodger Combs
63fbeebf6e
configure: add linker export script support on Darwin
This isn't a "version script" in the usual sense, since it doesn't set symbol
versions directly. Instead, the version for the whole .dylib is set in the
linker flags, and we generate a list of symbol patterns to export. This allows
us to keep our local symbols (e.g. ff_*) local on the platform.
The Darwin linker's exported_symbols_list format is a bit different than the
one used by the GNU linker. It doesn't handle local symbols at all, since when
a list is provided, all unlisted symbols are local by default; thus, we remove
local sections. It doesn't handle per-version sections, so we remove the
headers and brackets. It expects symbols to be prefixed with an underscore.
It errors if a listed symbol with no wildcards is not present in the output,
so we append an asterisk to any symbol that doesn't already end in one.
9 years ago
Steven Liu
be1d32492e
avformat/hlsenc: support multi level path in m3u8 with filename
before patch:
localhost:osx liuqi$ tree 20160926/
20160926/
└── file-20160909
└── 26
└── 16
└── 15
├── 46
│ ├── 13.ts
│ ├── 25.ts
│ ├── 36.ts
│ ├── 45.ts
│ └── 54.ts
└── 47
├── 04.ts
├── 14.ts
├── 24.ts
└── 35.ts
6 directories, 9 files
localhost:osx liuqi$ cat out.m3u8
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:12
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:11.360000,
13.ts
#EXTINF:10.800000,
25.ts
#EXTINF:9.120000,
36.ts
#EXTINF:8.760000,
45.ts
#EXTINF:10.200000,
54.ts
#EXTINF:10.720000,
04.ts
#EXTINF:9.600000,
14.ts
#EXTINF:10.600000,
24.ts
#EXTINF:8.760000,
35.ts
#EXT-X-ENDLIST
after patch:
localhost:osx liuqi$ tree 20160926/
20160926/
└── file-20160909
└── 26
└── 16
└── 15
├── 46
│ ├── 13.ts
│ ├── 25.ts
│ ├── 36.ts
│ ├── 45.ts
│ └── 54.ts
└── 47
├── 04.ts
├── 14.ts
├── 24.ts
└── 35.ts
6 directories, 9 files
localhost:osx liuqi$ cat out.m3u8
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:12
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:11.360000,
20160926/file-20160909/26/16/15/46/13.ts
#EXTINF:10.800000,
20160926/file-20160909/26/16/15/46/25.ts
#EXTINF:9.120000,
20160926/file-20160909/26/16/15/46/36.ts
#EXTINF:8.760000,
20160926/file-20160909/26/16/15/46/45.ts
#EXTINF:10.200000,
20160926/file-20160909/26/16/15/46/54.ts
#EXTINF:10.720000,
20160926/file-20160909/26/16/15/47/04.ts
#EXTINF:9.600000,
20160926/file-20160909/26/16/15/47/14.ts
#EXTINF:10.600000,
20160926/file-20160909/26/16/15/47/24.ts
#EXTINF:8.760000,
20160926/file-20160909/26/16/15/47/35.ts
#EXT-X-ENDLIST
Signed-off-by: Steven Liu <lingjiujianke@gmail.com>
9 years ago
Stephan Holljes
d0be0cbebc
lavf/aviobuf.c: Adapt avio_accept and avio_handshake to new AVIOContext API
Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com>
9 years ago
Marton Balint
fbf8ac7d2a
lavd/openal: don't return zero sized packet if no samples are available
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
2face3e7b5
lavc/utils: disallow zero sized packets with data set in avcodec_send_packet
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Adriano Pallavicino
f4e692a0e9
lavf/bink.c: fix warning due to misleading indentation
Signed-off-by: Adriano Pallavicino <adriano.pallavicino@gmail.com>
Signed-off-by: Josh de Kock <josh@itanimul.li>
9 years ago
Timo Rothenpieler
c4b78f9662
MAINTAINERS: add myself for hwcontext_cuda
9 years ago
Timo Rothenpieler
a0d7ce1406
avutil/hwcontext_cuda: align allocated frames
9 years ago
Matthieu Bouron
68822da8ff
lavc/mediacodecdec_h2645: fix nalu data_size type
9 years ago
James Almer
eb60256c20
fate: add bitexact decode flag to fate-svq3-watermark
Fixes failure with mmxext or 3dnow cpuflags enabled but ssse3 disabled
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Michael Niedermayer
cced8394b6
fate: Add PSP copy test
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Josh de Kock
441d15b7c0
doc/t2h: use container
Full width text is really difficult to read, this makes it more
more legible on larger (widescreen) screens. It also means we aren't
inventing our own container instead of using the bootstrap one.
Signed-off-by: Josh de Kock <josh@itanimul.li>
9 years ago
Vittorio Giovara
dc3fe45fca
fate: Add test for rscc palette
9 years ago
Carl Eugen Hoyos
c19830aa2c
rscc: Support palette format
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Vittorio Giovara
b8d5070db6
avcodec: Document AV_PKT_DATA_PALETTE side data type
9 years ago
Vittorio Giovara
497c087939
avidec: Set palette alpha as fully opaque
Palette format is always in RGBA.
9 years ago
Vittorio Giovara
bad4aad403
avidec: Do not special case palette on big-endian
This simplifies the code a bit, does not change output data in any way.
9 years ago
Vittorio Giovara
310c55f179
pixfmt: Document alternative names for smpte 431 and 432
9 years ago
Mark Thompson
5a5df90d9c
vaapi_h265: Add main 10 encode support
9 years ago
Mark Thompson
eaaaabf6c9
hwcontext_vaapi: Enable P010 support
This is required for 10-bit surfaces.
9 years ago
Mark Thompson
b8cac1e830
vaapi_h265: Fix buffering parameters
A decoder may need this to be set correctly to output frames in the
right order.
9 years ago
Mark Thompson
fc30a90898
vaapi_h265: Fix slice header writing
This was not observed earlier because the only syntax element which
it normally misses with the current setup is slice_qp_delta, but that
is always going to be zero (in IDR frames QP isn't varied on the
slice) which will always exp-golomb code as a single 1 bit. The
immediately following part is the byte alignment, which is always a 1
bit followed by 0s which are ignored, so as long as the bitstream is
never aligned at that point we will never notice because the only
difference is that an ignored bit is a 1 instead of a 0.
9 years ago
Mark Thompson
ec17ab381e
vaapi_h264: Write bitstream restriction fields
9 years ago
Mark Thompson
17a0f9481c
vaapi_h264: Fix CFR mode with frame_rate set in AVCodecContext
9 years ago
Mark Thompson
314b421dd8
vaapi_encode: Decide on GOP setup before initialising sequence parameters
This was always too late; several fields related to it have been incorrectly
zero since the encoder was added.
9 years ago
Anton Khirnov
5cc0057f49
lavu: remove the custom atomic API
It has been replaced by C11 stdatomic.h and is now unused.
9 years ago
Anton Khirnov
59c7022740
pthread_frame: use atomics for frame progress
9 years ago
Anton Khirnov
64a31b2854
pthread_frame: use atomics for PerThreadContext.state
9 years ago
Anton Khirnov
db2733256d
pthread_frame: use a thread-safe way for signalling threads to die
Current code uses a plain int in a racy way, which is UB.
9 years ago
Anton Khirnov
8385ba53f1
mmaldec: convert to stdatomic
9 years ago
Anton Khirnov
3a165c187d
v4l2: convert to stdatomic
9 years ago
Anton Khirnov
27079a426c
buffer: convert to stdatomic
9 years ago
Anton Khirnov
eb34d40354
Add a compat dummy stdatomic.h used when threading is disabled
Adapted from the code by Rémi Denis-Courmont from VLC
9 years ago
Anton Khirnov
f9a6a80e06
Add a compat stdatomic.h implementation based on pthreads
Adapted from the code by Rémi Denis-Courmont from VLC
9 years ago
Anton Khirnov
bb81ed4765
Add a compat stdatomic.h implementation based on suncc atomics
Adapted from the code by Rémi Denis-Courmont from VLC
9 years ago
Anton Khirnov
c2755864af
Add a compat stdatomic.h implementation based on windows atomics
Adapted from the code by Rémi Denis-Courmont from VLC
9 years ago
Anton Khirnov
4e928ef340
Add a compat stdatomic.h implementation based on GCC atomics
Adapted from the code by Rémi Denis-Courmont from VLC
9 years ago
Anton Khirnov
13f5d2bf75
configure: check for stdatomic.h
Since this is a C11 feature, it requires -std=c11.
Not actually used for anything yet, that will be added in the following
commits.
9 years ago
Timo Rothenpieler
b7bd5b9794
configure: define posix source on cygwin
Some function definitions are missing without it,
for example sigaction.
Fixes ticket #5868
9 years ago
Luca Barbato
b015872c0d
huffyuvdsp: Enable the altivec code for PPC little-endian as well
Confirmed to work by checkasm.
9 years ago
Luca Barbato
1d25a86902
huffyuvdsp: Reenable PPC optimizations
9 years ago
Alexandra Hájková
22c3ab1864
checkasm: Add test for huffyuvdsp add_bytes
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago