/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/test/ |
fakeperiodicvideocapturer.h | 42 std::vector<cricket::VideoFormat> formats; 43 formats.push_back(cricket::VideoFormat(1280, 720, 44 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); 45 formats.push_back(cricket::VideoFormat(640, 480, 46 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); 47 formats.push_back(cricket::VideoFormat(640, 360, 48 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); 49 formats.push_back(cricket::VideoFormat(320, 240, 50 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); 51 formats.push_back(cricket::VideoFormat(160, 120 [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
videocapturer_unittest.cc | 120 EXPECT_EQ(cricket::CS_RUNNING, capturer_.Start(cricket::VideoFormat( 123 cricket::VideoFormat::FpsToInterval(30), 137 EXPECT_EQ(cricket::CS_RUNNING, capturer_.Start(cricket::VideoFormat( 140 cricket::VideoFormat::FpsToInterval(30), 145 EXPECT_TRUE(capturer_.Restart(cricket::VideoFormat( 148 cricket::VideoFormat::FpsToInterval(30), 160 EXPECT_TRUE(capturer_.Restart(cricket::VideoFormat( 163 cricket::VideoFormat::FpsToInterval(30), 170 cricket::VideoFormat format(640, 480, 171 cricket::VideoFormat::FpsToInterval(30) [all...] |
videocapturer.h | 81 // of VideoFormat. Once the first frame is captured, the width, height, 146 const std::vector<VideoFormat>* GetSupportedFormats() const; 162 virtual bool GetBestCaptureFormat(const VideoFormat& desired, 163 VideoFormat* best_format); 168 bool StartCapturing(const VideoFormat& capture_format); 181 virtual CaptureState Start(const VideoFormat& capture_format) = 0; 193 const VideoFormat* GetCaptureFormat() const { 205 virtual bool Restart(const VideoFormat& capture_format); 235 void ConstrainSupportedFormats(const VideoFormat& max_format); 304 VideoFormat* last_captured_frame_format) [all...] |
fakevideocapturer.h | 57 std::vector<cricket::VideoFormat> formats; 58 formats.push_back(cricket::VideoFormat(1280, 720, 59 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); 60 formats.push_back(cricket::VideoFormat(640, 480, 61 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); 62 formats.push_back(cricket::VideoFormat(320, 240, 63 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); 64 formats.push_back(cricket::VideoFormat(160, 120, 65 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); 72 void ResetSupportedFormats(const std::vector<cricket::VideoFormat>& formats) [all...] |
videoadapter.h | 47 virtual void SetInputFormat(const VideoFormat& format); 48 void SetOutputFormat(const VideoFormat& format); 53 const VideoFormat& input_format(); 56 const VideoFormat& output_format(); 89 VideoFormat input_format_; 90 VideoFormat output_format_; 127 virtual void SetInputFormat(const VideoFormat& format); 166 void OnOutputFormatRequest(const VideoFormat& format);
|
capturemanager.cc | 47 void AddCaptureResolution(const VideoFormat& desired_format); 48 bool RemoveCaptureResolution(const VideoFormat& format); 49 VideoFormat GetHighestFormat(VideoCapturer* video_capturer) const; 60 VideoFormat video_format; 89 const VideoFormat& desired_format) { 101 bool VideoCapturerState::RemoveCaptureResolution(const VideoFormat& format) { 115 VideoFormat VideoCapturerState::GetHighestFormat( 117 VideoFormat highest_format(0, 0, VideoFormat::FpsToInterval(1), FOURCC_ANY); 119 VideoFormat default_format(kDefaultCaptureFormat) [all...] |
capturemanager.h | 71 const VideoFormat& desired_format); 73 const VideoFormat& format); 80 const VideoFormat& previous_format, 81 const VideoFormat& desired_format,
|
videocommon_unittest.cc | 57 EXPECT_EQ(VideoFormat::kMinimumInterval, VideoFormat::FpsToInterval(0)); 58 EXPECT_EQ(rtc::kNumNanosecsPerSec / 20, VideoFormat::FpsToInterval(20)); 59 EXPECT_EQ(20, VideoFormat::IntervalToFps(rtc::kNumNanosecsPerSec / 20)); 60 EXPECT_EQ(0, VideoFormat::IntervalToFps(0)); 65 VideoFormat format; 73 VideoFormat format; 79 format.interval = VideoFormat::FpsToInterval(20); 85 format.interval = VideoFormat::FpsToInterval(20); 91 VideoFormat format(640, 480, VideoFormat::FpsToInterval(20), FOURCC_I420) [all...] |
videoadapter_unittest.cc | 63 capture_format_.interval = VideoFormat::FpsToInterval(50); 176 VideoFormat capture_format_; 221 VideoFormat format = capturer_->GetSupportedFormats()->at(0); 239 VideoFormat request_format = capture_format_; 256 VideoFormat request_format = capture_format_; 275 VideoFormat request_format = capture_format_; 298 VideoFormat request_format = capture_format_; 314 VideoFormat request_format = capture_format_; 328 VideoFormat request_format = capture_format_; 344 VideoFormat request_format = capture_format_ [all...] |
videocapturer.cc | 143 const std::vector<VideoFormat>* VideoCapturer::GetSupportedFormats() const { 147 bool VideoCapturer::StartCapturing(const VideoFormat& capture_format) { 188 rtc::scoped_ptr<VideoFormat> capture_format_when_paused( 189 capture_format_ ? new VideoFormat(*capture_format_) : NULL); 217 bool VideoCapturer::Restart(const VideoFormat& capture_format) { 251 const std::vector<VideoFormat>& formats) { 256 bool VideoCapturer::GetBestCaptureFormat(const VideoFormat& format, 257 VideoFormat* best_format) { 260 const std::vector<VideoFormat>* supported_formats = GetSupportedFormats(); 267 std::vector<VideoFormat>::const_iterator best = supported_formats->end() [all...] |
capturemanager_unittest.cc | 40 {640, 480, cricket::VideoFormat::FpsToInterval(kFps), cricket::FOURCC_I420}, 41 {320, 240, cricket::VideoFormat::FpsToInterval(kFps), cricket::FOURCC_I420} 60 std::vector<cricket::VideoFormat> formats; 62 formats.push_back(cricket::VideoFormat(kCameraFormats[i])); 68 bool WasRenderedResolution(cricket::VideoFormat format) { 89 cricket::VideoFormat format_vga_; 90 cricket::VideoFormat format_qvga_; 104 cricket::VideoFormat()));
|
videocommon.h | 26 // Common definition for video, including fourcc and VideoFormat. 176 // Definition of VideoFormat. 179 // VideoFormat with Plain Old Data for global variables. 187 struct VideoFormat : VideoFormatPod { 191 VideoFormat() { 195 VideoFormat(int w, int h, int64 interval_ns, uint32 cc) { 199 explicit VideoFormat(const VideoFormatPod& format) { 229 bool operator==(const VideoFormat& format) const { 234 bool operator!=(const VideoFormat& format) const { 238 bool operator<(const VideoFormat& format) const [all...] |
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
remotevideocapturer.h | 51 const cricket::VideoFormat& capture_format) OVERRIDE; 55 virtual bool GetBestCaptureFormat(const cricket::VideoFormat& desired, 56 cricket::VideoFormat* best_format) OVERRIDE;
|
remotevideocapturer.cc | 40 const cricket::VideoFormat& capture_format) { 76 const cricket::VideoFormat& desired, cricket::VideoFormat* best_format) {
|
remotevideocapturer_unittest.cc | 36 using cricket::VideoFormat; 92 capturer_.StartCapturing(VideoFormat(kTestFormat))); 94 EXPECT_EQ(VideoFormat(kTestFormat), 114 VideoFormat desired = VideoFormat(kTestFormat); 117 VideoFormat expected_format = VideoFormat(kTestFormat); 119 VideoFormat best_format;
|
videosource.cc | 95 cricket::VideoFormat* format_upper_limit) { 108 cricket::VideoFormat* format_out) { 112 cricket::VideoFormat upper_limit(-1, -1, 0, 0); 128 const cricket::VideoFormat& format_in, 130 cricket::VideoFormat* format_out) { 148 return (value <= cricket::VideoFormat::IntervalToFps(format_in.interval)); 160 if (value <= cricket::VideoFormat::IntervalToFps(format_in.interval)) { 161 format_out->interval = cricket::VideoFormat::FpsToInterval(value); 199 std::vector<cricket::VideoFormat>* formats) { 200 std::vector<cricket::VideoFormat>::iterator format_it [all...] |
videosource_unittest.cc | 63 std::vector<cricket::VideoFormat> formats; 64 formats.push_back(cricket::VideoFormat(1280, 720, 65 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); 66 formats.push_back(cricket::VideoFormat(640, 480, 67 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); 68 formats.push_back(cricket::VideoFormat(640, 400, 69 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); 70 formats.push_back(cricket::VideoFormat(320, 240, 71 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); 72 formats.push_back(cricket::VideoFormat(352, 288 [all...] |
/external/chromium_org/content/renderer/media/webrtc/ |
webrtc_video_capturer_adapter.h | 43 const cricket::VideoFormat& capture_format) OVERRIDE; 47 virtual bool GetBestCaptureFormat(const cricket::VideoFormat& desired, 48 cricket::VideoFormat* best_format) OVERRIDE;
|
/external/chromium_org/remoting/host/ |
cast_video_capturer_adapter.h | 48 virtual bool GetBestCaptureFormat(const cricket::VideoFormat& desired, 49 cricket::VideoFormat* best_format) OVERRIDE; 51 const cricket::VideoFormat& capture_format) OVERRIDE;
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
webrtcvideocapturer.h | 67 virtual bool GetBestCaptureFormat(const VideoFormat& desired, 68 VideoFormat* best_format); 69 virtual CaptureState Start(const VideoFormat& capture_format);
|
webrtcvideocapturer_unittest.cc | 37 using cricket::VideoFormat; 41 const VideoFormat kDefaultVideoFormat = 42 VideoFormat(640, 400, VideoFormat::FpsToInterval(30), cricket::FOURCC_ANY); 96 cricket::VideoFormat format( 118 VideoFormat format; 141 cricket::VideoFormat format;
|
webrtcvideocapturer.cc | 80 VideoFormat* format) { 95 format->interval = VideoFormat::FpsToInterval(cap.maxFPS); 99 static bool FormatToCapability(const VideoFormat& format, 114 cap->maxFPS = VideoFormat::IntervalToFps(format.interval); 181 std::vector<VideoFormat> supported; 186 VideoFormat format; 232 bool WebRtcVideoCapturer::GetBestCaptureFormat(const VideoFormat& desired, 233 VideoFormat* best_format) { 252 CaptureState WebRtcVideoCapturer::Start(const VideoFormat& capture_format) {
|
/external/chromium_org/third_party/libjingle/source/talk/media/devices/ |
yuvframescapturer.cc | 101 VideoFormat format(width_, height_, VideoFormat::kMinimumInterval, 103 std::vector<VideoFormat> supported; 108 CaptureState YuvFramesCapturer::Start(const VideoFormat& capture_format) {
|
devicemanager.h | 93 const VideoFormat& max_format) = 0; 160 const VideoFormat& max_format); 183 bool IsInWhitelist(const std::string& key, VideoFormat* video_format) const; 185 VideoFormat* video_format) const; 204 std::map<std::string, VideoFormat> max_formats_;
|
/external/chromium_org/media/cdm/ppapi/external_clear_key/ |
ffmpeg_cdm_video_decoder.h | 37 static bool IsValidOutputConfig(cdm::VideoFormat format,
|