Lines Matching refs:codec
97 const CCodecInfo &codec = *g_Codecs[i]; in FindMethod() local
98 if (name.CompareNoCase(codec.Name) == 0) in FindMethod()
100 methodId = codec.Id; in FindMethod()
101 numInStreams = codec.NumInStreams; in FindMethod()
110 const CCodecInfoEx &codec = (*externalCodecs)[i]; in FindMethod() local
111 if (codec.Name.CompareNoCase(name) == 0) in FindMethod()
113 methodId = codec.Id; in FindMethod()
114 numInStreams = codec.NumInStreams; in FindMethod()
115 numOutStreams = codec.NumOutStreams; in FindMethod()
132 const CCodecInfo &codec = *g_Codecs[i]; in FindMethod() local
133 if (methodId == codec.Id) in FindMethod()
135 name = codec.Name; in FindMethod()
143 const CCodecInfoEx &codec = (*externalCodecs)[i]; in FindMethod() local
144 if (methodId == codec.Id) in FindMethod()
146 name = codec.Name; in FindMethod()
166 const CCodecInfo &codec = *g_Codecs[i]; in CreateCoder() local
167 if (codec.Id == methodId) in CreateCoder()
171 if (codec.CreateEncoder) in CreateCoder()
173 void *p = codec.CreateEncoder(); in CreateCoder()
174 if (codec.IsFilter) filter = (ICompressFilter *)p; in CreateCoder()
175 else if (codec.NumInStreams == 1) coder = (ICompressCoder *)p; in CreateCoder()
182 if (codec.CreateDecoder) in CreateCoder()
184 void *p = codec.CreateDecoder(); in CreateCoder()
185 if (codec.IsFilter) filter = (ICompressFilter *)p; in CreateCoder()
186 else if (codec.NumInStreams == 1) coder = (ICompressCoder *)p; in CreateCoder()
198 const CCodecInfoEx &codec = (*externalCodecs)[i]; in CreateCoder() local
199 if (codec.Id == methodId) in CreateCoder()
203 if (codec.EncoderIsAssigned) in CreateCoder()
205 if (codec.IsSimpleCodec()) in CreateCoder()
223 if (codec.DecoderIsAssigned) in CreateCoder()
225 if (codec.IsSimpleCodec()) in CreateCoder()