Home
last modified time | relevance | path

Searched refs:PlaneType (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/webrtc/common_video/include/
Dvideo_frame_buffer.h22 enum PlaneType { enum
43 virtual const uint8_t* data(PlaneType type) const = 0;
47 virtual uint8_t* MutableData(PlaneType type);
50 virtual int stride(PlaneType type) const = 0;
72 const uint8_t* data(PlaneType type) const override;
75 uint8_t* MutableData(PlaneType type) override;
76 int stride(PlaneType type) const override;
102 const uint8_t* data(PlaneType type) const override;
103 int stride(PlaneType type) const override;
126 const uint8_t* data(PlaneType type) const override;
[all …]
/external/webrtc/webrtc/common_video/
Dvideo_frame_buffer.cc21 uint8_t* VideoFrameBuffer::MutableData(PlaneType type) { in MutableData()
63 const uint8_t* I420Buffer::data(PlaneType type) const { in data()
78 uint8_t* I420Buffer::MutableData(PlaneType type) { in MutableData()
84 int I420Buffer::stride(PlaneType type) const { in stride()
124 const uint8_t* NativeHandleBuffer::data(PlaneType type) const { in data()
129 int NativeHandleBuffer::stride(PlaneType type) const { in stride()
170 const uint8_t* WrappedI420Buffer::data(PlaneType type) const { in data()
184 int WrappedI420Buffer::stride(PlaneType type) const { in stride()
Di420_buffer_pool.cc29 const uint8_t* data(webrtc::PlaneType type) const override { in data()
32 uint8_t* MutableData(webrtc::PlaneType type) override { in MutableData()
38 int stride(webrtc::PlaneType type) const override { in stride()
Dvideo_frame.cc36 int ExpectedSize(int plane_stride, int image_height, PlaneType type) { in ExpectedSize()
174 uint8_t* VideoFrame::buffer(PlaneType type) { in buffer()
179 const uint8_t* VideoFrame::buffer(PlaneType type) const { in buffer()
183 int VideoFrame::allocated_size(PlaneType type) const { in allocated_size()
188 int VideoFrame::stride(PlaneType type) const { in stride()
Di420_video_frame_unittest.cc27 int ExpectedSize(int plane_stride, int image_height, PlaneType type);
/external/webrtc/webrtc/test/
Dframe_generator.cc203 int offset_y = (current_source_frame_->stride(PlaneType::kYPlane) * in CropSourceToScrolledImage()
206 int offset_u = (current_source_frame_->stride(PlaneType::kUPlane) * in CropSourceToScrolledImage()
209 int offset_v = (current_source_frame_->stride(PlaneType::kVPlane) * in CropSourceToScrolledImage()
214 &current_source_frame_->buffer(PlaneType::kYPlane)[offset_y], in CropSourceToScrolledImage()
215 &current_source_frame_->buffer(PlaneType::kUPlane)[offset_u], in CropSourceToScrolledImage()
216 &current_source_frame_->buffer(PlaneType::kVPlane)[offset_v], in CropSourceToScrolledImage()
218 current_source_frame_->stride(PlaneType::kYPlane), in CropSourceToScrolledImage()
219 current_source_frame_->stride(PlaneType::kUPlane), in CropSourceToScrolledImage()
220 current_source_frame_->stride(PlaneType::kVPlane)); in CropSourceToScrolledImage()
Dframe_generator_unittest.cc62 ASSERT_EQ(y_size, frame->allocated_size(PlaneType::kYPlane)); in CheckFrameAndMutate()
63 buffer = frame->buffer(PlaneType::kYPlane); in CheckFrameAndMutate()
66 ASSERT_EQ(uv_size, frame->allocated_size(PlaneType::kUPlane)); in CheckFrameAndMutate()
67 buffer = frame->buffer(PlaneType::kUPlane); in CheckFrameAndMutate()
70 ASSERT_EQ(uv_size, frame->allocated_size(PlaneType::kVPlane)); in CheckFrameAndMutate()
71 buffer = frame->buffer(PlaneType::kVPlane); in CheckFrameAndMutate()
/external/webrtc/webrtc/
Dvideo_frame.h89 uint8_t* buffer(PlaneType type);
91 const uint8_t* buffer(PlaneType type) const;
94 int allocated_size(PlaneType type) const;
97 int stride(PlaneType type) const;
/external/webrtc/webrtc/common_video/libyuv/
Dwebrtc_libyuv.cc113 PlaneType plane_type = static_cast<PlaneType>(planeNum); in PrintVideoFrame()
145 static_cast<PlaneType>(plane)); in ExtractBuffer()
149 plane_ptr += input_frame.stride(static_cast<PlaneType>(plane)); in ExtractBuffer()
Dlibyuv_unittest.cc47 PlaneType plane_type = static_cast<PlaneType>(plane_num); in PrintFrame()
67 PlaneType plane_type = static_cast<PlaneType>(plane_num); in CreateImage()
/external/webrtc/webrtc/modules/video_processing/test/
Dvideo_processing_unittest.cc383 webrtc::PlaneType plane_type = static_cast<webrtc::PlaneType>(plane);
/external/webrtc/webrtc/modules/video_capture/test/
Dvideo_capture_unittest.cc77 webrtc::PlaneType plane_type = static_cast<webrtc::PlaneType>(plane); in CompareFrames()
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dsimulcast_unittest.h237 PlaneType plane_type = static_cast<PlaneType>(plane_num); in CreateImage()