Home
last modified time | relevance | path

Searched refs:fdiff (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/modules/rtp_rtcp/source/
Drtp_dependency_descriptor_writer.cc147 for (int fdiff : descriptor_.frame_dependencies.frame_diffs) { in CalculateMatch() local
148 if (fdiff <= (1 << 4)) in CalculateMatch()
150 else if (fdiff <= (1 << 8)) in CalculateMatch()
269 for (int fdiff : current_template.frame_diffs) { in WriteTemplateFdiffs() local
270 RTC_DCHECK_GE(fdiff - 1, 0); in WriteTemplateFdiffs()
271 RTC_DCHECK_LT(fdiff - 1, 1 << 4); in WriteTemplateFdiffs()
272 WriteBits((1u << 4) | (fdiff - 1), 1 + 4); in WriteTemplateFdiffs()
361 for (int fdiff : descriptor_.frame_dependencies.frame_diffs) { in WriteFrameFdiffs() local
362 RTC_DCHECK_GT(fdiff, 0); in WriteFrameFdiffs()
363 RTC_DCHECK_LE(fdiff, 1 << 12); in WriteFrameFdiffs()
[all …]
Drtp_generic_frame_descriptor.cc87 bool RtpGenericFrameDescriptor::AddFrameDependencyDiff(uint16_t fdiff) { in AddFrameDependencyDiff() argument
91 if (fdiff == 0) in AddFrameDependencyDiff()
93 RTC_DCHECK_LT(fdiff, 1 << 14); in AddFrameDependencyDiff()
94 RTC_DCHECK_GT(fdiff, 0); in AddFrameDependencyDiff()
95 frame_deps_id_diffs_[num_frame_deps_] = fdiff; in AddFrameDependencyDiff()
Drtp_generic_frame_descriptor_extension.cc99 uint16_t fdiff = data[offset] >> 2; in Parse() local
104 fdiff |= (data[offset] << 6); in Parse()
107 if (!descriptor->AddFrameDependencyDiff(fdiff)) in Parse()
119 for (uint16_t fdiff : descriptor.FrameDependenciesDiffs()) { in ValueSize() local
120 size += (fdiff >= (1 << 6)) ? 2 : 1; in ValueSize()
Drtp_generic_frame_descriptor.h62 bool AddFrameDependencyDiff(uint16_t fdiff);
/external/brotli/research/
Ddraw_diff.cc112 FILE* fdiff = fopen(argv[3], "wb"); in main() local
113 DrawDiff(diff, image1, image2, h1, w1, fdiff); in main()
114 fclose(fdiff); in main()
/external/webrtc/video/
Drtp_video_stream_receiver2.cc396 for (int fdiff : dependency_descriptor.frame_dependencies.frame_diffs) { in ParseGenericDependenciesExtension() local
397 generic_descriptor_info.dependencies.push_back(frame_id - fdiff); in ParseGenericDependenciesExtension()
455 for (uint16_t fdiff : generic_frame_descriptor.FrameDependenciesDiffs()) { in ParseGenericDependenciesExtension() local
456 generic_descriptor_info.dependencies.push_back(frame_id - fdiff); in ParseGenericDependenciesExtension()
Drtp_video_stream_receiver.cc428 for (int fdiff : dependency_descriptor.frame_dependencies.frame_diffs) { in ParseGenericDependenciesExtension() local
429 generic_descriptor_info.dependencies.push_back(frame_id - fdiff); in ParseGenericDependenciesExtension()
487 for (uint16_t fdiff : generic_frame_descriptor.FrameDependenciesDiffs()) { in ParseGenericDependenciesExtension() local
488 generic_descriptor_info.dependencies.push_back(frame_id - fdiff); in ParseGenericDependenciesExtension()