Age | Commit message (Collapse) | Author |
|
The callback function may be NULL, not Dav1dSettings field.
|
|
|
|
|
|
This way adding new fields in the future will not require breaking ABI
|
|
|
|
|
|
Increments the soname revision number for this behavior change.
Removes the DAV1D_VERSION and DAV1D_VERSION_INT defines and
dav1d_version_vcs() and dav1d_version_int().
Also cleans up the version usage in dav1d CLI.
Refs #241, #255.
|
|
All the other headers are being included relatively.
|
|
|
|
Renames the current version function and define to dav1d_version_vcs()
and DAV1D_VERSION_VCS. Fixes #241.
The generated version.h is included as "dav1d/version.h" to avoid errors
with a stale include/version.h in a build dir.
|
|
A symbol starting with two leading underscores is reserved for
the compiler/standard library implementation.
Also remove the trailing two double underscores for consistency
and symmetry.
|
|
|
|
|
|
Based on the implementation from tools/dav1d.c
|
|
Otherwise the library user will have to guess and find out the limit the hard way.
|
|
Signed-off-by: James Almer <jamrial@gmail.com>
|
|
Refs #188, adds a dav1d CLI option. Defaults to 1 to allow adjustment of the
tests of scalable bitstreams.
|
|
Refs #188, adds a corrosponding dav1d CLI option and skips not required
temporal and spatial layers based on the selected operating point.
|
|
This is using a slightly adapted version of my GPU-based algorithm. The
major difference to the algorithm suggested by the spec (and implemented
in libaom) is that instead of using a line buffer to hold the previous
row's film grain blocks, we compute each row/block fully independently.
This opens up the door to exploit parallelism in the future, since we
don't have any left->right or top->down dependency except for the PRNG
state. (Which we could pre-compute for a massively parallel / GPU
implementation)
That being said, it's probably somewhat slower than using a line buffer
for the serial / single CPU case, although most likely not by much
(since the areas with the most redundant work get progressively smaller,
down to a single 2x2 square for the worst case).
|
|
|
|
Since we return EAGAIN it's better if include the file that has it.
|
|
Users should include dav1d.h so only this one really needs the extern "C" {}.
|
|
|
|
Perform the library initialization as part of dav1d_open() instead.
|
|
|
|
|
|
This prevents leaving the caller with a dangling pointer.
|
|
With minor contributions from:
- Jean-Baptiste Kempf <jb@videolan.org>
- Marvin Scholz <epirat07@gmail.com>
- Hugo Beauzée-Luyssen <hugo@videolan.org>
|