@ -66,6 +66,7 @@ AVFilterBufferRef *avfilter_get_video_buffer_ref_from_frame(const AVFrame *frame
AVFilterBufferRef * avfilter_get_audio_buffer_ref_from_frame ( const AVFrame * frame ,
AVFilterBufferRef * avfilter_get_audio_buffer_ref_from_frame ( const AVFrame * frame ,
int perms ) ;
int perms ) ;
# ifdef FF_API_FILL_FRAME
/**
/**
* Fill an AVFrame with the information stored in samplesref .
* Fill an AVFrame with the information stored in samplesref .
*
*
@ -73,7 +74,9 @@ AVFilterBufferRef *avfilter_get_audio_buffer_ref_from_frame(const AVFrame *frame
* @ param samplesref an audio buffer reference
* @ param samplesref an audio buffer reference
* @ return 0 in case of success , a negative AVERROR code in case of
* @ return 0 in case of success , a negative AVERROR code in case of
* failure
* failure
* @ deprecated Use avfilter_copy_buf_props ( ) instead .
*/
*/
attribute_deprecated
int avfilter_fill_frame_from_audio_buffer_ref ( AVFrame * frame ,
int avfilter_fill_frame_from_audio_buffer_ref ( AVFrame * frame ,
const AVFilterBufferRef * samplesref ) ;
const AVFilterBufferRef * samplesref ) ;
@ -84,7 +87,9 @@ int avfilter_fill_frame_from_audio_buffer_ref(AVFrame *frame,
* @ param picref a video buffer reference
* @ param picref a video buffer reference
* @ return 0 in case of success , a negative AVERROR code in case of
* @ return 0 in case of success , a negative AVERROR code in case of
* failure
* failure
* @ deprecated Use avfilter_copy_buf_props ( ) instead .
*/
*/
attribute_deprecated
int avfilter_fill_frame_from_video_buffer_ref ( AVFrame * frame ,
int avfilter_fill_frame_from_video_buffer_ref ( AVFrame * frame ,
const AVFilterBufferRef * picref ) ;
const AVFilterBufferRef * picref ) ;
@ -95,9 +100,12 @@ int avfilter_fill_frame_from_video_buffer_ref(AVFrame *frame,
* @ param ref a video or audio buffer reference
* @ param ref a video or audio buffer reference
* @ return 0 in case of success , a negative AVERROR code in case of
* @ return 0 in case of success , a negative AVERROR code in case of
* failure
* failure
* @ deprecated Use avfilter_copy_buf_props ( ) instead .
*/
*/
attribute_deprecated
int avfilter_fill_frame_from_buffer_ref ( AVFrame * frame ,
int avfilter_fill_frame_from_buffer_ref ( AVFrame * frame ,
const AVFilterBufferRef * ref ) ;
const AVFilterBufferRef * ref ) ;
# endif
/**
/**
* Add frame data to buffer_src .
* Add frame data to buffer_src .