tcp: Fix 64 bit build with debugging features enabled.
[haiku.git] / src / kits / media / MediaEncoder.cpp
blob60849205ed9cfc0fededaeccc730854c24c04ab2
1 /***********************************************************************
2 * AUTHOR: Marcus Overhagen
3 * FILE: MediaEncoder.cpp
4 * DESCR:
5 ***********************************************************************/
6 #include <MediaEncoder.h>
7 #include "debug.h"
10 /*************************************************************
11 * public BMediaEncoder
12 *************************************************************/
14 BMediaEncoder::BMediaEncoder()
16 UNIMPLEMENTED();
20 BMediaEncoder::BMediaEncoder(const media_format *output_format)
22 UNIMPLEMENTED();
26 BMediaEncoder::BMediaEncoder(const media_codec_info *mci)
28 UNIMPLEMENTED();
32 /* virtual */
33 BMediaEncoder::~BMediaEncoder()
35 UNIMPLEMENTED();
39 status_t
40 BMediaEncoder::InitCheck() const
42 UNIMPLEMENTED();
44 return B_OK;
47 status_t
48 BMediaEncoder::SetTo(const media_format *output_format)
50 UNIMPLEMENTED();
51 return B_OK;
54 status_t
55 BMediaEncoder::SetTo(const media_codec_info *mci)
57 UNIMPLEMENTED();
58 return B_OK;
62 status_t
63 BMediaEncoder::SetFormat(media_format *input_format,
64 media_format *output_format,
65 media_file_format *mfi)
67 UNIMPLEMENTED();
68 return B_OK;
71 status_t
72 BMediaEncoder::Encode(const void *buffer,
73 int64 frame_count,
74 media_encode_info *info)
76 UNIMPLEMENTED();
77 return B_OK;
81 status_t
82 BMediaEncoder::GetEncodeParameters(encode_parameters *parameters) const
84 UNIMPLEMENTED();
85 return B_OK;
89 status_t
90 BMediaEncoder::SetEncodeParameters(encode_parameters *parameters)
92 UNIMPLEMENTED();
93 return B_OK;
97 /*************************************************************
98 * protected BMediaEncoder
99 *************************************************************/
101 /* virtual */ status_t
102 BMediaEncoder::AddTrackInfo(uint32 code, const char *data, size_t size)
104 UNIMPLEMENTED();
105 return B_OK;
109 /*************************************************************
110 * private BMediaEncoder
111 *************************************************************/
114 // unimplemented
115 BMediaEncoder::BMediaEncoder(const BMediaEncoder &);
116 BMediaEncoder::BMediaEncoder & operator=(const BMediaEncoder &);
119 /* static */ status_t
120 BMediaEncoder::write_chunk(void *classptr,
121 const void *chunk_data,
122 size_t chunk_len,
123 media_encode_info *info)
125 UNIMPLEMENTED();
126 return B_OK;
130 void
131 BMediaEncoder::Init()
133 UNIMPLEMENTED();
137 void
138 BMediaEncoder::ReleaseEncoder()
140 UNIMPLEMENTED();
143 status_t BMediaEncoder::_Reserved_BMediaEncoder_0(int32 arg, ...) { return B_ERROR; }
144 status_t BMediaEncoder::_Reserved_BMediaEncoder_1(int32 arg, ...) { return B_ERROR; }
145 status_t BMediaEncoder::_Reserved_BMediaEncoder_2(int32 arg, ...) { return B_ERROR; }
146 status_t BMediaEncoder::_Reserved_BMediaEncoder_3(int32 arg, ...) { return B_ERROR; }
147 status_t BMediaEncoder::_Reserved_BMediaEncoder_4(int32 arg, ...) { return B_ERROR; }
148 status_t BMediaEncoder::_Reserved_BMediaEncoder_5(int32 arg, ...) { return B_ERROR; }
149 status_t BMediaEncoder::_Reserved_BMediaEncoder_6(int32 arg, ...) { return B_ERROR; }
150 status_t BMediaEncoder::_Reserved_BMediaEncoder_7(int32 arg, ...) { return B_ERROR; }
151 status_t BMediaEncoder::_Reserved_BMediaEncoder_8(int32 arg, ...) { return B_ERROR; }
152 status_t BMediaEncoder::_Reserved_BMediaEncoder_9(int32 arg, ...) { return B_ERROR; }
153 status_t BMediaEncoder::_Reserved_BMediaEncoder_10(int32 arg, ...) { return B_ERROR; }
154 status_t BMediaEncoder::_Reserved_BMediaEncoder_11(int32 arg, ...) { return B_ERROR; }
155 status_t BMediaEncoder::_Reserved_BMediaEncoder_12(int32 arg, ...) { return B_ERROR; }
156 status_t BMediaEncoder::_Reserved_BMediaEncoder_13(int32 arg, ...) { return B_ERROR; }
157 status_t BMediaEncoder::_Reserved_BMediaEncoder_14(int32 arg, ...) { return B_ERROR; }
158 status_t BMediaEncoder::_Reserved_BMediaEncoder_15(int32 arg, ...) { return B_ERROR; }
160 /*************************************************************
161 * public BMediaBufferEncoder
162 *************************************************************/
164 BMediaBufferEncoder::BMediaBufferEncoder()
166 UNIMPLEMENTED();
170 BMediaBufferEncoder::BMediaBufferEncoder(const media_format *output_format)
172 UNIMPLEMENTED();
176 BMediaBufferEncoder::BMediaBufferEncoder(const media_codec_info *mci)
178 UNIMPLEMENTED();
182 status_t
183 BMediaBufferEncoder::EncodeToBuffer(void *output_buffer,
184 size_t *output_size,
185 const void *input_buffer,
186 int64 frame_count,
187 media_encode_info *info)
189 UNIMPLEMENTED();
191 return B_ERROR;
195 /*************************************************************
196 * public BMediaBufferEncoder
197 *************************************************************/
199 status_t
200 BMediaBufferEncoder::WriteChunk(const void *chunk_data,
201 size_t chunk_len,
202 media_encode_info *info)
204 UNIMPLEMENTED();
206 return B_ERROR;