/*
- * 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 */