Logo Search packages:      
Sourcecode: libtheora version File versions

int theora_encode_YUVin ( theora_state t,
yuv_buffer yuv 
)

Submit a YUV buffer to the theora encoder.

Parameters:
t A theora_state handle previously initialized for encoding.
yuv A buffer of YUV data to encode.
Return values:
OC_EINVAL Encoder is not ready, or is finished.
-1 The size of the given frame differs from those previously input
0 Success

Definition at line 29 of file encoder_disabled.c.

References OC_DISABLED, and theora_encode_YUVin().

Referenced by theora_encode_YUVin().

                                                         {
  return OC_DISABLED;
}


Generated by  Doxygen 1.6.0   Back to index