FFmpeg  4.0
Public Types | Data Fields
FadeContext Struct Reference

Public Types

enum  { VF_FADE_WAITING =0, VF_FADE_FADING, VF_FADE_DONE }
 

Data Fields

const AVClassclass
 
int type
 
int factor
 
int fade_per_frame
 
int start_frame
 
int nb_frames
 
int hsub
 
int vsub
 
int bpp
 
unsigned int black_level
 
unsigned int black_level_scaled
 
uint8_t is_packed_rgb
 
uint8_t rgba_map [4]
 
int alpha
 
uint64_t start_time
 
uint64_t duration
 
enum FadeContext:: { ... }  fade_state
 
uint8_t color_rgba [4]
 fade color More...
 
int black_fade
 if color_rgba is black More...
 

Detailed Description

Definition at line 52 of file vf_fade.c.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
VF_FADE_WAITING 
VF_FADE_FADING 
VF_FADE_DONE 

Definition at line 63 of file vf_fade.c.

Field Documentation

◆ class

const AVClass* FadeContext::class

Definition at line 53 of file vf_fade.c.

◆ type

int FadeContext::type

Definition at line 54 of file vf_fade.c.

Referenced by filter_frame(), and init().

◆ factor

int FadeContext::factor

Definition at line 55 of file vf_fade.c.

Referenced by filter_frame(), filter_slice_alpha(), filter_slice_chroma(), and filter_slice_luma().

◆ fade_per_frame

int FadeContext::fade_per_frame

Definition at line 55 of file vf_fade.c.

Referenced by filter_frame(), and init().

◆ start_frame

int FadeContext::start_frame

Definition at line 56 of file vf_fade.c.

Referenced by filter_frame(), and init().

◆ nb_frames

int FadeContext::nb_frames

Definition at line 56 of file vf_fade.c.

Referenced by filter_frame(), and init().

◆ hsub

int FadeContext::hsub

Definition at line 57 of file vf_fade.c.

Referenced by config_props(), and filter_slice_chroma().

◆ vsub

int FadeContext::vsub

Definition at line 57 of file vf_fade.c.

Referenced by config_props(), and filter_slice_chroma().

◆ bpp

int FadeContext::bpp

Definition at line 57 of file vf_fade.c.

Referenced by config_props(), filter_slice_luma(), and filter_slice_rgb().

◆ black_level

unsigned int FadeContext::black_level

Definition at line 58 of file vf_fade.c.

Referenced by config_props(), filter_slice_alpha(), and filter_slice_luma().

◆ black_level_scaled

unsigned int FadeContext::black_level_scaled

Definition at line 58 of file vf_fade.c.

Referenced by config_props(), filter_slice_alpha(), and filter_slice_luma().

◆ is_packed_rgb

uint8_t FadeContext::is_packed_rgb

Definition at line 59 of file vf_fade.c.

Referenced by config_props(), filter_frame(), and filter_slice_alpha().

◆ rgba_map

uint8_t FadeContext::rgba_map[4]

Definition at line 60 of file vf_fade.c.

Referenced by config_props(), filter_rgb(), and filter_slice_alpha().

◆ alpha

int FadeContext::alpha

Definition at line 61 of file vf_fade.c.

Referenced by config_props(), filter_frame(), filter_slice_rgb(), init(), and query_formats().

◆ start_time

uint64_t FadeContext::start_time

Definition at line 62 of file vf_fade.c.

Referenced by filter_frame(), and init().

◆ duration

uint64_t FadeContext::duration

Definition at line 62 of file vf_fade.c.

Referenced by filter_frame(), and init().

◆ fade_state

enum { ... } FadeContext::fade_state

Referenced by filter_frame(), and init().

◆ color_rgba

uint8_t FadeContext::color_rgba[4]

fade color

Definition at line 64 of file vf_fade.c.

Referenced by filter_rgb(), and init().

◆ black_fade

int FadeContext::black_fade

if color_rgba is black

Definition at line 65 of file vf_fade.c.

Referenced by filter_frame(), init(), and query_formats().


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