FFmpeg  4.0
Data Fields
PaletteGenContext Struct Reference

Data Fields

const AVClassclass
 
int max_colors
 
int reserve_transparent
 
int stats_mode
 
AVFrameprev_frame
 
struct hist_node histogram [HIST_SIZE]
 
struct color_ref ** refs
 
int nb_refs
 
struct range_box boxes [256]
 
int nb_boxes
 
int palette_pushed
 
uint8_t transparency_color [4]
 

Detailed Description

Definition at line 64 of file vf_palettegen.c.

Field Documentation

◆ class

const AVClass* PaletteGenContext::class

Definition at line 65 of file vf_palettegen.c.

◆ max_colors

int PaletteGenContext::max_colors

Definition at line 67 of file vf_palettegen.c.

Referenced by get_next_box_id_to_split().

◆ reserve_transparent

int PaletteGenContext::reserve_transparent

Definition at line 68 of file vf_palettegen.c.

Referenced by get_next_box_id_to_split(), get_palette_frame(), and write_palette().

◆ stats_mode

int PaletteGenContext::stats_mode

Definition at line 69 of file vf_palettegen.c.

Referenced by filter_frame(), and request_frame().

◆ prev_frame

AVFrame* PaletteGenContext::prev_frame

Definition at line 71 of file vf_palettegen.c.

Referenced by filter_frame(), and uninit().

◆ histogram

struct hist_node PaletteGenContext::histogram[HIST_SIZE]

Definition at line 72 of file vf_palettegen.c.

Referenced by filter_frame(), get_palette_frame(), and uninit().

◆ refs

struct color_ref** PaletteGenContext::refs

◆ nb_refs

int PaletteGenContext::nb_refs

Definition at line 74 of file vf_palettegen.c.

Referenced by filter_frame(), get_palette_frame(), and request_frame().

◆ boxes

struct range_box PaletteGenContext::boxes[256]

◆ nb_boxes

int PaletteGenContext::nb_boxes

◆ palette_pushed

int PaletteGenContext::palette_pushed

Definition at line 77 of file vf_palettegen.c.

Referenced by request_frame().

◆ transparency_color

uint8_t PaletteGenContext::transparency_color[4]

Definition at line 78 of file vf_palettegen.c.

Referenced by write_palette().


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