FFmpeg
|
#include <stdint.h>
#include "libavutil/buffer.h"
#include "libavutil/frame.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_id.h"
#include "get_bits.h"
#include "h2645_vui.h"
#include "sei.h"
Go to the source code of this file.
Data Structures | |
struct | H2645SEIA53Caption |
struct | H2645SEIAFD |
struct | HEVCSEIDynamicHDRPlus |
struct | HEVCSEIDynamicHDRVivid |
struct | H2645SEIUnregistered |
struct | H2645SEIFramePacking |
struct | H2645SEIDisplayOrientation |
struct | H2645SEIAlternativeTransfer |
struct | H2645SEIAmbientViewingEnvironment |
struct | H2645SEIFilmGrainCharacteristics |
struct | H2645SEIMasteringDisplay |
struct | H2645SEIContentLight |
struct | H2645SEI |
Enumerations | |
enum | { FF_H2645_SEI_MESSAGE_HANDLED = 0, FF_H2645_SEI_MESSAGE_UNHANDLED } |
Functions | |
int | ff_h2645_sei_message_decode (H2645SEI *h, enum SEIType type, enum AVCodecID codec_id, GetBitContext *gb, GetByteContext *gbyte, void *logctx) |
Decode a single SEI message. More... | |
int | ff_h2645_sei_ctx_replace (H2645SEI *dst, const H2645SEI *src) |
void | ff_h2645_sei_reset (H2645SEI *s) |
int | ff_h2645_sei_to_frame (AVFrame *frame, H2645SEI *sei, enum AVCodecID codec_id, AVCodecContext *avctx, const H2645VUI *vui, unsigned bit_depth_luma, unsigned bit_depth_chroma, int seed) |
anonymous enum |
Enumerator | |
---|---|
FF_H2645_SEI_MESSAGE_HANDLED | |
FF_H2645_SEI_MESSAGE_UNHANDLED |
Definition at line 137 of file h2645_sei.h.
int ff_h2645_sei_message_decode | ( | H2645SEI * | h, |
enum SEIType | type, | ||
enum AVCodecID | codec_id, | ||
GetBitContext * | gb, | ||
GetByteContext * | gbyte, | ||
void * | logctx | ||
) |
Decode a single SEI message.
This function may either use gb or gbyte to decode the SEI message.
[in,out] | gb | GetBitContext that needs to be at the start of the payload (i.e. after the payload_size bytes); it needs to be initially byte-aligned |
[in,out] | gbyte | a GetByteContext for the same data as gb |
Definition at line 442 of file h2645_sei.c.
Referenced by decode_nal_sei_prefix(), and ff_h264_sei_decode().
Definition at line 472 of file h2645_sei.c.
Referenced by ff_h264_sei_ctx_replace(), and ff_hevc_sei_ctx_replace().
void ff_h2645_sei_reset | ( | H2645SEI * | s | ) |
Definition at line 768 of file h2645_sei.c.
Referenced by ff_h264_sei_uninit(), and ff_hevc_reset_sei().
int ff_h2645_sei_to_frame | ( | AVFrame * | frame, |
H2645SEI * | sei, | ||
enum AVCodecID | codec_id, | ||
AVCodecContext * | avctx, | ||
const H2645VUI * | vui, | ||
unsigned | bit_depth_luma, | ||
unsigned | bit_depth_chroma, | ||
int | seed | ||
) |
Definition at line 511 of file h2645_sei.c.
Referenced by h264_export_frame_props(), and set_side_data().