| 584 | } |
| 585 | |
| 586 | bool xcw_native_h264_encoder_encode_bgra(void *handle, const uint8_t *bgra, |
| 587 | uintptr_t length, uint32_t width, |
| 588 | uint32_t height, |
| 589 | uint64_t timestamp_us, |
| 590 | char **error_message) { |
| 591 | (void)handle; |
| 592 | (void)bgra; |
| 593 | (void)length; |
| 594 | (void)width; |
| 595 | (void)height; |
| 596 | (void)timestamp_us; |
| 597 | xcw_set_error(error_message, |
| 598 | "H.264 encoding is only available in the macOS native bridge."); |
| 599 | return false; |
| 600 | } |
| 601 | |
| 602 | void xcw_native_h264_encoder_request_keyframe(void *handle) { (void)handle; } |
| 603 |
no test coverage detected