moonlight-stream / moonlight-ios

GameStream client for iOS/tvOS
GNU General Public License v3.0
990 stars 247 forks source link

how SampleBuffer convert to 32BGRA #592

Open SindenDev opened 5 months ago

SindenDev commented 5 months ago

int the https://github.com/moonlight-stream/moonlight-ios/blob/master/Limelight/Stream/VideoDecoderRenderer.m - (int)submitDecodeBuffer:(unsigned char *)data length:(int)length bufferType:(int)bufferType decodeUnit:(PDECODE_UNIT)

i want to get the image and use yolo to detect it, but i don't konw the way to do this. can some one help me?

Screenshot 2023-12-02 at 14 25 56