You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
impement android.media.MediaCodec using libavcodec
The current implementation requires a VA-API driver and a Wayland compositor with YUV-buffer support. GNOME supports YUV-buffers since the recent version 45 release
This commit is contained in:
@@ -140,4 +140,8 @@ int __android_log_buf_write(int bufID, int prio, const char *tag, const char *te
|
||||
/* defined in util.c */
|
||||
int android_log_printf(android_LogPriority prio, const char *tag, const char *fmt, ...);
|
||||
|
||||
void *get_nio_buffer(JNIEnv *env, jobject buffer, jarray *array_ref, jbyte **array);
|
||||
void release_nio_buffer(JNIEnv *env, jarray array_ref, jbyte *array);
|
||||
int get_nio_buffer_size(JNIEnv *env, jobject buffer);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user