/external/libvpx/libvpx/test/ |
D | simple_encode_test.cc | 29 std::vector<std::vector<double>> frame_stats = in TEST() local 31 EXPECT_EQ(frame_stats.size(), static_cast<size_t>(num_frames)); in TEST() 32 size_t data_num = frame_stats[0].size(); in TEST() 35 for (size_t i = 0; i < frame_stats.size(); ++i) { in TEST() 36 EXPECT_EQ(frame_stats[i].size(), data_num); in TEST() 38 EXPECT_EQ(frame_stats[i][0], i); in TEST() 41 EXPECT_EQ(frame_stats[i][data_num - 1], 1); in TEST()
|
/external/webrtc/modules/video_coding/codecs/test/ |
D | videocodec_test_stats_impl_unittest.cc | 77 const std::vector<FrameStatistics> frame_stats = stats.GetFrameStatistics(); in TEST() local 83 EXPECT_THAT(frame_stats, Contains(field_matcher(0, 0))); in TEST() 84 EXPECT_THAT(frame_stats, Contains(field_matcher(0, 1))); in TEST() 85 EXPECT_THAT(frame_stats, Contains(field_matcher(1, 0))); in TEST() 86 EXPECT_THAT(frame_stats, Contains(field_matcher(1, 1))); in TEST()
|
D | videocodec_test_fixture_impl.cc | 538 std::vector<VideoCodecTestStats::FrameStatistics> frame_stats = in AnalyzeAllFrames() local 540 for (const auto& frame_stat : frame_stats) { in AnalyzeAllFrames()
|
/external/webrtc/test/pc/e2e/analyzer/video/ |
D | default_video_quality_analyzer.cc | 614 FrameStats frame_stats) { in AddComparison() argument 621 absl::nullopt, dropped, std::move(frame_stats), in AddComparison() 630 std::move(frame_stats), overload_reason); in AddComparison() 687 const FrameStats& frame_stats = comparison.frame_stats; in ProcessComparison() local 705 if (frame_stats.encoded_time.IsFinite()) { in ProcessComparison() 707 (frame_stats.encoded_time - frame_stats.pre_encode_time).ms()); in ProcessComparison() 708 stats->encode_frame_rate.AddEvent(frame_stats.encoded_time); in ProcessComparison() 709 stats->total_encoded_images_payload += frame_stats.encoded_image_size; in ProcessComparison() 710 stats->target_encode_bitrate.AddSample(frame_stats.target_encode_bitrate); in ProcessComparison() 712 if (frame_stats.pre_encode_time.IsFinite()) { in ProcessComparison() [all …]
|
D | default_video_quality_analyzer.h | 283 FrameStats frame_stats, 295 FrameStats frame_stats; member 469 FrameStats frame_stats)
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_mbgraph.c | 307 MBGRAPH_FRAME_STATS *frame_stats = &cpi->mbgraph_stats[i]; in separate_arf_mbs() local 312 MBGRAPH_MB_STATS *mb_stats = &frame_stats->mb_stats[offset + mb_col]; in separate_arf_mbs() 380 MBGRAPH_FRAME_STATS *frame_stats = &cpi->mbgraph_stats[i]; in vp9_update_mbgraph_stats() local 381 memset(frame_stats->mb_stats, 0, in vp9_update_mbgraph_stats() 390 MBGRAPH_FRAME_STATS *frame_stats = &cpi->mbgraph_stats[i]; in vp9_update_mbgraph_stats() local 395 update_mbgraph_frame_stats(cpi, frame_stats, &q_cur->img, golden_ref, in vp9_update_mbgraph_stats()
|
D | vp9_firstpass.c | 1783 const FIRSTPASS_STATS *frame_stats) { in get_zero_motion_factor() argument 1785 frame_stats->pcnt_inter - frame_stats->pcnt_motion; in get_zero_motion_factor() 1786 double sr_decay = get_sr_decay_rate(frame_info, frame_stats); in get_zero_motion_factor() 1793 const FIRSTPASS_STATS *frame_stats) { in get_prediction_decay_rate() argument 1794 const double sr_decay_rate = get_sr_decay_rate(frame_info, frame_stats); in get_prediction_decay_rate() 1796 (0.95 * pow((frame_stats->pcnt_inter - frame_stats->pcnt_motion), in get_prediction_decay_rate() 1831 static int detect_flash_from_frame_stats(const FIRSTPASS_STATS *frame_stats) { in detect_flash_from_frame_stats() argument 1838 if (frame_stats == NULL) { in detect_flash_from_frame_stats() 1841 return (frame_stats->sr_coded_error < frame_stats->coded_error) || in detect_flash_from_frame_stats() 1842 ((frame_stats->pcnt_second_ref > frame_stats->pcnt_inter) && in detect_flash_from_frame_stats() [all …]
|
/external/mesa3d/src/vulkan/overlay-layer/ |
D | overlay.cpp | 90 struct frame_stat frame_stats; member 195 struct frame_stat frame_stats; member 782 data->frame_stats.stats[OVERLAY_PARAM_ENABLED_frame_timing] = in snapshot_swapchain_frame() 788 …data->frames_stats[f_idx].stats[s] += device_data->frame_stats.stats[s] + data->frame_stats.stats[… in snapshot_swapchain_frame() 789 …data->accumulated_stats.stats[s] += device_data->frame_stats.stats[s] + data->frame_stats.stats[s]; in snapshot_swapchain_frame() 858 memset(&device_data->frame_stats, 0, sizeof(device_data->frame_stats)); in snapshot_swapchain_frame() 859 memset(&data->frame_stats, 0, sizeof(device_data->frame_stats)); in snapshot_swapchain_frame() 1887 device_data->frame_stats.stats[OVERLAY_PARAM_ENABLED_frame]++; in overlay_QueuePresentKHR() 1915 … device_data->frame_stats.stats[i] += query_results[i - OVERLAY_PARAM_ENABLED_vertices]; in overlay_QueuePresentKHR() 1928 device_data->frame_stats.stats[OVERLAY_PARAM_ENABLED_gpu_timing] += in overlay_QueuePresentKHR() [all …]
|
/external/libvpx/libvpx/vp8/encoder/ |
D | firstpass.c | 92 static int read_frame_stats(VP8_COMP *cpi, FIRSTPASS_STATS *frame_stats, in read_frame_stats() argument 103 *frame_stats = fps_ptr[offset]; in read_frame_stats()
|