James Almer
5f9632e491
avcodec/av1dec: add an option to select an operating point
...
Signed-off-by: James Almer <jamrial@gmail.com>
2021-01-04 16:28:29 -03:00
James Almer
eee7ba8dba
avcodec/av1dec: infer and store film grain param values in AV1Frame
...
They are not always coded in the bistream for each frame. In some cases, the
values need to be taken from a reference frame.
See section 6.8.20 from the AV1 spec.
Signed-off-by: James Almer <jamrial@gmail.com>
2020-11-30 19:12:39 -03:00
James Almer
5d4a6bbd4b
avcodec/av1dec: remove order_hint from AV1Frame
...
We now have access to the raw frame header, so use that
Signed-off-by: James Almer <jamrial@gmail.com>
2020-11-13 10:38:18 -03:00
James Almer
f5517be32a
avcodec/av1dec: add a reference to the raw frame header to AV1Frames
...
Signed-off-by: James Almer <jamrial@gmail.com>
2020-11-13 10:38:18 -03:00
Timo Rothenpieler
5868f1c66b
avcodec/av1dec: expose coded_lossless
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Co-authored-by: James Almer <jamrial@gmail.com>
2020-11-11 18:36:09 +01:00
Timo Rothenpieler
e1efff8906
avcodec/av1dec: expose skip mode frame index
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Co-authored-by: James Almer <jamrial@gmail.com>
2020-11-11 18:36:09 +01:00
James Almer
7dac8ddb20
avcodec/av1dec: don't derive loop filter delta parameters
...
This is now handled by CBS.
Signed-off-by: James Almer <jamrial@gmail.com>
2020-10-28 11:26:25 -03:00
James Almer
0ed455b84e
avcodec/av1dec: add cur_frame.spatial_id and temporal_id to AV1Frame
...
Will be used by hwaccels, which have access to a frame's AV1RawFrameHeader but not
its AV1RawOBUHeader.
Signed-off-by: James Almer <jamrial@gmail.com>
2020-10-16 13:34:31 -03:00
Fei Wang
47be5a5056
avcodec: add AV1 hardware accelerated decoder
...
This AV1 decoder is currently only used for hardware accelerated decoding.
It can be extended into a native decoder in the future, so set its name to
"av1" and temporarily give it the lowest priority in the codec list.
Signed-off-by: Fei Wang <fei.w.wang@intel.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2020-09-12 13:08:34 -03:00