X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Famfenc.h;h=358b2ef778a016ad3e16db3c2a938fac099c05e6;hb=90262f3fb4afe4b903888e45cc40e2116cb69683;hp=b1361842bd655bdc4defa0c91309a506190a60f5;hpb=bec3b2041dcc20ab4b06a6b31d09130e1a7166c3;p=ffmpeg diff --git a/libavcodec/amfenc.h b/libavcodec/amfenc.h index b1361842bd6..358b2ef778a 100644 --- a/libavcodec/amfenc.h +++ b/libavcodec/amfenc.h @@ -27,6 +27,7 @@ #include "libavutil/fifo.h" #include "avcodec.h" +#include "hwconfig.h" /** @@ -117,6 +118,8 @@ typedef struct AmfContext { int tier; } AmfContext; +extern const AVCodecHWConfigInternal *const ff_amfenc_hw_configs[]; + /** * Common encoder initization function */ @@ -129,8 +132,6 @@ int ff_amf_encode_close(AVCodecContext *avctx); /** * Ecoding one frame - common function for all AMF encoders */ - -int ff_amf_send_frame(AVCodecContext *avctx, const AVFrame *frame); int ff_amf_receive_packet(AVCodecContext *avctx, AVPacket *avpkt); /**