Home
last modified time | relevance | path

Searched refs:VideoType (Results 1 – 21 of 21) sorted by relevance

/external/webrtc/common_video/libyuv/
Dwebrtc_libyuv.cc23 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 …]
Dlibyuv_unittest.cc58 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/
Dsink_filter_ds.cc205 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 …]
Ddevice_info_ds.cc480 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/
Ddevice_info_impl.cc118 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()
Dvideo_capture_defines.h29 VideoType videoType;
36 videoType = VideoType::kUnknown; in VideoCaptureCapability()
Dvideo_capture_impl.cc87 _requestedCapability.videoType = VideoType::kI420; in VideoCaptureImpl()
129 if (frameInfo.videoType != VideoType::kMJPEG && in IncomingFrame()
/external/webrtc/common_video/libyuv/include/
Dwebrtc_libyuv.h30 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/
Ddevice_info_linux.cc266 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()
Dvideo_capture_linux.cc55 _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()
Dvideo_capture_linux.h56 VideoType _captureVideoType;
/external/webrtc/test/testsupport/
Dvideo_frame_writer.cc40 CalcBufferSize(VideoType::kI420, scaled->width(), scaled->height()); in ExtractI420BufferWithSize()
48 CalcBufferSize(VideoType::kI420, frame.width(), frame.height()); in ExtractI420BufferWithSize()
Djpeg_frame_writer.cc45 if (ConvertFromI420(input_frame, VideoType::kRGB24, 0, rgb_buf.get()) < 0) { in WriteFrame()
/external/webrtc/modules/video_capture/test/
Dvideo_capture_unittest.cc217 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/
Dvcm_capturer.cc53 capability_.videoType = VideoType::kI420; in Init()
Dframe_generator.cc159 frame_size_(CalcBufferSize(VideoType::kI420, in YuvFileGenerator()
/external/webrtc/test/gl/
Dgl_renderer.cc81 webrtc::ConvertFromI420(frame, VideoType::kBGRA, 0, buffer_); in OnFrame()
/external/webrtc/test/win/
Dd3d_renderer.cc191 ConvertFromI420(frame, VideoType::kARGB, 0, in OnFrame()
/external/webrtc/modules/video_coding/codecs/test/
Dvideoprocessor.cc101 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/
Dmultiplex_encoder_adapter.cc74 CalcBufferSize(VideoType::kI420, inst->width, inst->height); in InitEncode()
/external/webrtc/modules/video_coding/codecs/h264/
Dh264_encoder_impl.cc284 CalcBufferSize(VideoType::kI420, codec_.simulcastStream[idx].width, in InitEncode()