AVHWAccel.start_frame

Called at the beginning of each frame or field picture.

Meaningful frame information (codec specific) is guaranteed to be parsed at this point. This function is mandatory.

Note that buf can be NULL along with buf_size set to 0. Otherwise, this means the whole frame is available at this point.

@param avctx the codec context @param buf the frame data buffer base @param buf_size the size of the frame in bytes @return zero if successful, a negative value otherwise

struct AVHWAccel
int function(AVCodecContext* avctx, const(ubyte)* buf, uint buf_size) start_frame;

Meta