FFmpeg
|
#include "libavutil/attributes.h"
#include "libavutil/mem.h"
#include "dovi_rpu.h"
#include "libavutil/refstruct.h"
Go to the source code of this file.
Functions | |
void | ff_dovi_ctx_unref (DOVIContext *s) |
Completely reset a DOVIContext, preserving only logctx. More... | |
av_cold void | ff_dovi_ctx_flush (DOVIContext *s) |
Partially reset the internal state. More... | |
void | ff_dovi_ctx_replace (DOVIContext *s, const DOVIContext *s0) |
int | ff_dovi_guess_profile_hevc (const AVDOVIRpuDataHeader *hdr) |
Internal helper function to guess the correct DV profile for HEVC. More... | |
Variables | |
const AVDOVIColorMetadata | ff_dovi_color_default |
void ff_dovi_ctx_unref | ( | DOVIContext * | s | ) |
Completely reset a DOVIContext, preserving only logctx.
Definition at line 30 of file dovi_rpu.c.
Referenced by aom_free(), av1_decode_free(), dovi_rpu_close(), eb_enc_close(), ff_dovi_rpu_parse(), hevc_decode_free(), libdav1d_close(), and libx265_encode_close().
av_cold void ff_dovi_ctx_flush | ( | DOVIContext * | s | ) |
Partially reset the internal state.
Resets per-frame state, but preserves the stream-wide configuration record.
Definition at line 43 of file dovi_rpu.c.
Referenced by hevc_decode_flush(), and update_rpu().
void ff_dovi_ctx_replace | ( | DOVIContext * | s, |
const DOVIContext * | s0 | ||
) |
Definition at line 59 of file dovi_rpu.c.
int ff_dovi_guess_profile_hevc | ( | const AVDOVIRpuDataHeader * | hdr | ) |
Internal helper function to guess the correct DV profile for HEVC.
Returns the profile number or 0 if unknown.
Definition at line 72 of file dovi_rpu.c.
Referenced by dovi_configure_ext(), ff_dovi_rpu_generate(), and ff_dovi_rpu_parse().
const AVDOVIColorMetadata ff_dovi_color_default |
Definition at line 94 of file dovi_rpu.c.
Referenced by ff_dovi_rpu_generate(), and ff_dovi_rpu_parse().