Android-cuttlefish cvd tool
Functions
cuttlefish::anonymous_namespace{screenshot_handler.cpp} Namespace Reference

Functions

Result< std::vector< uint8_t > > FrameToRgb (const std::shared_ptr< VideoFrameBuffer > &frame)
 
Result< void > PngScreenshot (const std::shared_ptr< VideoFrameBuffer > &frame, const std::string &screenshot_path)
 
Result< void > JpegScreenshot (const std::shared_ptr< VideoFrameBuffer > &frame, const std::string &screenshot_path)
 

Function Documentation

◆ FrameToRgb()

Result< std::vector< uint8_t > > cuttlefish::anonymous_namespace{screenshot_handler.cpp}::FrameToRgb ( const std::shared_ptr< VideoFrameBuffer > &  frame)

◆ JpegScreenshot()

Result< void > cuttlefish::anonymous_namespace{screenshot_handler.cpp}::JpegScreenshot ( const std::shared_ptr< VideoFrameBuffer > &  frame,
const std::string &  screenshot_path 
)

◆ PngScreenshot()

Result< void > cuttlefish::anonymous_namespace{screenshot_handler.cpp}::PngScreenshot ( const std::shared_ptr< VideoFrameBuffer > &  frame,
const std::string &  screenshot_path 
)