Lines Matching refs:codec
65 const CCodecInfo &codec = *g_Codecs[i]; in FindCodecClassId() local
66 if (id != codec.Id || encode && !codec.CreateEncoder || !encode && !codec.CreateDecoder) in FindCodecClassId()
68 if (!isFilter && codec.IsFilter || isFilter && !codec.IsFilter || in FindCodecClassId()
69 codec.NumInStreams != 1 && !isCoder2 || codec.NumInStreams == 1 && isCoder2) in FindCodecClassId()
84 const CCodecInfo &codec = *g_Codecs[index]; in CreateCoder2() local
85 if (!isFilter && codec.IsFilter || isFilter && !codec.IsFilter || in CreateCoder2()
86 codec.NumInStreams != 1 && !isCoder2 || codec.NumInStreams == 1 && isCoder2) in CreateCoder2()
90 if (!codec.CreateEncoder) in CreateCoder2()
92 *outObject = codec.CreateEncoder(); in CreateCoder2()
96 if (!codec.CreateDecoder) in CreateCoder2()
98 *outObject = codec.CreateDecoder(); in CreateCoder2()
130 const CCodecInfo &codec = *g_Codecs[codecIndex]; in CreateCoder() local
132 *outObject = codec.CreateEncoder(); in CreateCoder()
134 *outObject = codec.CreateDecoder(); in CreateCoder()
151 const CCodecInfo &codec = *g_Codecs[codecIndex]; in GetMethodProperty() local
155 value->uhVal.QuadPart = (UInt64)codec.Id; in GetMethodProperty()
159 if ((value->bstrVal = ::SysAllocString(codec.Name)) != 0) in GetMethodProperty()
163 if (codec.CreateDecoder) in GetMethodProperty()
164 return SetClassID(codec.Id, kDecodeId, value); in GetMethodProperty()
167 if (codec.CreateEncoder) in GetMethodProperty()
168 return SetClassID(codec.Id, kEncodeId, value); in GetMethodProperty()
171 if (codec.NumInStreams != 1) in GetMethodProperty()
174 value->ulVal = (ULONG)codec.NumInStreams; in GetMethodProperty()
225 const CHasherInfo &codec = *g_Hashers[codecIndex]; in GetHasherProp() local
229 value->uhVal.QuadPart = (UInt64)codec.Id; in GetHasherProp()
233 if ((value->bstrVal = ::SysAllocString(codec.Name)) != 0) in GetHasherProp()
237 if (codec.CreateHasher) in GetHasherProp()
238 return SetClassID(codec.Id, kHasherId, value); in GetHasherProp()
241 value->ulVal = (ULONG)codec.DigestSize; in GetHasherProp()