/external/webrtc/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/webrtc/talk/media/base/ |
videocapturer_unittest.cc | 99 EXPECT_EQ(cricket::CS_RUNNING, capturer_.Start(cricket::VideoFormat( 102 cricket::VideoFormat::FpsToInterval(30), 116 EXPECT_EQ(cricket::CS_RUNNING, capturer_.Start(cricket::VideoFormat( 119 cricket::VideoFormat::FpsToInterval(30), 124 EXPECT_TRUE(capturer_.Restart(cricket::VideoFormat( 127 cricket::VideoFormat::FpsToInterval(30), 139 EXPECT_TRUE(capturer_.Restart(cricket::VideoFormat( 142 cricket::VideoFormat::FpsToInterval(30), 149 cricket::VideoFormat format(640, 480, 150 cricket::VideoFormat::FpsToInterval(30) [all...] |
videocapturer.h | 82 // of VideoFormat. Once the first frame is captured, the width, height, 145 const std::vector<VideoFormat>* GetSupportedFormats() const; 161 virtual bool GetBestCaptureFormat(const VideoFormat& desired, 162 VideoFormat* best_format); 167 bool StartCapturing(const VideoFormat& capture_format); 180 virtual CaptureState Start(const VideoFormat& capture_format) = 0; 192 const VideoFormat* GetCaptureFormat() const { 204 virtual bool Restart(const VideoFormat& capture_format); 233 void ConstrainSupportedFormats(const VideoFormat& max_format); 287 VideoFormat* last_captured_frame_format) [all...] |
fakevideocapturer.h | 58 std::vector<cricket::VideoFormat> formats; 59 formats.push_back(cricket::VideoFormat(1280, 720, 60 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); 61 formats.push_back(cricket::VideoFormat(640, 480, 62 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); 63 formats.push_back(cricket::VideoFormat(320, 240, 64 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); 65 formats.push_back(cricket::VideoFormat(160, 120, 66 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); 67 formats.push_back(cricket::VideoFormat(1280, 720 [all...] |
videoadapter.h | 49 virtual void SetInputFormat(const VideoFormat& format); 50 void SetOutputFormat(const VideoFormat& format); 55 const VideoFormat& input_format(); 59 const VideoFormat& output_format(); 63 VideoFormat AdaptFrameResolution(int in_width, int in_height); 81 VideoFormat input_format_; 82 VideoFormat output_format_; 116 virtual void SetInputFormat(const VideoFormat& format); 155 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; 69 VideoFormat video_format; 100 const VideoFormat& desired_format) { 113 bool VideoCapturerState::RemoveCaptureResolution(const VideoFormat& format) { 128 VideoFormat VideoCapturerState::GetHighestFormat( 131 VideoFormat highest_format(0, 0, VideoFormat::FpsToInterval(1), FOURCC_ANY); 133 VideoFormat default_format(kDefaultCaptureFormat) [all...] |
capturemanager.h | 69 const VideoFormat& desired_format); 71 const VideoFormat& format); 78 const VideoFormat& previous_format, 79 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 | 60 capture_format_.interval = VideoFormat::FpsToInterval(50); 99 const VideoFormat adapted_format = 130 VideoFormat adapted_format_; 155 VideoFormat capture_format_; 200 VideoFormat format = capturer_->GetSupportedFormats()->at(0); 218 VideoFormat request_format = capture_format_; 235 VideoFormat request_format = capture_format_; 254 VideoFormat request_format = capture_format_; 277 VideoFormat adapted_format = adapter_->AdaptFrameResolution( 293 const VideoFormat adapted_format = adapter_->AdaptFrameResolution [all...] |
videocapturer.cc | 139 const std::vector<VideoFormat>* VideoCapturer::GetSupportedFormats() const { 143 bool VideoCapturer::StartCapturing(const VideoFormat& capture_format) { 184 rtc::scoped_ptr<VideoFormat> capture_format_when_paused( 185 capture_format_ ? new VideoFormat(*capture_format_) : NULL); 213 bool VideoCapturer::Restart(const VideoFormat& capture_format) { 257 const std::vector<VideoFormat>& formats) { 262 bool VideoCapturer::GetBestCaptureFormat(const VideoFormat& format, 263 VideoFormat* best_format) { 266 const std::vector<VideoFormat>* supported_formats = GetSupportedFormats(); 273 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])); 67 bool WasRenderedResolution(cricket::VideoFormat format) { 87 cricket::VideoFormat format_vga_; 88 cricket::VideoFormat format_qvga_; 100 cricket::VideoFormat()));
|
/cts/tests/tests/media/src/android/media/cts/ |
DecodeAccuracyTest.java | 39 new VideoFormat(H264_VIDEO_FILE_NAME)); 45 getLargerHeightVideoFormat(new VideoFormat(H264_VIDEO_FILE_NAME))); 51 getLargerWidthVideoFormat(new VideoFormat(H264_VIDEO_FILE_NAME))); 57 new VideoFormat(H264_VIDEO_FILE_NAME)); 63 getLargerHeightVideoFormat(new VideoFormat(H264_VIDEO_FILE_NAME))); 69 getLargerWidthVideoFormat(new VideoFormat(H264_VIDEO_FILE_NAME))); 76 new VideoFormat(VP9_VIDEO_FILE_NAME)); 82 getLargerHeightVideoFormat(new VideoFormat(VP9_VIDEO_FILE_NAME))); 88 getLargerWidthVideoFormat(new VideoFormat(VP9_VIDEO_FILE_NAME))); 94 new VideoFormat(VP9_VIDEO_FILE_NAME)) [all...] |
/external/webrtc/talk/app/webrtc/ |
remotevideocapturer.h | 51 const cricket::VideoFormat& capture_format) override; 55 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;
|
androidvideocapturer.h | 81 bool GetBestCaptureFormat(const cricket::VideoFormat& desired, 82 cricket::VideoFormat* best_format) override; 89 const cricket::VideoFormat& capture_format) override;
|
videosource.cc | 96 cricket::VideoFormat* format_upper_limit) { 109 cricket::VideoFormat* format_out) { 113 cricket::VideoFormat upper_limit(-1, -1, 0, 0); 129 const cricket::VideoFormat& format_in, 131 cricket::VideoFormat* format_out) { 149 return (value <= cricket::VideoFormat::IntervalToFps(format_in.interval)); 161 if (value <= cricket::VideoFormat::IntervalToFps(format_in.interval)) 162 format_out->interval = cricket::VideoFormat::FpsToInterval(value); 194 std::vector<cricket::VideoFormat>* formats) { 195 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...] |
androidvideocapturer.cc | 146 std::vector<cricket::VideoFormat> formats; 152 cricket::VideoFormat format( 155 cricket::VideoFormat::FpsToInterval(json_value["framerate"].asInt()), 169 const cricket::VideoFormat& capture_format) { 172 const int fps = cricket::VideoFormat::IntervalToFps(capture_format.interval); 236 const cricket::VideoFormat& current = video_adapter()->output_format(); 237 cricket::VideoFormat format( 238 width, height, cricket::VideoFormat::FpsToInterval(fps), current.fourcc); 243 const cricket::VideoFormat& desired, 244 cricket::VideoFormat* best_format) [all...] |
/external/opencv3/modules/videoio/test/ |
test_precomp.hpp | 77 struct VideoFormat 79 VideoFormat() { fourcc = -1; } 80 VideoFormat(const string& _ext, int _fourcc) : ext(_ext), fourcc(_fourcc) {} 87 extern const VideoFormat g_specific_fmt_list[];
|
test_video_io.cpp | 58 const VideoFormat g_specific_fmt_list[] = 60 /*VideoFormat("wmv", CV_FOURCC_MACRO('d', 'v', '2', '5')), 61 VideoFormat("wmv", CV_FOURCC_MACRO('d', 'v', '5', '0')), 62 VideoFormat("wmv", CV_FOURCC_MACRO('d', 'v', 'c', ' ')), 63 VideoFormat("wmv", CV_FOURCC_MACRO('d', 'v', 'h', '1')), 64 VideoFormat("wmv", CV_FOURCC_MACRO('d', 'v', 'h', 'd')), 65 VideoFormat("wmv", CV_FOURCC_MACRO('d', 'v', 's', 'd')), 66 VideoFormat("wmv", CV_FOURCC_MACRO('d', 'v', 's', 'l')), 67 VideoFormat("wmv", CV_FOURCC_MACRO('H', '2', '6', '3')), 68 VideoFormat("wmv", CV_FOURCC_MACRO('M', '4', 'S', '2')) [all...] |
/external/webrtc/talk/media/webrtc/ |
webrtcvideocapturer.h | 70 virtual bool GetBestCaptureFormat(const VideoFormat& desired, 71 VideoFormat* best_format); 72 virtual CaptureState Start(const VideoFormat& capture_format);
|
/external/webrtc/talk/session/media/ |
channelmanager.h | 140 std::vector<cricket::VideoFormat> GetSupportedFormats( 148 const VideoFormat& video_format); 153 const VideoFormat& video_format); 155 const VideoFormat& previous_format, 156 const VideoFormat& desired_format, 214 std::vector<cricket::VideoFormat>* out_formats) const;
|
/external/webrtc/talk/app/webrtc/objc/ |
avfoundationvideocapturer.h | 46 cricket::CaptureState Start(const cricket::VideoFormat& format) override;
|
/external/webrtc/talk/media/devices/ |
yuvframescapturer.cc | 128 VideoFormat format(width_, height_, VideoFormat::kMinimumInterval, 130 std::vector<VideoFormat> supported; 135 CaptureState YuvFramesCapturer::Start(const VideoFormat& capture_format) {
|