Home
last modified time | relevance | path

Searched refs:frame_number (Results 1 – 25 of 35) sorted by relevance

12

/external/webrtc/webrtc/modules/video_coding/codecs/test/
Dstats.cc30 frame_number(0), in FrameStatistic()
57 FrameStatistic& Stats::NewFrame(int frame_number) { in NewFrame() argument
58 assert(frame_number >= 0); in NewFrame()
60 stat.frame_number = frame_number; in NewFrame()
62 return stats_[frame_number]; in NewFrame()
100 frame->frame_number); in PrintSummary()
104 frame->frame_number); in PrintSummary()
126 frame->frame_number); in PrintSummary()
131 frame->frame_number); in PrintSummary()
143 frame->encoded_frame_length_in_bytes, frame->frame_number); in PrintSummary()
[all …]
Dvideoprocessor.cc182 bool VideoProcessorImpl::ProcessFrame(int frame_number) { in ProcessFrame() argument
183 assert(frame_number >= 0); in ProcessFrame()
189 if (frame_number == 0) { in ProcessFrame()
198 FrameStatistic& stat = stats_->NewFrame(frame_number); in ProcessFrame()
202 source_frame_.set_timestamp(frame_number); in ProcessFrame()
207 frame_number % config_.keyframe_interval == 0) { in ProcessFrame()
219 frame_number, encode_result); in ProcessFrame()
248 int frame_number = encoded_image._timeStamp; in FrameEncoded() local
249 FrameStatistic& stat = stats_->stats_[frame_number]; in FrameEncoded()
254 stat.frame_number = encoded_image._timeStamp; in FrameEncoded()
[all …]
Dvideoprocessor_integrationtest.cc359 void LayerIndexForFrame(int frame_number) { in LayerIndexForFrame() argument
365 if (frame_number % 2 == 0) { in LayerIndexForFrame()
374 if (frame_number % 4 == 0) { in LayerIndexForFrame()
376 } else if ((frame_number + 2) % 4 == 0) { in LayerIndexForFrame()
378 } else if ((frame_number + 1) % 2 == 0) { in LayerIndexForFrame()
446 int frame_number = 0; in ProcessFramesAndVerify() local
448 while (processor_->ProcessFrame(frame_number) && in ProcessFramesAndVerify()
449 frame_number < num_frames) { in ProcessFramesAndVerify()
451 LayerIndexForFrame(frame_number); in ProcessFramesAndVerify()
455 ++frame_number; in ProcessFramesAndVerify()
[all …]
Dstats.h31 int frame_number; member
58 FrameStatistic& NewFrame(int frame_number);
Dstats_unittest.cc42 EXPECT_EQ(0, frameStat->frame_number); in TEST_F()
50 EXPECT_EQ(i, frameStat.frame_number); in TEST_F()
Dvideoprocessor.h141 virtual bool ProcessFrame(int frame_number) = 0;
171 bool ProcessFrame(int frame_number) override;
/external/webrtc/webrtc/test/testsupport/metrics/
Dvideo_metrics.cc39 int frame_number, in CalculateFrame() argument
42 frame_result.frame_number = frame_number; in CalculateFrame()
73 result->min_frame_number = iter->frame_number; in CalculateStats()
77 result->max_frame_number = iter->frame_number; in CalculateStats()
108 int frame_number = 0; in CalculateMetrics() local
132 CalculateFrame(kPSNR, &ref_frame, &test_frame, frame_number, in CalculateMetrics()
136 CalculateFrame(kSSIM, &ref_frame, &test_frame, frame_number, in CalculateMetrics()
140 CalculateFrame(kPSNR, &ref_frame, &test_frame, frame_number, in CalculateMetrics()
142 CalculateFrame(kSSIM, &ref_frame, &test_frame, frame_number, in CalculateMetrics()
146 frame_number++; in CalculateMetrics()
[all …]
Dvideo_metrics.h25 int frame_number; member
/external/autotest/server/site_tests/video_PlaybackQuality/
Dvideo_PlaybackQuality.py119 (frame_number, width, height, _, frame) = video_frame
121 logging.info('Find preamble at frame %d', frame_number)
127 '%s_pre_%d' % (description, frame_number))
133 (frame_number, _, _, _, frame) = video_frame
135 logging.info('End preamble at frame %d', frame_number)
143 def _store_wrong_frames(self, frame_number, resolution, frames): argument
155 element = ((frame_number - index), resolution, frame)
184 (frame_number, width, height, _, frame) = video_frame
200 (description, error_number, frame_number, color_name,
203 self._store_wrong_frames(frame_number, (width, height),
[all …]
/external/webrtc/webrtc/tools/frame_analyzer/
Dvideo_quality_analysis.h25 AnalysisResult(int frame_number, double psnr_value, double ssim_value) in AnalysisResult()
26 : frame_number(frame_number), in AnalysisResult()
29 int frame_number; member
109 int frame_number,
117 int frame_number,
Dvideo_quality_analysis.cc54 std::string frame_number = frame.substr(underscore_position + 1); in ExtractFrameSequenceNumber() local
56 return strtol(frame_number.c_str(), NULL, 10); in ExtractFrameSequenceNumber()
96 int frame_number, in ExtractFrameFromYuvFile() argument
99 int offset = frame_number * frame_size; // Calculate offset for the frame. in ExtractFrameFromYuvFile()
116 frame_number, i420_file_name); in ExtractFrameFromYuvFile()
126 int frame_number, in ExtractFrameFromY4mFile() argument
129 int frame_offset = frame_number * frame_size; in ExtractFrameFromY4mFile()
142 if (frame_number == 0) { in ExtractFrameFromY4mFile()
170 frame_number, y4m_file_name); in ExtractFrameFromY4mFile()
280 result.frame_number = decoded_frame_number; in RunAnalysis()
/external/webrtc/webrtc/modules/video_coding/codecs/tools/
Dvideo_quality_measurement.cc366 f.frame_number, f.encoding_successful, f.decoding_successful, in PrintCsvOutput()
451 f.frame_number, f.encoding_successful ? "True " : "False", in PrintPythonOutput()
514 int frame_number = 0; in main() local
515 while (processor->ProcessFrame(frame_number)) { in main()
516 if (frame_number % 80 == 0) { in main()
520 frame_number++; in main()
523 Log("Processed %d frames\n", frame_number); in main()
530 assert(frame_number == static_cast<int>(stats.stats_.size())); in main()
/external/libvpx/libvpx/test/
Ddecode_svc_test.cc32 if (video.frame_number() == 0) in PreDecodeFrameHook()
37 const unsigned int frame_number) { in DecompressedFrameHook() argument
40 total_frames_ = frame_number; in DecompressedFrameHook()
Ddecode_test_driver.cc55 if (video->frame_number() == 0) in HandlePeekResult()
101 DecompressedFrameHook(*img, video->frame_number()); in RunLoop()
Dinvalid_file_test.cc72 << "Results don't match: frame number = " << video.frame_number() in HandleDecodeResult()
78 << "Results don't match: frame number = " << video.frame_number() in HandleDecodeResult()
Dtest_vector_test.cc58 const unsigned int frame_number) { in DecompressedFrameHook() argument
74 << "Md5 checksums don't match: frame number = " << frame_number; in DecompressedFrameHook()
Ddecode_perf_test.cc94 const unsigned frames = video.frame_number(); in TEST_P()
245 const unsigned decode_frames = decode_video.frame_number(); in TEST_P()
Dexternal_frame_buffer_test.cc219 if (num_buffers_ > 0 && video.frame_number() == 0) { in PreDecodeFrameHook()
235 const unsigned int frame_number) { in DecompressedFrameHook() argument
251 << "Md5 checksums don't match: frame number = " << frame_number; in DecompressedFrameHook()
Dwebm_video_source.h79 virtual unsigned int frame_number() const { return frame_; } in frame_number() function
Divf_video_source.h93 virtual unsigned int frame_number() const { return frame_; } in frame_number() function
/external/webrtc/webrtc/tools/barcode_tools/
Dbarcode_decoder.py132 frame_number = helper_functions.zero_pad(i)
133 barcode_file_name = file_prefix + frame_number + '.txt'
134 png_frame = file_prefix + frame_number + '.png'
/external/libvpx/libvpx/vp8/common/
Dheader.h29 unsigned int frame_number; member
/external/kernel-headers/original/uapi/linux/
Domap3isp.h75 __u32 frame_number; member
171 __u16 frame_number; member
/external/autotest/client/cros/chameleon/
Dchameleon_stream_server.py323 frame_number, width, height, channel, _, _, _ = unpack(
326 return (error_code, frame_number, width, height, channel, data)
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_uvd.c72 unsigned frame_number; member
806 uint32_t min = MAX2(dec->frame_number, NUM_MPEG2_REFS) - NUM_MPEG2_REFS; in get_ref_pic_idx()
807 uint32_t max = MAX2(dec->frame_number, 1) - 1; in get_ref_pic_idx()
830 result.decoded_pic_idx = dec->frame_number; in get_mpeg2_msg()
870 result.decoded_pic_idx = dec->frame_number; in get_mpeg4_msg()
968 frame = ++dec->frame_number; in ruvd_begin_frame()
1062 dec->msg->status_report_feedback_number = dec->frame_number; in ruvd_end_frame()

12