MCPcopy Create free account
hub / github.com/Recordscript/recordscript / PixelBuffer

Class PixelBuffer

libs/scrap/src/common/android.rs:57–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57pub struct PixelBuffer<'a> {
58 data: &'a [u8],
59 width: usize,
60 height: usize,
61 stride: Vec<usize>,
62}
63
64impl<'a> PixelBuffer<'a> {
65 pub fn new(data: &'a [u8], width: usize, height: usize) -> Self {

Callers 1

frameMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected