FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
PSNRContext Struct Reference

Data Fields

const AVClassclass
 
FFDualInputContext dinput
 
double mse
 
double min_mse
 
double max_mse
 
uint64_t nb_frames
 
FILE * stats_file
 
char * stats_file_str
 
int max [4]
 
int average_max
 
int is_rgb
 
uint8_t rgba_map [4]
 
char comps [4]
 
int nb_components
 
int planewidth [4]
 
int planeheight [4]
 
void(* compute_mse )(struct PSNRContext *s, const uint8_t *m[4], const int ml[4], const uint8_t *r[4], const int rl[4], int w, int h, double mse[4])
 

Detailed Description

Definition at line 37 of file vf_psnr.c.

Field Documentation

const AVClass* PSNRContext::class

Definition at line 38 of file vf_psnr.c.

FFDualInputContext PSNRContext::dinput

Definition at line 39 of file vf_psnr.c.

Referenced by config_output(), filter_frame(), init(), request_frame(), and uninit().

double PSNRContext::mse

Definition at line 40 of file vf_psnr.c.

Referenced by do_psnr(), and uninit().

double PSNRContext::min_mse

Definition at line 40 of file vf_psnr.c.

Referenced by do_psnr(), init(), and uninit().

double PSNRContext::max_mse

Definition at line 40 of file vf_psnr.c.

Referenced by do_psnr(), init(), and uninit().

uint64_t PSNRContext::nb_frames

Definition at line 41 of file vf_psnr.c.

Referenced by do_psnr(), and uninit().

FILE* PSNRContext::stats_file

Definition at line 42 of file vf_psnr.c.

Referenced by do_psnr(), init(), and uninit().

char* PSNRContext::stats_file_str

Definition at line 43 of file vf_psnr.c.

Referenced by init().

int PSNRContext::max[4]

Definition at line 44 of file vf_psnr.c.

Referenced by config_input_ref(), do_psnr(), and find_first_break().

int PSNRContext::average_max

Definition at line 44 of file vf_psnr.c.

Referenced by config_input_ref(), do_psnr(), and uninit().

int PSNRContext::is_rgb

Definition at line 45 of file vf_psnr.c.

Referenced by config_input_ref(), and do_psnr().

uint8_t PSNRContext::rgba_map[4]

Definition at line 46 of file vf_psnr.c.

Referenced by config_input_ref(), and do_psnr().

char PSNRContext::comps[4]

Definition at line 47 of file vf_psnr.c.

Referenced by config_input_ref(), and do_psnr().

int PSNRContext::nb_components

Definition at line 48 of file vf_psnr.c.

Referenced by compute_images_mse(), compute_images_mse_16bit(), config_input_ref(), and do_psnr().

int PSNRContext::planewidth[4]

Definition at line 49 of file vf_psnr.c.

Referenced by compute_images_mse(), compute_images_mse_16bit(), and config_input_ref().

int PSNRContext::planeheight[4]

Definition at line 50 of file vf_psnr.c.

Referenced by compute_images_mse(), compute_images_mse_16bit(), and config_input_ref().

void(* PSNRContext::compute_mse)(struct PSNRContext *s, const uint8_t *m[4], const int ml[4], const uint8_t *r[4], const int rl[4], int w, int h, double mse[4])

Definition at line 52 of file vf_psnr.c.

Referenced by config_input_ref(), and do_psnr().


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