Home
last modified time | relevance | path

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

123

/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 …]
/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.cc33 if (video.frame_number() == 0) in PreDecodeFrameHook()
38 const unsigned int frame_number) { in DecompressedFrameHook() argument
41 total_frames_ = frame_number; in DecompressedFrameHook()
Ddecode_test_driver.cc55 if (video->frame_number() == 0) { in HandlePeekResult()
102 DecompressedFrameHook(*img, video->frame_number()); in RunLoop()
Dinvalid_file_test.cc73 << "Results don't match: frame number = " << video.frame_number() in HandleDecodeResult()
79 << "Results don't match: frame number = " << video.frame_number() in HandleDecodeResult()
Dtest_vector_test.cc61 const unsigned int frame_number) { in DecompressedFrameHook() argument
77 << "Md5 checksums don't match: frame number = " << frame_number; in DecompressedFrameHook()
Ddecode_perf_test.cc96 const unsigned frames = video.frame_number(); in TEST_P()
247 const unsigned decode_frames = decode_video.frame_number(); in TEST_P()
/external/libaom/libaom/test/
Dtest_vector_test.cc56 if (video.frame_number() == 0) decoder->Control(AV1D_SET_ROW_MT, row_mt_); in PreDecodeFrameHook()
60 const unsigned int frame_number) { in DecompressedFrameHook() argument
92 << "Md5 checksums don't match: frame number = " << frame_number; in DecompressedFrameHook()
Dinvalid_file_test.cc73 << "Results don't match: frame number = " << video.frame_number() in HandleDecodeResult()
79 << "Results don't match: frame number = " << video.frame_number() in HandleDecodeResult()
Ddecode_perf_test.cc79 const unsigned frames = video.frame_number(); in TEST_P()
230 const unsigned decode_frames = decode_video.frame_number(); in TEST_P()
/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/libaom/libaom/av1/encoder/
Dratectrl.c619 const unsigned int curr_frame = cpi->common.current_frame.frame_number; in calc_active_worst_quality_one_pass_vbr()
660 ambient_qp = (cm->current_frame.frame_number < 5) in calc_active_worst_quality_one_pass_cbr()
719 } else if (current_frame->frame_number > 0) { in rc_pick_q_and_bounds_one_pass_cbr()
752 if (current_frame->frame_number > 1) { in rc_pick_q_and_bounds_one_pass_cbr()
776 !(current_frame->frame_number == 0)) { in rc_pick_q_and_bounds_one_pass_cbr()
920 q_val * delta_rate[current_frame->frame_number % FIXED_GF_INTERVAL], in rc_pick_q_and_bounds_one_pass_vbr()
925 active_best_quality = (current_frame->frame_number > 1) in rc_pick_q_and_bounds_one_pass_vbr()
950 !(current_frame->frame_number == 0)) { in rc_pick_q_and_bounds_one_pass_vbr()
1516 (current_frame->frame_number == 0 || (frame_flags & FRAMEFLAGS_KEY) || in av1_rc_get_one_pass_vbr_params()
1520 current_frame->frame_number != 0 && rc->frames_to_key == 0; in av1_rc_get_one_pass_vbr_params()
[all …]
Dfirstpass.c590 if ((current_frame->frame_number > 1) && gld_yv12 != NULL) { in av1_first_pass()
762 fps.frame = current_frame->frame_number; in av1_first_pass()
814 ((current_frame->frame_number > 0) && in av1_first_pass()
836 if (current_frame->frame_number == 0 && in av1_first_pass()
848 (int)current_frame->frame_number); in av1_first_pass()
850 if (current_frame->frame_number == 0) in av1_first_pass()
859 ++current_frame->frame_number; in av1_first_pass()
/external/kernel-headers/original/uapi/linux/
Domap3isp.h77 __u32 frame_number; member
180 __u16 frame_number; member
193 __u16 frame_number; member
/external/libvpx/libvpx/vp8/common/
Dheader.h29 unsigned int frame_number; member
/external/libaom/libaom/av1/decoder/
Dinspection.c45 fd->frame_number = cm->current_frame.frame_number; in ifd_inspect()

123