Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/thirdparty/libtheora/encoder_disabled.c
9898 views
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 https://www.xiph.org/ *
10
* *
11
********************************************************************
12
13
function:
14
15
********************************************************************/
16
#include "apiwrapper.h"
17
#include "encint.h"
18
19
const th_quant_info TH_VP31_QUANT_INFO = {};
20
const th_huff_code TH_VP31_HUFF_CODES[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS];
21
22
th_enc_ctx *th_encode_alloc(const th_info *_info){
23
return NULL;
24
}
25
26
void th_encode_free(th_enc_ctx *_enc){}
27
28
29
int th_encode_ctl(th_enc_ctx *_enc,int _req,void *_buf,size_t _buf_sz){
30
return OC_DISABLED;
31
}
32
33
int th_encode_flushheader(th_enc_ctx *_enc,th_comment *_tc,ogg_packet *_op){
34
return OC_DISABLED;
35
}
36
37
int th_encode_ycbcr_in(th_enc_ctx *_enc,th_ycbcr_buffer _img){
38
return OC_DISABLED;
39
}
40
41
int th_encode_packetout(th_enc_ctx *_enc,int _last_p,ogg_packet *_op){
42
return OC_DISABLED;
43
}
44
45
46
47
int theora_encode_init(theora_state *_te,theora_info *_ci){
48
return OC_DISABLED;
49
}
50
51
int theora_encode_YUVin(theora_state *_te,yuv_buffer *_yuv){
52
return OC_DISABLED;
53
}
54
55
int theora_encode_packetout(theora_state *_te,int _last_p,ogg_packet *_op){
56
return OC_DISABLED;
57
}
58
59
int theora_encode_header(theora_state *_te,ogg_packet *_op){
60
return OC_DISABLED;
61
}
62
63
int theora_encode_comment(theora_comment *_tc,ogg_packet *_op){
64
return OC_DISABLED;
65
}
66
67
int theora_encode_tables(theora_state *_te,ogg_packet *_op){
68
return OC_DISABLED;
69
}
70
71