2 * Copyright 2009, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
3 * Copyright 2004, Marcus Overhagen. All rights reserved.
4 * Distributed under the terms of the MIT License.
7 #include "EncoderPlugin.h"
12 #include <MediaFormats.h>
29 // #pragma mark - Convenience stubs
33 Encoder::AddTrackInfo(uint32 code
, const void* data
, size_t size
, uint32 flags
)
35 return B_NOT_SUPPORTED
;
40 Encoder::ParameterView()
47 Encoder::ParameterWeb()
54 Encoder::GetParameterValue(int32 id
, void* value
, size_t* size
) const
56 return B_NOT_SUPPORTED
;
61 Encoder::SetParameterValue(int32 id
, const void* value
, size_t size
)
63 return B_NOT_SUPPORTED
;
68 Encoder::GetEncodeParameters(encode_parameters
* parameters
) const
70 return B_NOT_SUPPORTED
;
75 Encoder::SetEncodeParameters(encode_parameters
* parameters
)
77 return B_NOT_SUPPORTED
;
85 Encoder::WriteChunk(const void* chunkBuffer
, size_t chunkSize
,
86 media_encode_info
* encodeInfo
)
88 return fChunkWriter
->WriteChunk(chunkBuffer
, chunkSize
, encodeInfo
);
93 Encoder::SetChunkWriter(ChunkWriter
* writer
)
96 fChunkWriter
= writer
;
100 // #pragma mark - FBC padding
104 Encoder::Perform(perform_code code
, void* data
)
110 void Encoder::_ReservedEncoder1() {}
111 void Encoder::_ReservedEncoder2() {}
112 void Encoder::_ReservedEncoder3() {}
113 void Encoder::_ReservedEncoder4() {}
114 void Encoder::_ReservedEncoder5() {}
115 void Encoder::_ReservedEncoder6() {}
116 void Encoder::_ReservedEncoder7() {}
117 void Encoder::_ReservedEncoder8() {}
118 void Encoder::_ReservedEncoder9() {}
119 void Encoder::_ReservedEncoder10() {}
120 void Encoder::_ReservedEncoder11() {}
121 void Encoder::_ReservedEncoder12() {}
122 void Encoder::_ReservedEncoder13() {}
123 void Encoder::_ReservedEncoder14() {}
124 void Encoder::_ReservedEncoder15() {}
125 void Encoder::_ReservedEncoder16() {}
126 void Encoder::_ReservedEncoder17() {}
127 void Encoder::_ReservedEncoder18() {}
128 void Encoder::_ReservedEncoder19() {}
129 void Encoder::_ReservedEncoder20() {}
132 // #pragma mark - EncoderPlugin
135 EncoderPlugin::EncoderPlugin()