FFmpeg
|
#include <stdint.h>
#include "libavutil/buffer.h"
#include "libavutil/pixfmt.h"
#include "libavutil/rational.h"
#include "avcodec.h"
#include "get_bits.h"
#include "hevc.h"
Go to the source code of this file.
Data Structures | |
struct | ShortTermRPS |
struct | LongTermRPS |
struct | SliceHeader |
struct | HEVCWindow |
struct | VUI |
struct | PTLCommon |
struct | PTL |
struct | HEVCVPS |
struct | ScalingList |
struct | HEVCSPS |
struct | HEVCPPS |
struct | HEVCParamSets |
Functions | |
int | ff_hevc_parse_sps (HEVCSPS *sps, GetBitContext *gb, unsigned int *sps_id, int apply_defdispwin, AVBufferRef **vps_list, AVCodecContext *avctx) |
Parse the SPS from the bitstream into the provided HEVCSPS struct. More... | |
int | ff_hevc_decode_nal_vps (GetBitContext *gb, AVCodecContext *avctx, HEVCParamSets *ps) |
int | ff_hevc_decode_nal_sps (GetBitContext *gb, AVCodecContext *avctx, HEVCParamSets *ps, int apply_defdispwin) |
int | ff_hevc_decode_nal_pps (GetBitContext *gb, AVCodecContext *avctx, HEVCParamSets *ps) |
void | ff_hevc_ps_uninit (HEVCParamSets *ps) |
int | ff_hevc_decode_short_term_rps (GetBitContext *gb, AVCodecContext *avctx, ShortTermRPS *rps, const HEVCSPS *sps, int is_slice_header) |
int | ff_hevc_encode_nal_vps (HEVCVPS *vps, unsigned int id, uint8_t *buf, int buf_size) |
int | ff_hevc_compute_poc (const HEVCSPS *sps, int pocTid0, int poc_lsb, int nal_unit_type) |
Compute POC of the current frame and return it. More... | |
int ff_hevc_parse_sps | ( | HEVCSPS * | sps, |
GetBitContext * | gb, | ||
unsigned int * | sps_id, | ||
int | apply_defdispwin, | ||
AVBufferRef ** | vps_list, | ||
AVCodecContext * | avctx | ||
) |
Parse the SPS from the bitstream into the provided HEVCSPS struct.
sps_id | the SPS id will be written here |
apply_defdispwin | if set 1, the default display window from the VUI will be applied to the video dimensions |
vps_list | if non-NULL, this function will validate that the SPS refers to an existing VPS |
Definition at line 866 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_sps(), and generate_fake_vps().
int ff_hevc_decode_nal_vps | ( | GetBitContext * | gb, |
AVCodecContext * | avctx, | ||
HEVCParamSets * | ps | ||
) |
Definition at line 416 of file hevc_ps.c.
Referenced by decode_nal_unit(), hevc_decode_nal_units(), and parse_nal_units().
int ff_hevc_decode_nal_sps | ( | GetBitContext * | gb, |
AVCodecContext * | avctx, | ||
HEVCParamSets * | ps, | ||
int | apply_defdispwin | ||
) |
Definition at line 1217 of file hevc_ps.c.
Referenced by decode_nal_unit(), hevc_decode_nal_units(), and parse_nal_units().
int ff_hevc_decode_nal_pps | ( | GetBitContext * | gb, |
AVCodecContext * | avctx, | ||
HEVCParamSets * | ps | ||
) |
Definition at line 1466 of file hevc_ps.c.
Referenced by decode_nal_unit(), hevc_decode_nal_units(), and parse_nal_units().
void ff_hevc_ps_uninit | ( | HEVCParamSets * | ps | ) |
Definition at line 1711 of file hevc_ps.c.
Referenced by hevc_decode_free(), and hevc_parser_close().
int ff_hevc_decode_short_term_rps | ( | GetBitContext * | gb, |
AVCodecContext * | avctx, | ||
ShortTermRPS * | rps, | ||
const HEVCSPS * | sps, | ||
int | is_slice_header | ||
) |
Definition at line 111 of file hevc_ps.c.
Referenced by ff_hevc_parse_sps(), and hls_slice_header().
Definition at line 66 of file hevc_ps_enc.c.
Referenced by generate_fake_vps().
Compute POC of the current frame and return it.
Definition at line 1727 of file hevc_ps.c.
Referenced by hevc_parse_slice_header(), and hls_slice_header().