encoder_disabled.c 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /********************************************************************
  2. * *
  3. * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
  4. * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
  5. * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
  6. * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
  7. * *
  8. * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 *
  9. * by the Xiph.Org Foundation http://www.xiph.org/ *
  10. * *
  11. ********************************************************************
  12. function:
  13. last mod: $Id$
  14. ********************************************************************/
  15. #include "apiwrapper.h"
  16. #include "encint.h"
  17. const th_quant_info TH_VP31_QUANT_INFO = {};
  18. const th_huff_code TH_VP31_HUFF_CODES[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS];
  19. th_enc_ctx *th_encode_alloc(const th_info *_info){
  20. return NULL;
  21. }
  22. void th_encode_free(th_enc_ctx *_enc){}
  23. int th_encode_ctl(th_enc_ctx *_enc,int _req,void *_buf,size_t _buf_sz){
  24. return OC_DISABLED;
  25. }
  26. int th_encode_flushheader(th_enc_ctx *_enc,th_comment *_tc,ogg_packet *_op){
  27. return OC_DISABLED;
  28. }
  29. int th_encode_ycbcr_in(th_enc_ctx *_enc,th_ycbcr_buffer _img){
  30. return OC_DISABLED;
  31. }
  32. int th_encode_packetout(th_enc_ctx *_enc,int _last_p,ogg_packet *_op){
  33. return OC_DISABLED;
  34. }
  35. int theora_encode_init(theora_state *_te,theora_info *_ci){
  36. return OC_DISABLED;
  37. }
  38. int theora_encode_YUVin(theora_state *_te,yuv_buffer *_yuv){
  39. return OC_DISABLED;
  40. }
  41. int theora_encode_packetout(theora_state *_te,int _last_p,ogg_packet *_op){
  42. return OC_DISABLED;
  43. }
  44. int theora_encode_header(theora_state *_te,ogg_packet *_op){
  45. return OC_DISABLED;
  46. }
  47. int theora_encode_comment(theora_comment *_tc,ogg_packet *_op){
  48. return OC_DISABLED;
  49. }
  50. int theora_encode_tables(theora_state *_te,ogg_packet *_op){
  51. return OC_DISABLED;
  52. }