virtualx-engine/thirdparty/libtheora/encoder_disabled.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

71 lines
2 KiB
C
Raw Normal View History

2014-02-10 02:10:30 +01:00
/********************************************************************
* *
* THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
* *
* THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 *
* by the Xiph.Org Foundation http://www.xiph.org/ *
* *
********************************************************************
function:
2022-09-28 02:18:11 +02:00
last mod: $Id$
2014-02-10 02:10:30 +01:00
********************************************************************/
#include "apiwrapper.h"
#include "encint.h"
2022-09-28 02:18:11 +02:00
const th_quant_info TH_VP31_QUANT_INFO = {};
const th_huff_code TH_VP31_HUFF_CODES[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS];
2014-02-10 02:10:30 +01:00
th_enc_ctx *th_encode_alloc(const th_info *_info){
return NULL;
}
void th_encode_free(th_enc_ctx *_enc){}
int th_encode_ctl(th_enc_ctx *_enc,int _req,void *_buf,size_t _buf_sz){
return OC_DISABLED;
}
int th_encode_flushheader(th_enc_ctx *_enc,th_comment *_tc,ogg_packet *_op){
return OC_DISABLED;
}
int th_encode_ycbcr_in(th_enc_ctx *_enc,th_ycbcr_buffer _img){
return OC_DISABLED;
}
int th_encode_packetout(th_enc_ctx *_enc,int _last_p,ogg_packet *_op){
return OC_DISABLED;
}
int theora_encode_init(theora_state *_te,theora_info *_ci){
return OC_DISABLED;
}
int theora_encode_YUVin(theora_state *_te,yuv_buffer *_yuv){
return OC_DISABLED;
}
int theora_encode_packetout(theora_state *_te,int _last_p,ogg_packet *_op){
return OC_DISABLED;
}
int theora_encode_header(theora_state *_te,ogg_packet *_op){
return OC_DISABLED;
}
int theora_encode_comment(theora_comment *_tc,ogg_packet *_op){
return OC_DISABLED;
}
int theora_encode_tables(theora_state *_te,ogg_packet *_op){
return OC_DISABLED;
}