Home
last modified time | relevance | path

Searched refs:buffer_ (Results 1 – 9 of 9) sorted by relevance

/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dgralloc_utils.cpp362 gralloc_(gralloc), buffer_(buffer) {} in GrallocBuffer()
372 buffer_ = rhs.buffer_; in operator =()
374 rhs.buffer_ = nullptr; in operator =()
379 if (gralloc_ && buffer_) { in Release()
380 gralloc_->Release(buffer_); in Release()
382 buffer_ = nullptr; in Release()
387 if (gralloc_ && buffer_) { in Lock()
388 return gralloc_->Lock(buffer_); in Lock()
394 if (gralloc_ && buffer_) { in LockYCbCr()
395 return gralloc_->LockYCbCr(buffer_); in LockYCbCr()
[all …]
Dgralloc_utils.h76 buffer_handle_t buffer_ = nullptr; variable
/device/google/cuttlefish/host/frontend/webrtc/
Dconnection_observer.cpp52 buffer_.reserve(6); // 6 is usually enough in InputEventBufferImpl()
55 buffer_.push_back({.type = type, .code = code, .value = value}); in AddEvent()
57 T *data() { return buffer_.data(); } in data()
58 const void *data() const override { return buffer_.data(); } in data()
59 std::size_t size() const override { return buffer_.size() * sizeof(T); } in size()
62 std::vector<T> buffer_; member
/device/google/cuttlefish/host/frontend/vnc_server/
Djpeg_compressor.cpp52 auto* compression_buffer = buffer_.get(); in Compress()
73 if (buffer_.get() != compression_buffer) { in UpdateBuffer()
75 buffer_.reset(compression_buffer); in UpdateBuffer()
Djpeg_compressor.h47 std::unique_ptr<std::uint8_t, Freer> buffer_; variable
/device/google/cuttlefish/host/frontend/webrtc/lib/
Dws_connection.cpp53 : buffer_(LWS_PRE + len), is_binary_(binary) { in WsBuffer()
54 memcpy(&buffer_[LWS_PRE], data, len); in WsBuffer()
57 uint8_t* data() { return &buffer_[LWS_PRE]; } in data()
59 size_t size() const { return buffer_.size() - LWS_PRE; } in size()
62 std::vector<uint8_t> buffer_; member
/device/google/cuttlefish/host/libs/screen_connector/
Dsocket_based_screen_connector.h45 std::vector<std::uint8_t> buffer_ = variable
Dsocket_based_screen_connector.cpp50 return &buffer_[buffer_idx * ScreenSizeInBytes()]; in GetBuffer()
/device/generic/opengl-transport/host/libs/virglrenderer/
DRenderControl.cpp704 static uint32_t rcCreateClientImage(void* ctx_, uint32_t context_, EGLenum target, GLuint buffer_) { in rcCreateClientImage() argument
713 EGLClientBuffer buffer = reinterpret_cast<EGLClientBuffer>(buffer_); in rcCreateClientImage()