Lines Matching refs:codec
161 const CCodecInfo &codec = *g_Codecs[i]; in FindMethod_Index() local
162 if ((encode ? codec.CreateEncoder : codec.CreateDecoder) in FindMethod_Index()
163 && StringsAreEqualNoCase_Ascii(name, codec.Name)) in FindMethod_Index()
165 methodId = codec.Id; in FindMethod_Index()
166 numStreams = codec.NumStreams; in FindMethod_Index()
178 const CCodecInfoEx &codec = __externalCodecs->Codecs[i]; in FindMethod_Index() local
179 if ((encode ? codec.EncoderIsAssigned : codec.DecoderIsAssigned) in FindMethod_Index()
180 && StringsAreEqualNoCase_Ascii(name, codec.Name)) in FindMethod_Index()
182 methodId = codec.Id; in FindMethod_Index()
183 numStreams = codec.NumStreams; in FindMethod_Index()
201 const CCodecInfo &codec = *g_Codecs[i]; in FindMethod_Index() local
202 if (codec.Id == methodId && (encode ? codec.CreateEncoder : codec.CreateDecoder)) in FindMethod_Index()
213 const CCodecInfoEx &codec = __externalCodecs->Codecs[i]; in FindMethod_Index() local
214 if (codec.Id == methodId && (encode ? codec.EncoderIsAssigned : codec.DecoderIsAssigned)) in FindMethod_Index()
234 const CCodecInfo &codec = *g_Codecs[i]; in FindMethod() local
235 if (methodId == codec.Id) in FindMethod()
237 name = codec.Name; in FindMethod()
249 const CCodecInfoEx &codec = __externalCodecs->Codecs[i]; in FindMethod() local
250 if (methodId == codec.Id) in FindMethod()
252 name = codec.Name; in FindMethod()
270 const CHasherInfo &codec = *g_Hashers[i]; in FindHashMethod() local
271 if (StringsAreEqualNoCase_Ascii(name, codec.Name)) in FindHashMethod()
273 methodId = codec.Id; in FindHashMethod()
285 const CHasherInfoEx &codec = __externalCodecs->Hashers[i]; in FindHashMethod() local
286 if (StringsAreEqualNoCase_Ascii(name, codec.Name)) in FindHashMethod()
288 methodId = codec.Id; in FindHashMethod()
332 const CCodecInfo &codec = *g_Codecs[i]; in CreateCoder_Index() local
337 if (codec.CreateEncoder) in CreateCoder_Index()
339 void *p = codec.CreateEncoder(); in CreateCoder_Index()
340 if (codec.IsFilter) filter = (ICompressFilter *)p; in CreateCoder_Index()
341 else if (codec.NumStreams == 1) cod.Coder = (ICompressCoder *)p; in CreateCoder_Index()
342 else { cod.Coder2 = (ICompressCoder2 *)p; cod.NumStreams = codec.NumStreams; } in CreateCoder_Index()
347 if (codec.CreateDecoder) in CreateCoder_Index()
349 void *p = codec.CreateDecoder(); in CreateCoder_Index()
350 if (codec.IsFilter) filter = (ICompressFilter *)p; in CreateCoder_Index()
351 else if (codec.NumStreams == 1) cod.Coder = (ICompressCoder *)p; in CreateCoder_Index()
352 else { cod.Coder2 = (ICompressCoder2 *)p; cod.NumStreams = codec.NumStreams; } in CreateCoder_Index()
368 const CCodecInfoEx &codec = __externalCodecs->Codecs[i]; in CreateCoder_Index() local
373 if (codec.EncoderIsAssigned) in CreateCoder_Index()
375 if (codec.NumStreams == 1) in CreateCoder_Index()
384 cod.NumStreams = codec.NumStreams; in CreateCoder_Index()
389 if (codec.DecoderIsAssigned) in CreateCoder_Index()
391 if (codec.NumStreams == 1) in CreateCoder_Index()
400 cod.NumStreams = codec.NumStreams; in CreateCoder_Index()
509 const CHasherInfo &codec = *g_Hashers[i]; in CreateHasher() local
510 if (codec.Id == methodId) in CreateHasher()
512 hasher = codec.CreateHasher(); in CreateHasher()
513 name = codec.Name; in CreateHasher()
525 const CHasherInfoEx &codec = __externalCodecs->Hashers[i]; in CreateHasher() local
526 if (codec.Id == methodId) in CreateHasher()
528 name = codec.Name; in CreateHasher()