|
FFmpeg
|
Data Fields | |
| const AVClass * | class |
| int | density |
| lattice steps per color axis More... | |
| int | dither |
| int | max_colors |
| palette entries to use at most More... | |
| int | alpha |
| quantize the alpha channel too (D4 lattice) More... | |
| int | refine |
| rediffuse the error of dropped colors More... | |
| int | ro |
| int | go |
| int | bo |
| int | ao |
| byte offsets of R, G, B, A in an input pixel, ao < 0: opaque More... | |
| int | nc |
| quantized components, 3 or 4 More... | |
| int | pixstep |
| bytes per input pixel More... | |
| float | scale |
| density / 255 More... | |
| uint8_t | idx2val [MAX_DENSITY+1] |
| lattice index -> 8-bit component value More... | |
| int | ordered_dither [4][8 *8] |
| per-channel bayer offsets spanning one lattice period More... | |
| int * | blue_dither [4] |
| per-channel blue noise offsets spanning one lattice period More... | |
| int32_t * | err [2] |
| Floyd-Steinberg error rows, nc ints per pixel. More... | |
| int | dim |
| density + 1, lattice cells per axis More... | |
| int | min_gap |
| smallest idx2val increment More... | |
| int32_t * | cell |
| dim^nc table: lattice cell -> list index + 1, 0 if unused More... | |
| uint32_t * | pixpos |
| per-pixel cell position of the quantized color More... | |
| PalEntry * | list |
| colors used by the current frame More... | |
| int | nb_used |
| int | nb_alloc |
| int * | alive_arr |
| compact list of live color indices while reducing More... | |
| int * | alive_pos |
| position of each live color in alive_arr More... | |
| int | nb_alive |
| entries in alive_arr, 0 outside reduction/remap More... | |
| int | alive_alloc |
| uint32_t | prev_pal [AVPALETTE_COUNT] |
| previous frame's palette, for stable slot assignment More... | |
| int * | touched |
| cells filled on demand by the refinement pass More... | |
| int | nb_touched |
| int | touched_alloc |
Definition at line 82 of file vf_latticepal.c.
| const AVClass* LatticePalContext::class |
Definition at line 83 of file vf_latticepal.c.
| int LatticePalContext::density |
lattice steps per color axis
Definition at line 84 of file vf_latticepal.c.
| int LatticePalContext::dither |
Definition at line 85 of file vf_latticepal.c.
| int LatticePalContext::max_colors |
palette entries to use at most
Definition at line 86 of file vf_latticepal.c.
| int LatticePalContext::alpha |
quantize the alpha channel too (D4 lattice)
Definition at line 87 of file vf_latticepal.c.
| int LatticePalContext::refine |
rediffuse the error of dropped colors
Definition at line 88 of file vf_latticepal.c.
| int LatticePalContext::ro |
Definition at line 90 of file vf_latticepal.c.
| int LatticePalContext::go |
Definition at line 90 of file vf_latticepal.c.
| int LatticePalContext::bo |
Definition at line 90 of file vf_latticepal.c.
| int LatticePalContext::ao |
byte offsets of R, G, B, A in an input pixel, ao < 0: opaque
Definition at line 90 of file vf_latticepal.c.
| int LatticePalContext::nc |
quantized components, 3 or 4
Definition at line 91 of file vf_latticepal.c.
| int LatticePalContext::pixstep |
bytes per input pixel
Definition at line 92 of file vf_latticepal.c.
| float LatticePalContext::scale |
density / 255
Definition at line 93 of file vf_latticepal.c.
| uint8_t LatticePalContext::idx2val[MAX_DENSITY+1] |
lattice index -> 8-bit component value
Definition at line 94 of file vf_latticepal.c.
| int LatticePalContext::ordered_dither[4][8 *8] |
per-channel bayer offsets spanning one lattice period
Definition at line 95 of file vf_latticepal.c.
| int* LatticePalContext::blue_dither[4] |
per-channel blue noise offsets spanning one lattice period
Definition at line 96 of file vf_latticepal.c.
| int32_t* LatticePalContext::err[2] |
Floyd-Steinberg error rows, nc ints per pixel.
Definition at line 97 of file vf_latticepal.c.
| int LatticePalContext::dim |
density + 1, lattice cells per axis
Definition at line 99 of file vf_latticepal.c.
| int LatticePalContext::min_gap |
smallest idx2val increment
Definition at line 100 of file vf_latticepal.c.
| int32_t* LatticePalContext::cell |
dim^nc table: lattice cell -> list index + 1, 0 if unused
Definition at line 101 of file vf_latticepal.c.
| uint32_t* LatticePalContext::pixpos |
per-pixel cell position of the quantized color
Definition at line 102 of file vf_latticepal.c.
| PalEntry* LatticePalContext::list |
colors used by the current frame
Definition at line 103 of file vf_latticepal.c.
| int LatticePalContext::nb_used |
Definition at line 104 of file vf_latticepal.c.
| int LatticePalContext::nb_alloc |
Definition at line 105 of file vf_latticepal.c.
| int* LatticePalContext::alive_arr |
compact list of live color indices while reducing
Definition at line 106 of file vf_latticepal.c.
| int* LatticePalContext::alive_pos |
position of each live color in alive_arr
Definition at line 107 of file vf_latticepal.c.
| int LatticePalContext::nb_alive |
entries in alive_arr, 0 outside reduction/remap
Definition at line 108 of file vf_latticepal.c.
| int LatticePalContext::alive_alloc |
Definition at line 109 of file vf_latticepal.c.
| uint32_t LatticePalContext::prev_pal[AVPALETTE_COUNT] |
previous frame's palette, for stable slot assignment
Definition at line 110 of file vf_latticepal.c.
| int* LatticePalContext::touched |
cells filled on demand by the refinement pass
Definition at line 111 of file vf_latticepal.c.
| int LatticePalContext::nb_touched |
Definition at line 112 of file vf_latticepal.c.
| int LatticePalContext::touched_alloc |
Definition at line 113 of file vf_latticepal.c.
1.8.17