-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate class MediaCodecBridge$GetOutputFormatResult to jni_generator (…
…#4759) This PR demonstrates jni_generator/jni_zero migration in cobalt/media. This PR primarily migrates the subclass GetOutputFormatResult in class MediaCodecBridge. I also have to migrate every native function in class MediaCodecBridge in this same PR because the old native implementations conflict with jni_generator; The jni header generated by jni_generator cobalt/android/jni_headers/MediaCodecBridge_jni.h would generate duplicated native function signatures as the old native implementations. Local tests: Call Native functions in Java: https://paste.googleplex.com/6062051978641408 Call Java functions in Native: https://paste.googleplex.com/6124614082887680 b/390481510
- Loading branch information
1 parent
9968b06
commit 7299dad
Showing
4 changed files
with
104 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.