| Commit message (Collapse) | Author | Age |
... | |
| |
|
|
|
|
|
|
| |
The table had a wrong table height and was missing the first line of bytes.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
|
|
|
| |
Improves Coverity analysis, avoiding "double semicolon" CIDs.
|
|
|
|
| |
Improve the compatibility with other software.
|
|
|
|
|
| |
The `hq_ac_vlc.table` is incomplete, so unaccounted symbol return -1
as value.
|
| |
|
| |
|
|
|
|
| |
Value is stored as a byte.
|
|
|
|
| |
It is required by ptrdiff_t, fixes make checkheaders.
|
|
|
|
| |
Bug-Id: CID 1026763
|
|
|
|
| |
Bug-Id: CID 1295124
|
|
|
|
| |
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
| |
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
|
|
|
|
|
| |
ac may be NULL and then accessing ac->avctx results in a segmentation fault.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
|
| |
|
|
|
|
|
|
|
|
| |
warning: incompatible
pointer types assigning to 'me_cmp_func' (aka 'int (*)(struct
MpegEncContext *, uint8_t *, uint8_t *, ptrdiff_t, int)') from 'int
(MpegEncContext *, uint8_t *, uint8_t *, int, int)'
[-Wincompatible-pointer-types]
|
|
|
|
| |
Fix a rather lengthy initialization warning from clang.
|
|
|
|
|
|
| |
Based on work by Kostya Shishkov <kostya.shishkov@gmail.com>.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
|
|
|
|
| |
Add some bounds checking to CLLC; reduce HQX variable scoping,
add an error message.
|
|
|
|
|
|
| |
Inspired by a patch from Ferdinand Oeinck <ferdo@demon.nl>.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
|
|
|
| |
In preparation for multithreaded decoding.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
They seem to sometimes trigger with old AVI files. They are just
confusing, do not help anyone, and use sloppy language.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
|
|
|
|
|
|
|
|
|
| |
This is optional, but ensures that linking with -Wl,--as-needed does not
drop the library containing the MMAL VC driver. The driver normally
"registers" itself in the library constructor, but since no symbols are
explicitly referenced, the linker could remove it with --as-needed
enabled.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
|
|
|
| |
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
|
|
|
| |
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
|
|
|
|
|
|
| |
Based on code from libavcodec/libx264.c
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
|
|
|
|
| |
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
They are no longer initialized in ff_h264_decode_init() since 43fd3dd,
so svq3 needs to initialize the manually.
Fixes svq3 decoding, broken since 43fd3dd.
|
|
|
|
|
|
| |
The previous documentation was very vague and almost misleading.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
| |
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The generic code copies the main context's private data to all the
others. However that is quite dangerous, as it might end up copying some
pointers that are or will become invalid.
Since everything we actually need will be copied later in
update_thread_context(), it's safest to zero the private data in
init_thread_copy(), so it works the same way as init for the main
context.
|
| |
|
|
|
|
| |
It will always be initialized when actually parsing the PPS.
|
| |
|
|
|
|
|
| |
There is no real advantage to initializing any of those in init,
assuming yuv420, before the real stream parameters are known.
|
|
|
|
|
|
| |
This makes sure the various DSP contexts get properly initialized in
ff_h264_set_parameter_from_sps() whatever the value of
raw_bits_per_sample.
|
|
|
|
|
| |
There is in general no reason for the currently active SPS to be the one
referenced by the PPS being parsed.
|
|
|
|
|
| |
The way it is currently designed is fundamentally unsafe and cannot be
reasonably fixed without completely rewriting it.
|
| |
|
|
|
|
| |
This is the same as is done for SPS.
|
|
|
|
|
| |
This allows the callers to have a hint of the probable stream parameters
without actually decoding anything.
|
|
|
|
|
|
| |
Additionally always set the software pixel format, so it's available
even if ff_get_format() is not called later. This will be useful for
exporting stream parameters from init().
|