Home
last modified time | relevance | path

Searched refs:stripe (Results 1 – 4 of 4) sorted by relevance

/device/google/cuttlefish_common/host/frontend/vnc_server/
Dframe_buffer_watcher.cpp62 cvd::vnc::Stripe FrameBufferWatcher::Rotated(Stripe stripe) { in Rotated() argument
63 if (stripe.orientation == ScreenOrientation::Landscape) { in Rotated()
66 auto w = stripe.width; in Rotated()
67 auto s = stripe.stride; in Rotated()
68 auto h = stripe.height; in Rotated()
69 const auto& raw = stripe.raw_data; in Rotated()
80 std::swap(stripe.x, stripe.y); in Rotated()
81 std::swap(stripe.width, stripe.height); in Rotated()
83 stripe.stride = stripe.width * BytesPerPixel(); in Rotated()
84 stripe.raw_data = std::move(rotated); in Rotated()
[all …]
Dframe_buffer_watcher.h44 static Stripe Rotated(Stripe stripe);
47 bool StripeIsDifferentFromPrevious(const Stripe& stripe) const
50 bool UpdateMostRecentSeqNumIfStripeIsNew(const Stripe& stripe)
53 bool UpdateStripeIfStripeIsNew(const std::shared_ptr<const Stripe>& stripe)
56 void CompressStripe(JpegCompressor* jpeg_compressor, Stripe* stripe);
Dvnc_client_connection.cpp242 const Stripe& stripe) { in AppendRawStripeHeader() argument
244 cvd::AppendToMessage(frame_buffer_update, std::uint16_t{stripe.x}, in AppendRawStripeHeader()
245 std::uint16_t{stripe.y}, std::uint16_t{stripe.width}, in AppendRawStripeHeader()
246 std::uint16_t{stripe.height}, kRawEncoding); in AppendRawStripeHeader()
277 const Stripe& stripe) const { in AppendRawStripe()
280 AppendRawStripeHeader(&fbu, stripe); in AppendRawStripe()
282 fbu.insert(fbu.end(), stripe.raw_data.begin(), stripe.raw_data.end()); in AppendRawStripe()
308 for (auto& stripe : stripes) { in MakeRawFrameBufferUpdate() local
309 AppendRawStripe(&fbu, *stripe); in MakeRawFrameBufferUpdate()
315 const Stripe& stripe) { in AppendJpegStripeHeader() argument
[all …]
Dvnc_client_connection.h84 const Stripe& stripe);
85 void AppendRawStripe(Message* frame_buffer_update, const Stripe& stripe) const
92 const Stripe& stripe);
94 const Stripe& stripe);