Imported Upstream version 6.1
[platform/upstream/ffmpeg.git] / libavcodec / mediacodec_surface.h
index 933dc2b..e2ac1c9 100644 (file)
 
 #include "libavcodec/avcodec.h"
 
-struct FFANativeWindow;
-typedef struct FFANativeWindow FFANativeWindow;
+typedef struct FFANativeWindow {
+    void *surface;
+    void *native_window;
+} FFANativeWindow;
 
-FFANativeWindow *ff_mediacodec_surface_ref(void *surface, void *log_ctx);
+FFANativeWindow *ff_mediacodec_surface_ref(void *surface, void *native_window, void *log_ctx);
 int ff_mediacodec_surface_unref(FFANativeWindow *window, void *log_ctx);
 
 #endif /* AVCODEC_MEDIACODEC_SURFACE_H */