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
 
DOVIExtext_blocks
 Currently active extension blocks, updates on every ff_dovi_rpu_parse() or ff_dovi_rpu_generate(). More...
 
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 42 of file dovi_rpu.h.

Field Documentation

◆ logctx

void* DOVIContext::logctx

Definition at line 43 of file dovi_rpu.h.

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

◆ enable

int DOVIContext::enable

Definition at line 50 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 61 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 67 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 74 of file dovi_rpu.h.

Referenced by ff_dovi_ctx_replace().

◆ color

const AVDOVIColorMetadata* DOVIContext::color

Definition at line 75 of file dovi_rpu.h.

Referenced by ff_dovi_ctx_replace().

◆ ext_blocks

DOVIExt* DOVIContext::ext_blocks

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

RefStruct, or NULL if no extension blocks

Definition at line 81 of file dovi_rpu.h.

Referenced by ff_dovi_ctx_replace().

◆ dm

AVDOVIColorMetadata* DOVIContext::dm

Private fields internal to dovi_rpu.c.

RefStruct

Definition at line 86 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 87 of file dovi_rpu.h.

Referenced by ff_dovi_ctx_replace().

◆ rpu_buf

uint8_t* DOVIContext::rpu_buf

temporary buffer

Definition at line 88 of file dovi_rpu.h.

◆ rpu_buf_sz

unsigned DOVIContext::rpu_buf_sz

Definition at line 89 of file dovi_rpu.h.


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