Home
last modified time | relevance | path

Searched refs:PlaneType (Results 1 – 22 of 22) 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/libkmsxx/kms++/src/
Dplane.cpp52 PlaneType Plane::plane_type() const in plane_type()
57 return PlaneType::Overlay; in plane_type()
59 return PlaneType::Primary; in plane_type()
61 return PlaneType::Cursor; in plane_type()
66 return PlaneType::Overlay; in plane_type()
Dcrtc.cpp123 if (p->plane_type() != PlaneType::Primary) in get_primary_plane()
/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/libkmsxx/kms++util/src/
Dresourcemanager.cpp141 Plane* ResourceManager::reserve_plane(Crtc* crtc, PlaneType type, PixelFormat format) in reserve_plane()
182 if (plane->plane_type() == PlaneType::Cursor) in reserve_generic_plane()
200 return reserve_plane(crtc, PlaneType::Primary, format); in reserve_primary_plane()
205 return reserve_plane(crtc, PlaneType::Overlay, format); in reserve_overlay_plane()
/external/libkmsxx/kms++/inc/kms++/
Dplane.h8 enum class PlaneType enum
24 PlaneType plane_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/libkmsxx/py/pykms/
Dpykmsbase.cpp109 py::enum_<PlaneType>(m, "PlaneType") in init_pykmsbase()
110 .value("Overlay", PlaneType::Overlay) in init_pykmsbase()
111 .value("Primary", PlaneType::Primary) in init_pykmsbase()
112 .value("Cursor", PlaneType::Cursor) in init_pykmsbase()
Dpykmsutil.cpp29 ….def("reserve_plane", (Plane* (ResourceManager::*)(Crtc*, PlaneType, PixelFormat))&ResourceManager… in init_pykmstest()
/external/libkmsxx/py/tests/
Diact.py33 if p.plane_type == pykms.PlaneType.Overlay:
/external/libkmsxx/kms++util/inc/kms++util/
Dresourcemanager.h19 Plane* reserve_plane(Crtc* crtc, PlaneType type, PixelFormat format = PixelFormat::Undefined);
/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/libkmsxx/utils/
Dkmscapture.cpp364 if (p->plane_type() != PlaneType::Overlay) in main()
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dsimulcast_unittest.h237 PlaneType plane_type = static_cast<PlaneType>(plane_num); in CreateImage()