/external/webrtc/common_video/libyuv/ |
D | webrtc_libyuv.cc | 23 size_t CalcBufferSize(VideoType type, int width, int height) { in CalcBufferSize() 28 case VideoType::kI420: in CalcBufferSize() 29 case VideoType::kNV12: in CalcBufferSize() 30 case VideoType::kNV21: in CalcBufferSize() 31 case VideoType::kIYUV: in CalcBufferSize() 32 case VideoType::kYV12: { in CalcBufferSize() 38 case VideoType::kARGB4444: in CalcBufferSize() 39 case VideoType::kRGB565: in CalcBufferSize() 40 case VideoType::kARGB1555: in CalcBufferSize() 41 case VideoType::kYUY2: in CalcBufferSize() [all …]
|
D | libyuv_unittest.cc | 58 frame_length_(CalcBufferSize(VideoType::kI420, 352, 288)) {} in TestLibYuv() 104 EXPECT_EQ(0, ConvertFromI420(*orig_frame_, VideoType::kI420, 0, in TEST_F() 133 EXPECT_EQ(0, ConvertFromI420(*orig_frame_, VideoType::kRGB24, 0, in TEST_F() 142 ConvertVideoType(VideoType::kRGB24)); in TEST_F() 157 EXPECT_EQ(0, ConvertFromI420(*orig_frame_, VideoType::kUYVY, 0, in TEST_F() 166 ConvertVideoType(VideoType::kUYVY)); in TEST_F() 179 EXPECT_EQ(0, ConvertFromI420(*orig_frame_, VideoType::kYUY2, 0, in TEST_F() 188 ConvertVideoType(VideoType::kYUY2)); in TEST_F() 203 EXPECT_EQ(0, ConvertFromI420(*orig_frame_, VideoType::kRGB565, 0, in TEST_F() 212 ConvertVideoType(VideoType::kRGB565)); in TEST_F() [all …]
|
/external/webrtc/modules/video_capture/windows/ |
D | sink_filter_ds.cc | 205 capability->videoType = VideoType::kMJPEG; in TranslateMediaTypeToVideoCaptureCapability() 208 capability->videoType = VideoType::kI420; in TranslateMediaTypeToVideoCaptureCapability() 211 capability->videoType = VideoType::kYUY2; in TranslateMediaTypeToVideoCaptureCapability() 214 capability->videoType = VideoType::kUYVY; in TranslateMediaTypeToVideoCaptureCapability() 216 capability->videoType = VideoType::kUYVY; in TranslateMediaTypeToVideoCaptureCapability() 218 capability->videoType = VideoType::kRGB24; in TranslateMediaTypeToVideoCaptureCapability() 243 VideoType::kI420, VideoType::kYUY2, VideoType::kRGB24, in MediaTypesEnum() 244 VideoType::kUYVY, VideoType::kMJPEG}) { in MediaTypesEnum() 332 static void SetMediaInfoFromVideoType(VideoType video_type, in SetMediaInfoFromVideoType() 336 case VideoType::kI420: in SetMediaInfoFromVideoType() [all …]
|
D | device_info_ds.cc | 480 capability.videoType = VideoType::kI420; in CreateCapabilityMap() 482 capability.videoType = VideoType::kIYUV; in CreateCapabilityMap() 484 capability.videoType = VideoType::kRGB24; in CreateCapabilityMap() 486 capability.videoType = VideoType::kYUY2; in CreateCapabilityMap() 488 capability.videoType = VideoType::kRGB565; in CreateCapabilityMap() 490 capability.videoType = VideoType::kMJPEG; in CreateCapabilityMap() 497 VideoType::kYUY2; // MS DV filter seems to create this type in CreateCapabilityMap() 501 capability.videoType = VideoType::kUYVY; in CreateCapabilityMap() 508 capability.videoType = VideoType::kUYVY; in CreateCapabilityMap()
|
/external/webrtc/modules/video_capture/ |
D | device_info_impl.cc | 118 VideoType bestVideoType = VideoType::kUnknown; in GetBestMatchedCapability() 167 requested.videoType != VideoType::kUnknown && in GetBestMatchedCapability() 169 capability.videoType == VideoType::kI420 || in GetBestMatchedCapability() 170 capability.videoType == VideoType::kYUY2 || in GetBestMatchedCapability() 171 capability.videoType == VideoType::kYV12)) { in GetBestMatchedCapability()
|
D | video_capture_defines.h | 29 VideoType videoType; 36 videoType = VideoType::kUnknown; in VideoCaptureCapability()
|
D | video_capture_impl.cc | 87 _requestedCapability.videoType = VideoType::kI420; in VideoCaptureImpl() 129 if (frameInfo.videoType != VideoType::kMJPEG && in IncomingFrame()
|
/external/webrtc/common_video/libyuv/include/ |
D | webrtc_libyuv.h | 30 enum class VideoType { enum 59 size_t CalcBufferSize(VideoType type, int width, int height); 92 VideoType dst_video_type, 161 int ConvertVideoType(VideoType video_type);
|
/external/webrtc/modules/video_capture/linux/ |
D | device_info_linux.cc | 266 cap.videoType = VideoType::kYUY2; in FillCapabilities() 268 cap.videoType = VideoType::kI420; in FillCapabilities() 270 cap.videoType = VideoType::kMJPEG; in FillCapabilities() 272 cap.videoType = VideoType::kUYVY; in FillCapabilities() 277 if (cap.width >= 800 && cap.videoType != VideoType::kMJPEG) { in FillCapabilities()
|
D | video_capture_linux.cc | 55 _captureVideoType(VideoType::kI420), in VideoCaptureModuleV4L2() 184 _captureVideoType = VideoType::kYUY2; in StartCapture() 186 _captureVideoType = VideoType::kI420; in StartCapture() 188 _captureVideoType = VideoType::kUYVY; in StartCapture() 191 _captureVideoType = VideoType::kMJPEG; in StartCapture() 231 if (_currentWidth >= 800 && _captureVideoType != VideoType::kMJPEG) { in StartCapture()
|
D | video_capture_linux.h | 56 VideoType _captureVideoType;
|
/external/webrtc/test/testsupport/ |
D | video_frame_writer.cc | 40 CalcBufferSize(VideoType::kI420, scaled->width(), scaled->height()); in ExtractI420BufferWithSize() 48 CalcBufferSize(VideoType::kI420, frame.width(), frame.height()); in ExtractI420BufferWithSize()
|
D | jpeg_frame_writer.cc | 45 if (ConvertFromI420(input_frame, VideoType::kRGB24, 0, rgb_buf.get()) < 0) { in WriteFrame()
|
/external/webrtc/modules/video_capture/test/ |
D | video_capture_unittest.cc | 217 capability.videoType = webrtc::VideoType::kUnknown; in TEST_F() 318 capability1.videoType = webrtc::VideoType::kUnknown; in TEST_F() 334 capability2.videoType = webrtc::VideoType::kUnknown; in TEST_F()
|
/external/webrtc/test/ |
D | vcm_capturer.cc | 53 capability_.videoType = VideoType::kI420; in Init()
|
D | frame_generator.cc | 159 frame_size_(CalcBufferSize(VideoType::kI420, in YuvFileGenerator()
|
/external/webrtc/test/gl/ |
D | gl_renderer.cc | 81 webrtc::ConvertFromI420(frame, VideoType::kBGRA, 0, buffer_); in OnFrame()
|
/external/webrtc/test/win/ |
D | d3d_renderer.cc | 191 ConvertFromI420(frame, VideoType::kARGB, 0, in OnFrame()
|
/external/webrtc/modules/video_coding/codecs/test/ |
D | videoprocessor.cc | 101 CalcBufferSize(VideoType::kI420, scaled->width(), scaled->height()); in ExtractI420BufferWithSize() 109 CalcBufferSize(VideoType::kI420, image.width(), image.height()); in ExtractI420BufferWithSize()
|
/external/webrtc/modules/video_coding/codecs/multiplex/ |
D | multiplex_encoder_adapter.cc | 74 CalcBufferSize(VideoType::kI420, inst->width, inst->height); in InitEncode()
|
/external/webrtc/modules/video_coding/codecs/h264/ |
D | h264_encoder_impl.cc | 284 CalcBufferSize(VideoType::kI420, codec_.simulcastStream[idx].width, in InitEncode()
|