FFmpeg
Data Fields
DOVIContext Struct Reference

#include <dovi_rpu.h>

Data Fields

void * logctx
 
int enable
 
AVDOVIDecoderConfigurationRecord cfg
 Currently active dolby vision configuration, or {0} for none. More...
 
AVDOVIRpuDataHeader header
 Currently active RPU data header, updates on every ff_dovi_rpu_parse() or ff_dovi_rpu_generate(). More...
 
const AVDOVIDataMappingmapping
 Currently active data mappings, or NULL. More...
 
const AVDOVIColorMetadatacolor
 
AVDOVIDmDataext_blocks
 Currently active extension blocks, updates on every ff_dovi_rpu_parse() or ff_dovi_rpu_generate(). More...
 
int num_ext_blocks
 
AVDOVIColorMetadatadm
 Private fields internal to dovi_rpu.c. More...
 
AVDOVIDataMappingvdr [DOVI_MAX_DM_ID+1]
 RefStruct references. More...
 
uint8_t * rpu_buf
 temporary buffer More...
 
unsigned rpu_buf_sz
 

Detailed Description

Definition at line 32 of file dovi_rpu.h.

Field Documentation

◆ logctx

void* DOVIContext::logctx

Definition at line 33 of file dovi_rpu.h.

Referenced by eb_enc_init(), ff_dovi_ctx_replace(), and libdav1d_init().

◆ enable

int DOVIContext::enable

Definition at line 40 of file dovi_rpu.h.

◆ cfg

Currently active dolby vision configuration, or {0} for none.

Set by the user when decoding. Generated by ff_dovi_configure() when encoding.

Note: sizeof(cfg) is not part of the libavutil ABI, so users should never pass &cfg to any other library calls. This is included merely as a way to look up the values of fields known at compile time.

Definition at line 51 of file dovi_rpu.h.

Referenced by eb_send_frame(), ff_dovi_ctx_replace(), and libdav1d_init().

◆ header

AVDOVIRpuDataHeader DOVIContext::header

Currently active RPU data header, updates on every ff_dovi_rpu_parse() or ff_dovi_rpu_generate().

Definition at line 57 of file dovi_rpu.h.

Referenced by ff_dovi_ctx_replace().

◆ mapping

const AVDOVIDataMapping* DOVIContext::mapping

Currently active data mappings, or NULL.

Points into memory owned by the corresponding rpu/vdr_ref, which becomes invalid on the next call to ff_dovi_rpu_parse() or ff_dovi_rpu_generate().

Definition at line 64 of file dovi_rpu.h.

Referenced by ff_dovi_ctx_replace().

◆ color

const AVDOVIColorMetadata* DOVIContext::color

Definition at line 65 of file dovi_rpu.h.

Referenced by ff_dovi_ctx_replace().

◆ ext_blocks

AVDOVIDmData* DOVIContext::ext_blocks

Currently active extension blocks, updates on every ff_dovi_rpu_parse() or ff_dovi_rpu_generate().

Definition at line 71 of file dovi_rpu.h.

Referenced by ff_dovi_ctx_replace().

◆ num_ext_blocks

int DOVIContext::num_ext_blocks

Definition at line 72 of file dovi_rpu.h.

◆ dm

AVDOVIColorMetadata* DOVIContext::dm

Private fields internal to dovi_rpu.c.

RefStruct

Definition at line 77 of file dovi_rpu.h.

Referenced by ff_dovi_ctx_replace().

◆ vdr

AVDOVIDataMapping* DOVIContext::vdr[DOVI_MAX_DM_ID+1]

RefStruct references.

Definition at line 78 of file dovi_rpu.h.

Referenced by ff_dovi_ctx_replace().

◆ rpu_buf

uint8_t* DOVIContext::rpu_buf

temporary buffer

Definition at line 79 of file dovi_rpu.h.

◆ rpu_buf_sz

unsigned DOVIContext::rpu_buf_sz

Definition at line 80 of file dovi_rpu.h.


The documentation for this struct was generated from the following file: