]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vda_internal.h
lavc: Drop deprecated way of setting codec dimensions
[ffmpeg] / libavcodec / vda_internal.h
index f5d24c21d72109da60432aa090b8dfbec571cf95..9d0ed807bf3455f746f42715bbdcbdbcbb0788f9 100644 (file)
@@ -1,8 +1,4 @@
 /*
- * VDA hardware acceleration
- *
- * copyright (c) 2011 Sebastien Zwickert
- *
  * This file is part of Libav.
  *
  * Libav is free software; you can redistribute it and/or
 
 #include "vda.h"
 
-/**
- * @addtogroup VDA_Decoding
- *
- * @{
- */
-
-#if FF_API_VDA_ASYNC
-/** Send frame data to the hardware decoder. */
-int ff_vda_decoder_decode(struct vda_context *vda_ctx,
-                          uint8_t *bitstream,
-                          int bitstream_size,
-                          int64_t frame_pts);
-#endif
-
-int ff_vda_sync_decode(struct vda_context *vda_ctx);
+void ff_vda_output_callback(void *vda_hw_ctx,
+                            CFDictionaryRef user_info,
+                            OSStatus status,
+                            uint32_t infoFlags,
+                            CVImageBufferRef image_buffer);
 
-/* @} */
+int ff_vda_default_init(AVCodecContext *avctx);
+void ff_vda_default_free(AVCodecContext *avctx);
 
 #endif /* AVCODEC_VDA_INTERNAL_H */