Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp

Issue 2606983002: Media Capture Depth Stream Extensions API: focal length and depth range. (Closed)
Patch Set: Added to MediaTrackSupportedConstraints and MediaTrackConstraintSet. Thanks mcasas@. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 facingMode("facingMode"), 350 facingMode("facingMode"),
351 volume("volume"), 351 volume("volume"),
352 sampleRate("sampleRate"), 352 sampleRate("sampleRate"),
353 sampleSize("sampleSize"), 353 sampleSize("sampleSize"),
354 echoCancellation("echoCancellation"), 354 echoCancellation("echoCancellation"),
355 latency("latency"), 355 latency("latency"),
356 channelCount("channelCount"), 356 channelCount("channelCount"),
357 deviceId("deviceId"), 357 deviceId("deviceId"),
358 disableLocalEcho("disableLocalEcho"), 358 disableLocalEcho("disableLocalEcho"),
359 groupId("groupId"), 359 groupId("groupId"),
360 depthNear("depthNear"),
361 depthFar("depthFar"),
362 focalLengthX("focalLengthX"),
363 focalLengthY("focalLengthY"),
360 mediaStreamSource("mediaStreamSource"), 364 mediaStreamSource("mediaStreamSource"),
361 renderToAssociatedSink("chromeRenderToAssociatedSink"), 365 renderToAssociatedSink("chromeRenderToAssociatedSink"),
362 hotwordEnabled("hotwordEnabled"), 366 hotwordEnabled("hotwordEnabled"),
363 googEchoCancellation("googEchoCancellation"), 367 googEchoCancellation("googEchoCancellation"),
364 googExperimentalEchoCancellation("googExperimentalEchoCancellation"), 368 googExperimentalEchoCancellation("googExperimentalEchoCancellation"),
365 googAutoGainControl("googAutoGainControl"), 369 googAutoGainControl("googAutoGainControl"),
366 googExperimentalAutoGainControl("googExperimentalAutoGainControl"), 370 googExperimentalAutoGainControl("googExperimentalAutoGainControl"),
367 googNoiseSuppression("googNoiseSuppression"), 371 googNoiseSuppression("googNoiseSuppression"),
368 googHighpassFilter("googHighpassFilter"), 372 googHighpassFilter("googHighpassFilter"),
369 googTypingNoiseDetection("googTypingNoiseDetection"), 373 googTypingNoiseDetection("googTypingNoiseDetection"),
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 &frameRate, 410 &frameRate,
407 &facingMode, 411 &facingMode,
408 &volume, 412 &volume,
409 &sampleRate, 413 &sampleRate,
410 &sampleSize, 414 &sampleSize,
411 &echoCancellation, 415 &echoCancellation,
412 &latency, 416 &latency,
413 &channelCount, 417 &channelCount,
414 &deviceId, 418 &deviceId,
415 &groupId, 419 &groupId,
420 &depthNear,
421 &depthFar,
422 &focalLengthX,
423 &focalLengthY,
416 &mediaStreamSource, 424 &mediaStreamSource,
417 &disableLocalEcho, 425 &disableLocalEcho,
418 &renderToAssociatedSink, 426 &renderToAssociatedSink,
419 &hotwordEnabled, 427 &hotwordEnabled,
420 &googEchoCancellation, 428 &googEchoCancellation,
421 &googExperimentalEchoCancellation, 429 &googExperimentalEchoCancellation,
422 &googAutoGainControl, 430 &googAutoGainControl,
423 &googExperimentalAutoGainControl, 431 &googExperimentalAutoGainControl,
424 &googNoiseSuppression, 432 &googNoiseSuppression,
425 &googHighpassFilter, 433 &googHighpassFilter,
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 return m_private->advanced(); 546 return m_private->advanced();
539 } 547 }
540 548
541 const WebString WebMediaConstraints::toString() const { 549 const WebString WebMediaConstraints::toString() const {
542 if (isNull()) 550 if (isNull())
543 return WebString(""); 551 return WebString("");
544 return m_private->toString(); 552 return m_private->toString();
545 } 553 }
546 554
547 } // namespace blink 555 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698