MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / xcw_native_h264_encoder_encode_rgba

Function xcw_native_h264_encoder_encode_rgba

packages/server/native_stubs.c:570–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568void xcw_native_h264_encoder_destroy(void *handle) { (void)handle; }
569
570bool xcw_native_h264_encoder_encode_rgba(void *handle, const uint8_t *rgba,
571 uintptr_t length, uint32_t width,
572 uint32_t height,
573 uint64_t timestamp_us,
574 char **error_message) {
575 (void)handle;
576 (void)rgba;
577 (void)length;
578 (void)width;
579 (void)height;
580 (void)timestamp_us;
581 xcw_set_error(error_message,
582 "H.264 encoding is only available in the macOS native bridge.");
583 return false;
584}
585
586bool xcw_native_h264_encoder_encode_bgra(void *handle, const uint8_t *bgra,
587 uintptr_t length, uint32_t width,

Callers

nothing calls this directly

Calls 1

xcw_set_errorFunction · 0.85

Tested by

no test coverage detected