Mark Thompson
11c191b52c
vaapi_decode: Ignore the profile when not useful
...
Enables VP8 decoding - the decoder places the the bitstream version
in the profile field, which we want to ignore.
8 years ago
Mark Thompson
a9fb134730
lavc/vaapi: Add VP8 decode hwaccel
8 years ago
Mark Thompson
4e528206bc
vp8: Add hwaccel hooks
...
Also adds some extra fields to the main context structure that may
be needed by a hwaccel decoder.
8 years ago
Diego Biurrun
131a85a1fe
utvideo: Change type of array stride parameters to ptrdiff_t
...
ptrdiff_t is the correct type for array strides and similar.
8 years ago
Diego Biurrun
52730e0f86
iir_filter: Change type of array stride parameters to ptrdiff_t
...
ptrdiff_t is the correct type for array strides and similar.
8 years ago
Diego Biurrun
6b52762951
error_resilience: Change type of array stride parameters to ptrdiff_t
...
ptrdiff_t is the correct type for array strides and similar.
8 years ago
Diego Biurrun
5b5ed92d92
sanm: Change type of array pitch parameters to ptrdiff_t
...
ptrdiff_t is the correct type for array pitches and similar.
8 years ago
Diego Biurrun
73f5e17a20
copy_block: Change type of array stride parameters to ptrdiff_t
...
ptrdiff_t is the correct type for array strides and similar.
8 years ago
Diego Biurrun
21e500ba64
svq1dec: Change type of array pitch parameters to ptrdiff_t
...
ptrdiff_t is the correct type for array pitches and similar.
8 years ago
Diego Biurrun
746c56b773
indeo: Change type of array pitch parameters to ptrdiff_t
...
ptrdiff_t is the correct type for array pitches and similar.
8 years ago
Mark Thompson
851960f6f8
lavc: Remove old vaapi decode infrastructure
...
Deprecates struct vaapi_context and the installed header vaapi.h,
to be removed at the next version bump.
8 years ago
Mark Thompson
ccd0316f7c
vaapi_mpeg4: Convert to use the new VAAPI hwaccel code
8 years ago
Mark Thompson
520fb77285
vaapi_vc1: Convert to use the new VAAPI hwaccel code
8 years ago
Mark Thompson
102e13c353
vaapi_mpeg2: Convert to use the new VAAPI hwaccel code
8 years ago
Mark Thompson
2fe93244ab
vaapi_h264: Convert to use the new VAAPI hwaccel code
8 years ago
Mark Thompson
123ccd07c5
lavc: Rewrite VAAPI decode infrastructure
...
Moves much of the setup logic for VAAPI decoding into lavc; the user
now need only provide the hw_frames_ctx.
8 years ago
Diego Biurrun
72eba6558e
wmavoice: Simplify GetBitContext initialization
8 years ago
Diego Biurrun
4ab496261b
libvpx: Cast a pointer to const to squelch a warning
...
libavcodec/libvpxdec.c💯 57: warning: passing argument 3 of 'av_image_copy' from incompatible pointer type
av_image_copy(picture->data, picture->linesize, img->planes,
libavutil/imgutils.h:116:6: note: expected 'const uint8_t **' but argument is of type 'unsigned char **'
void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4],
8 years ago
Diego Biurrun
721d57e608
vp56: Separate VP5 and VP6 dsp initialization
...
VP5 has no arch-specific optimizations (nor will it get some in the
future), so it makes no sense to try to share dsp init code with VP6.
8 years ago
Diego Biurrun
3fd22538bc
prores: Change type of stride parameters to ptrdiff_t
...
This avoids SIMD-optimized functions having to sign-extend their
line size argument manually to be able to do pointer arithmetic.
Also adjust parameter names to be "linesize" everywhere.
8 years ago
Diego Biurrun
f81be06cf6
cavs: Change type of stride parameters to ptrdiff_t
...
ptrdiff_t is the correct type for array strides and similar.
8 years ago
Diego Biurrun
802727b538
vp8: Update some assembly comments left unchanged in bd66f073fe
8 years ago
Diego Biurrun
87c6c78604
vp8: Change type of stride parameters to ptrdiff_t
...
ptrdiff_t is the correct type for array strides and similar.
8 years ago
Diego Biurrun
d9d26a3674
vp56: Change type of stride parameters to ptrdiff_t
...
This avoids SIMD-optimized functions having to sign-extend their
line size argument manually to be able to do pointer arithmetic.
8 years ago
Diego Biurrun
6892df9294
vp3: Change type of stride parameters to ptrdiff_t
...
This avoids SIMD-optimized functions having to sign-extend their
stride argument manually to be able to do pointer arithmetic.
Also adjust parameter names to be "stride" everywhere.
8 years ago
Luca Barbato
d42809f983
av1: Add codec_id and basic demuxing support
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years ago
Anton Khirnov
6755eb5b21
mss12: validate display dimensions
...
The code currently reads the coded dimensions from the extradata, but
expects the display dimensions to be set by the caller, and does not
check that they are compatible (i.e. that the displayed size is smaller
than the coded size).
Make sure that when the display dimensions are set, they are also valid.
Fixes possible invalid memory access.
CC: libav-stable@libav.org
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
8 years ago
Anton Khirnov
33f10546ec
vc1: check that slices have a positive height
...
Fixes possible invalid reads.
CC: libav-stable@libav.org
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
8 years ago
Anton Khirnov
09b23786b3
pcx: use the bytestream2 API for reading from input
...
Fixes possible invalid reads.
CC: libav-stable@libav.org
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
8 years ago
Anton Khirnov
221402c1c8
pcx: check that the packet is large enough before reading the header
...
Fixes possible invalid reads.
CC: libav-stable@libav.org
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
8 years ago
Anton Khirnov
15ee419b7a
pcx: properly pad the scanline
...
It is passed to the get_bits API, which requires buffers to be padded.
Fixes possible invalid reads.
CC: libav-stable@libav.org
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
8 years ago
Anton Khirnov
409d1cd2c9
cook: use the bytestream2 API for reading extradata
...
Fixes possible invalid reads in corrupted files.
CC: libav-stable@libav.org
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
8 years ago
Anton Khirnov
bba9d8bdfb
qpeg: fix an off by 1 error in the MV check
...
height - me_y is the line from which we read, so it must be strictly
smaller than the frame height. Fixes possible invalid reads in corrupted
files.
Also, use a proper context for logging the error.
CC: libav-stable@libav.org
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
8 years ago
Anton Khirnov
796dca027b
alac: do not return success if nothing was decoded
...
If we encounter an END element before anything is decoded, we would
return success even though the output frame has not been allocated,
which is invalid.
CC: libav-stable@libav.org
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
8 years ago
Anton Khirnov
f5d46d3322
vmnc: check that subrectangles fit into their containing rectangles
...
Fixes possible invalid writes with corrupted files.
CC: libav-stable@libav.org
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
8 years ago
Diego Biurrun
83b92a855e
golomb: Drop disabled cruft
8 years ago
Diego Biurrun
014852e932
simple_idct: arm: Drop disabled code variant
8 years ago
Diego Biurrun
e2b9993558
simple_idct: x86: Drop disabled IDCT implementation
...
This gem has been disabled since 2001.
8 years ago
Diego Biurrun
7effebde78
dvbsubdec: Remove disabled, near-duplicate debug code
8 years ago
Diego Biurrun
0e285c2f90
mpegvideo: Kill some disabled code
8 years ago
Diego Biurrun
f2f145f303
msmpeg4: Drop disabled debug cruft
8 years ago
Diego Biurrun
be1db21ba8
mathops: Drop disabled alternative mid_pred() implementation
8 years ago
Diego Biurrun
b53d8c3ccf
mjpegdec: Drop disabled code
8 years ago
Diego Biurrun
34c22a9ca6
faan(i)dct: Kill some disabled code
8 years ago
Diego Biurrun
17cb56b356
ffv1: Remove broken disabled cruft
8 years ago
Diego Biurrun
b96f0ab3d2
h264: Kill broken disabled cruft
8 years ago
Diego Biurrun
42c4c2d2a6
aac: Drop broken cruft
8 years ago
Diego Biurrun
263efc095e
jfdct: Kill broken cruft
8 years ago
Diego Biurrun
dab2034b86
roqvideoenc: Drop broken disabled cruft
8 years ago
Diego Biurrun
562bec0e69
pnm_parser: Drop broken disabled cruft
8 years ago