Searched refs:frame_stat (Results 1 – 6 of 6) sorted by relevance
/external/webrtc/modules/video_coding/codecs/test/ |
D | videocodec_test_stats_impl.cc | 37 void VideoCodecTestStatsImpl::AddFrame(const FrameStatistics& frame_stat) { in AddFrame() argument 38 const size_t timestamp = frame_stat.rtp_timestamp; in AddFrame() 39 const size_t layer_idx = frame_stat.spatial_idx; in AddFrame() 42 rtp_timestamp_to_frame_num_[layer_idx][timestamp] = frame_stat.frame_number; in AddFrame() 43 layer_stats_[layer_idx].push_back(frame_stat); in AddFrame() 131 FrameStatistics frame_stat = *GetFrame(frame_num, spatial_idx); in AggregateFrameStatistic() local 132 bool inter_layer_predicted = frame_stat.inter_layer_predicted; in AggregateFrameStatistic() 136 frame_stat.length_bytes += base_frame_stat->length_bytes; in AggregateFrameStatistic() 137 frame_stat.target_bitrate_kbps += base_frame_stat->target_bitrate_kbps; in AggregateFrameStatistic() 143 return frame_stat; in AggregateFrameStatistic() [all …]
|
D | videocodec_test_stats_impl_unittest.cc | 36 FrameStatistics* frame_stat = stats.GetFrame(0u, 0); in TEST() local 37 EXPECT_EQ(0u, frame_stat->frame_number); in TEST() 38 EXPECT_EQ(kTimestamp, frame_stat->rtp_timestamp); in TEST() 46 FrameStatistics* frame_stat = stats.GetFrame(i, 0); in TEST() local 47 EXPECT_EQ(i, frame_stat->frame_number); in TEST() 48 EXPECT_EQ(kTimestamp + i, frame_stat->rtp_timestamp); in TEST() 53 FrameStatistics* frame_stat = stats.GetFrameWithTimestamp(kTimestamp + i, 0); in TEST() local 54 EXPECT_EQ(i, frame_stat->frame_number); in TEST() 55 EXPECT_EQ(kTimestamp + i, frame_stat->rtp_timestamp); in TEST() 62 FrameStatistics* frame_stat = stats.GetFrame(0u, i); in TEST() local [all …]
|
D | videoprocessor.cc | 116 FrameStatistics* frame_stat, in CalculateFrameQuality() argument 134 CalculateFrameQuality(*scaled_buffer, dec_buffer, frame_stat, calc_ssim); in CalculateFrameQuality() 152 frame_stat->psnr_y = libyuv::SumSquareErrorToPsnr(sse_y, num_y_samples); in CalculateFrameQuality() 153 frame_stat->psnr_u = libyuv::SumSquareErrorToPsnr(sse_u, num_u_samples); in CalculateFrameQuality() 154 frame_stat->psnr_v = libyuv::SumSquareErrorToPsnr(sse_v, num_u_samples); in CalculateFrameQuality() 155 frame_stat->psnr = libyuv::SumSquareErrorToPsnr( in CalculateFrameQuality() 159 frame_stat->ssim = I420SSIM(ref_buffer, dec_buffer); in CalculateFrameQuality() 281 FrameStatistics frame_stat(frame_number, timestamp, i); in ProcessFrame() local 282 stats_->AddFrame(frame_stat); in ProcessFrame() 289 FrameStatistics* frame_stat = stats_->GetFrame(frame_number, i); in ProcessFrame() local [all …]
|
D | videocodec_test_stats_impl.h | 32 void AddFrame(const FrameStatistics& frame_stat);
|
D | videocodec_test_fixture_impl.cc | 540 for (const auto& frame_stat : frame_stats) { in AnalyzeAllFrames() local 541 RTC_LOG(LS_INFO) << frame_stat.ToString(); in AnalyzeAllFrames()
|
/external/mesa3d/src/vulkan/overlay-layer/ |
D | overlay.cpp | 67 struct frame_stat { struct 90 struct frame_stat frame_stats; argument 104 struct frame_stat stats; 191 struct frame_stat stats_min, stats_max; 192 struct frame_stat frames_stats[200]; 195 struct frame_stat frame_stats; 198 struct frame_stat accumulated_stats;
|