Imported Upstream version 1.1.1
[platform/upstream/libtheora.git] / lib / encoder_disabled.c
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
13   function:
14   last mod: $Id: encoder_disabled.c 16503 2009-08-22 18:14:02Z giles $
15
16  ********************************************************************/
17 #include "apiwrapper.h"
18 #include "encint.h"
19
20 th_enc_ctx *th_encode_alloc(const th_info *_info){
21   return NULL;
22 }
23
24 void th_encode_free(th_enc_ctx *_enc){}
25
26
27 int th_encode_ctl(th_enc_ctx *_enc,int _req,void *_buf,size_t _buf_sz){
28   return OC_DISABLED;
29 }
30
31 int th_encode_flushheader(th_enc_ctx *_enc,th_comment *_tc,ogg_packet *_op){
32   return OC_DISABLED;
33 }
34
35 int th_encode_ycbcr_in(th_enc_ctx *_enc,th_ycbcr_buffer _img){
36   return OC_DISABLED;
37 }
38
39 int th_encode_packetout(th_enc_ctx *_enc,int _last_p,ogg_packet *_op){
40   return OC_DISABLED;
41 }
42
43
44
45 int theora_encode_init(theora_state *_te,theora_info *_ci){
46   return OC_DISABLED;
47 }
48
49 int theora_encode_YUVin(theora_state *_te,yuv_buffer *_yuv){
50   return OC_DISABLED;
51 }
52
53 int theora_encode_packetout(theora_state *_te,int _last_p,ogg_packet *_op){
54   return OC_DISABLED;
55 }
56
57 int theora_encode_header(theora_state *_te,ogg_packet *_op){
58   return OC_DISABLED;
59 }
60
61 int theora_encode_comment(theora_comment *_tc,ogg_packet *_op){
62   return OC_DISABLED;
63 }
64
65 int theora_encode_tables(theora_state *_te,ogg_packet *_op){
66   return OC_DISABLED;
67 }