Lines Matching defs:FrameStatistics
30 struct FrameStatistics { struct
40 size_t frame_number = 0;
41 size_t rtp_timestamp = 0;
44 int64_t encode_start_ns = 0;
45 int encode_return_code = 0;
46 bool encoding_successful = false;
47 size_t encode_time_us = 0;
48 size_t target_bitrate_kbps = 0;
49 double target_framerate_fps = 0.0;
50 size_t length_bytes = 0;
51 VideoFrameType frame_type = VideoFrameType::kVideoFrameDelta;
54 size_t spatial_idx = 0;
55 size_t temporal_idx = 0;
56 bool inter_layer_predicted = false;
57 bool non_ref_for_inter_layer_pred = true;
60 size_t max_nalu_size_bytes = 0;
63 int64_t decode_start_ns = 0;
64 int decode_return_code = 0;
65 bool decoding_successful = false;
66 size_t decode_time_us = 0;
67 size_t decoded_width = 0;
68 size_t decoded_height = 0;
71 int qp = -1;
74 bool quality_analysis_successful = false;
75 float psnr_y = 0.0f;
76 float psnr_u = 0.0f;
77 float psnr_v = 0.0f;
78 float psnr = 0.0f; // 10 * log10(255^2 / (mse_y + mse_u + mse_v)).
79 float ssim = 0.0f; // 0.8 * ssim_y + 0.1 * (ssim_u + ssim_v).