AVHWAccel.frame_params

Fill the given hw_frames context with current codec parameters. Called from get_format. Refer to avcodec_get_hw_frames_parameters() for details.

This CAN be called before AVHWAccel.init is called, and you must assume that avctx->hwaccel_priv_data is invalid.

struct AVHWAccel
int function(AVCodecContext* avctx, AVBufferRef* hw_frames_ctx) frame_params;

Meta