diff options
author | James Almer <jamrial@gmail.com> | 2023-06-17 17:18:04 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-06-19 12:57:31 -0300 |
commit | ff7a4cdf04fcd0bc8deab540fe83f789fcf99301 (patch) | |
tree | 704322e7ea082c66b8dc4ffcb4f0ec27ff675af9 /libavcodec/evc_parse.h | |
parent | f7e0af5edc9e7c1315da35a98f017cb497f65ad4 (diff) | |
download | ffmpeg-ff7a4cdf04fcd0bc8deab540fe83f789fcf99301.tar.gz |
avcodec/evc_parse: split off deriving PoC
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/evc_parse.h')
-rw-r--r-- | libavcodec/evc_parse.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/evc_parse.h b/libavcodec/evc_parse.h index 2748f8dfbf..97825efcd5 100644 --- a/libavcodec/evc_parse.h +++ b/libavcodec/evc_parse.h @@ -159,4 +159,9 @@ int ff_evc_get_temporal_id(const uint8_t *bits, int bits_size, void *logctx); int ff_evc_parse_nal_unit(EVCParserContext *ctx, const uint8_t *buf, int buf_size, void *logctx); +// POC (picture order count of the current picture) derivation +// @see ISO/IEC 23094-1:2020(E) 8.3.1 Decoding process for picture order count +int ff_evc_derive_poc(const EVCParamSets *ps, const EVCParserSliceHeader *sh, + EVCParserPoc *poc, enum EVCNALUnitType nalu_type, int tid); + #endif /* AVCODEC_EVC_PARSE_H */ |