1 /*********************************************************************** 2 * AUTHOR: Marcus Overhagen 3 * FILE: MediaEncoder.cpp 4 * DESCR: 5 ***********************************************************************/ 6 #include <MediaEncoder.h> 7 #include "debug.h" 8 9 10 /************************************************************* 11 * public BMediaEncoder 12 *************************************************************/ 13 14 BMediaEncoder::BMediaEncoder() 15 { 16 UNIMPLEMENTED(); 17 } 18 19 20 BMediaEncoder::BMediaEncoder(const media_format *output_format) 21 { 22 UNIMPLEMENTED(); 23 } 24 25 26 BMediaEncoder::BMediaEncoder(const media_codec_info *mci) 27 { 28 UNIMPLEMENTED(); 29 } 30 31 32 /* virtual */ 33 BMediaEncoder::~BMediaEncoder() 34 { 35 UNIMPLEMENTED(); 36 } 37 38 39 status_t 40 BMediaEncoder::InitCheck() const 41 { 42 UNIMPLEMENTED(); 43 44 return B_OK; 45 } 46 47 status_t 48 BMediaEncoder::SetTo(const media_format *output_format) 49 { 50 UNIMPLEMENTED(); 51 return B_OK; 52 } 53 54 status_t 55 BMediaEncoder::SetTo(const media_codec_info *mci) 56 { 57 UNIMPLEMENTED(); 58 return B_OK; 59 } 60 61 62 status_t 63 BMediaEncoder::SetFormat(media_format *input_format, 64 media_format *output_format, 65 media_file_format *mfi) 66 { 67 UNIMPLEMENTED(); 68 return B_OK; 69 } 70 71 status_t 72 BMediaEncoder::Encode(const void *buffer, 73 int64 frame_count, 74 media_encode_info *info) 75 { 76 UNIMPLEMENTED(); 77 return B_OK; 78 } 79 80 81 status_t 82 BMediaEncoder::GetEncodeParameters(encode_parameters *parameters) const 83 { 84 UNIMPLEMENTED(); 85 return B_OK; 86 } 87 88 89 status_t 90 BMediaEncoder::SetEncodeParameters(encode_parameters *parameters) 91 { 92 UNIMPLEMENTED(); 93 return B_OK; 94 } 95 96 97 /************************************************************* 98 * protected BMediaEncoder 99 *************************************************************/ 100 101 /* virtual */ status_t 102 BMediaEncoder::AddTrackInfo(uint32 code, const char *data, size_t size) 103 { 104 UNIMPLEMENTED(); 105 return B_OK; 106 } 107 108 109 /************************************************************* 110 * private BMediaEncoder 111 *************************************************************/ 112 113 /* 114 // unimplemented 115 BMediaEncoder::BMediaEncoder(const BMediaEncoder &); 116 BMediaEncoder::BMediaEncoder & operator=(const BMediaEncoder &); 117 */ 118 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) 124 { 125 UNIMPLEMENTED(); 126 return B_OK; 127 } 128 129 130 void 131 BMediaEncoder::Init() 132 { 133 UNIMPLEMENTED(); 134 } 135 136 137 void 138 BMediaEncoder::ReleaseEncoder() 139 { 140 UNIMPLEMENTED(); 141 } 142 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; } 159 160 /************************************************************* 161 * public BMediaBufferEncoder 162 *************************************************************/ 163 164 BMediaBufferEncoder::BMediaBufferEncoder() 165 { 166 UNIMPLEMENTED(); 167 } 168 169 170 BMediaBufferEncoder::BMediaBufferEncoder(const media_format *output_format) 171 { 172 UNIMPLEMENTED(); 173 } 174 175 176 BMediaBufferEncoder::BMediaBufferEncoder(const media_codec_info *mci) 177 { 178 UNIMPLEMENTED(); 179 } 180 181 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) 188 { 189 UNIMPLEMENTED(); 190 191 return B_ERROR; 192 } 193 194 195 /************************************************************* 196 * public BMediaBufferEncoder 197 *************************************************************/ 198 199 status_t 200 BMediaBufferEncoder::WriteChunk(const void *chunk_data, 201 size_t chunk_len, 202 media_encode_info *info) 203 { 204 UNIMPLEMENTED(); 205 206 return B_ERROR; 207 } 208 209 210