FFmpeg
Functions
dovi_rpu.c File Reference
#include "libavutil/mem.h"
#include "dovi_rpu.h"
#include "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...
 
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...
 

Function Documentation

◆ ff_dovi_ctx_unref()

void ff_dovi_ctx_unref ( DOVIContext s)

Completely reset a DOVIContext, preserving only logctx.

Definition at line 29 of file dovi_rpu.c.

Referenced by aom_free(), av1_decode_free(), eb_enc_close(), ff_dovi_rpu_parse(), hevc_decode_free(), libdav1d_close(), and libx265_encode_close().

◆ ff_dovi_ctx_flush()

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 41 of file dovi_rpu.c.

Referenced by hevc_decode_flush().

◆ ff_dovi_ctx_replace()

void ff_dovi_ctx_replace ( DOVIContext s,
const DOVIContext s0 
)

Definition at line 56 of file dovi_rpu.c.

◆ ff_dovi_guess_profile_hevc()

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 68 of file dovi_rpu.c.

Referenced by ff_dovi_configure(), ff_dovi_rpu_generate(), and ff_dovi_rpu_parse().