Kostya Shishkov
15358ade15
mss1: validate number of changeable palette entries
13 years ago
Kostya Shishkov
8f5d573a83
mss1: report palette changed when some additional colours were decoded
13 years ago
Christophe Gisquet
a5bfa66df5
x86: fft: replace call to memcpy by a loop
...
The function call was a mess to handle, and memcpy cannot make
the assumptions we do in the new code.
Tested on an IMC sample: 430c -> 370c.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Ronald S. Bultje
fa84506177
dxva2: include dxva.h if found
...
Apparently, some build environments require dxva.h even for dxva2,
while others lack this header entirely. Including it conditionally
allows building in both cases.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Mans Rullgard
37c3864ef7
x86: fft: elf64: fix PIC build
...
In a 64-bit PIC build, external functions must be called
through the PLT.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Nicolas George
d4c45b8adf
Revert "Revert "x86: fft: win64: fix stack alignment for memcpy() call""
...
This reverts commit f767658414
.
The bug it introduces has been fixed.
13 years ago
Nicolas George
91765594dd
Revert "Revert "x86: fft: convert sse inline asm to yasm""
...
This reverts commit fd91a3ec44
.
The bug it introduced has been fixed.
13 years ago
Stefano Sabatini
e6674e46ec
lavu/imgutils: create misc functions for dealing with buffers
...
Move the lavc/imgconvert functions and rename them as follows:
avpicture_get_size -> av_image_get_buffer_size()
avpicture_fill -> av_image_fill_arrays()
avpicture_layout -> av_image_copy_to_buffer()
The new functions have an align parameter, which allows to define the
linesize alignment assumed in the buffer (which is set or read).
The names of the functions are consistent with the lavu/samples API
(av_samples_get_buffer_size(), av_samples_fill_arrays()).
13 years ago
Nicolas George
fd91a3ec44
Revert "x86: fft: convert sse inline asm to yasm"
...
This reverts commit 8299260470
.
It breaks shared builds on x86_64.
13 years ago
Nicolas George
f767658414
Revert "x86: fft: win64: fix stack alignment for memcpy() call"
...
This reverts commit 8725da49a2
.
Necerrary to revert 8299260470
.
13 years ago
Hendrik Leppkes
ea1c5011b3
dxva2_h264: fix signaling of mbaff frames
...
The MBAFF flag may only be signaled if we're actually dealing with
a full frame, and not singular fields, as it can happen in mixed content.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Carl Eugen Hoyos
6eff277284
Make LucasArts Smush SANM palette opaque.
...
Reviewed-by: Paul B Mahol
13 years ago
Carl Eugen Hoyos
c77bcbbb32
Signal MSS1 palette change.
...
Reviewed-by: Paul B Mahol
13 years ago
Paul B Mahol
e3c2670539
mss1: check number of free colours
...
Prevents out of array write.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
8a0cd58729
sonic: fix FPE
...
Fixes Ticket1397
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
0595334892
x86: fft: elf64: fix PIC build
...
In a 64-bit PIC build, external functions must be called
through the PLT.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
dc30c27eb1
h264_parser: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
cd6aa95caa
h264_loopfilter: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
bec21ce7f4
Make MSS1 palette opaque.
13 years ago
Mans Rullgard
8725da49a2
x86: fft: win64: fix stack alignment for memcpy() call
13 years ago
Mans Rullgard
8299260470
x86: fft: convert sse inline asm to yasm
13 years ago
Ronald S. Bultje
8123e0901f
x86: place some inline asm under #if HAVE_INLINE_ASM
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Paul B Mahol
7ebe28c23c
xwdenc: support 8bpp grayscale
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Piotr Bandurski
b9c94e826e
xwddec: support 8bpp grayscale
13 years ago
Michael Niedermayer
5c44c2de80
mlp_parser: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f0a3259f9a
rangecoder.h: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Hendrik Leppkes
b5e6aa6c33
dxva2_h264: fix signaling of mbaff frames
...
The MBAFF flag may only be signaled if we're actually dealing with
a full frame, and not singular fields, as it can happen in mixed content.
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
0b6f973635
h264: use asm cabac reader under a generic condition
...
This removes a dependency on implementation details from generic
code and allows easy addition of the equivalent optimisation for
other architectures than x86.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
f8fe4d2295
snow.h: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
be64d5f520
snow.c: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
fe07c9c6b5
x86: Only use optimizations with cmov if the CPU supports the instruction
13 years ago
Mans Rullgard
29686d6ea3
x86: remove unused inline asm macros from dsputil_mmx.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
685f5438bb
x86: move some inline asm macros to the only places they are used
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Paul B Mahol
e9d5c0520f
lavc: use designated initializers for AVClasses
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
53cec46b25
libschroedingerdec: remove unused header
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
a619fd277a
mjpegenc: enable frame multithreading encoder
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
fde1bc64ad
lavc: add frame multithreading capability (currently intra only)
...
Compared to the decoder side, this code is able to change both the
delay and the number of threads seamlessly during encoding. Also
any idle thread can pick up tasks, the strict round robin in order
limit is gone too.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
0c851e4642
threads: make get_logical_cpus() available outside pthread.c
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
094c5e6c55
mjpegenc: mark as intra only
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9eae43ddcf
lavc: add intra only codec flag
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
9277965883
bmpenc: use av_assert()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Stefano Sabatini
201b409da0
lavc/pcm: clarify error message from pcm_decode_frame()
...
Extend/clarify an error message in case of invalid packet size, and
return a proper error message instead of -1.
Improve debuggability.
13 years ago
Michael Niedermayer
69971410f9
ff_snow_common_end: assert() that the last buffer freed differs from the current.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8aeed14459
h.263enc: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c8f4c83e70
h.263dec: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
9ee3334840
libspeexenc: add supported sample rates and channel layouts.
13 years ago
Hendrik Leppkes
f6b4624fcf
utvideo: mark interlaced frames as such
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
13 years ago
Carl Eugen Hoyos
8875333707
utvideo: Fix interlaced prediction for RGB utvideo.
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
13 years ago
Michael Niedermayer
1e7943c315
snow: yuv410 support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
fba18ef8cc
x86/dsputil_mmx: support 4 sample edges
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago