X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavcodec%2Fhevc_ps.h;h=45ef9daf1ffe3066efdac31b337b3df409a8ce43;hb=1d53b8e9073c93f75abb1fd2cde6ef6d21c2a22c;hp=b0a17bc8f0c15fed72e4a07128a3291fd5ebc1ac;hpb=a687fb997097ac1d1870b6de5160d45e5f57e871;p=ffmpeg diff --git a/libavcodec/hevc_ps.h b/libavcodec/hevc_ps.h index b0a17bc8f0c..45ef9daf1ff 100644 --- a/libavcodec/hevc_ps.h +++ b/libavcodec/hevc_ps.h @@ -344,4 +344,9 @@ int ff_hevc_decode_short_term_rps(GetBitContext *gb, AVCodecContext *avctx, int ff_hevc_encode_nal_vps(HEVCVPS *vps, unsigned int id, uint8_t *buf, int buf_size); +/** + * Compute POC of the current frame and return it. + */ +int ff_hevc_compute_poc(const HEVCSPS *sps, int pocTid0, int poc_lsb, int nal_unit_type); + #endif /* AVCODEC_HEVC_PS_H */