FFmpeg
Data Fields
PalEntry Struct Reference

Data Fields

int pos
 lattice cell position, ((i * dim + j) * dim + k) [* dim + l] More...
 
uint8_t ci [4]
 lattice indices of the color More...
 
uint8_t alive
 still part of the palette while reducing More...
 
int nn
 nearest live color while reducing, then palette slot More...
 
int d2
 squared RGB(A) distance to nn More...
 
int64_t count
 pixels quantizing to this color, incl. absorbed ones More...
 

Detailed Description

Definition at line 73 of file vf_latticepal.c.

Field Documentation

◆ pos

int PalEntry::pos

lattice cell position, ((i * dim + j) * dim + k) [* dim + l]

Definition at line 74 of file vf_latticepal.c.

Referenced by color_inc().

◆ ci

uint8_t PalEntry::ci[4]

lattice indices of the color

Definition at line 75 of file vf_latticepal.c.

Referenced by batch_assign(), color_inc(), entry_color(), nearest_alive(), refine_full(), and refine_residual().

◆ alive

uint8_t PalEntry::alive

still part of the palette while reducing

Definition at line 76 of file vf_latticepal.c.

Referenced by color_inc(), filter_frame(), and refine_residual().

◆ nn

int PalEntry::nn

nearest live color while reducing, then palette slot

Definition at line 77 of file vf_latticepal.c.

Referenced by filter_frame(), refine_full(), and refine_residual().

◆ d2

int PalEntry::d2

squared RGB(A) distance to nn

Definition at line 78 of file vf_latticepal.c.

◆ count

int64_t PalEntry::count

pixels quantizing to this color, incl. absorbed ones

Definition at line 79 of file vf_latticepal.c.

Referenced by color_inc().


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