Logo Search packages:      
Sourcecode: libtheora version File versions  Download package


Sets the striped decode callback function. If set, this function will be called as each piece of a frame is fully decoded in th_decode_packetin(). You can pass in a th_stripe_callback with th_stripe_callback::stripe_decoded set to NULL to disable the callbacks at any point. Enabling striped decode does not prevent you from calling th_decode_ycbcr_out() after the frame is fully decoded.

[in] _buf th_stripe_callback: The callback parameters.
Return values:
TH_EFAULT _dec_ctx or _buf is NULL.
TH_EINVAL _buf_sz is not sizeof(th_stripe_callback).

Definition at line 93 of file theoradec.h.

Referenced by th_decode_ctl().

Generated by  Doxygen 1.6.0   Back to index