File: encoder_disabled.c

package info (click to toggle)
libtheora 1.1.1+dfsg.1-15
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 7,460 kB
  • sloc: ansic: 32,561; sh: 9,675; makefile: 744
file content (67 lines) | stat: -rw-r--r-- 1,999 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/********************************************************************
 *                                                                  *
 * 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:
  last mod: $Id: encoder_disabled.c 16503 2009-08-22 18:14:02Z giles $

 ********************************************************************/
#include "apiwrapper.h"
#include "encint.h"

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;
}