Lines Matching refs:codec
56 const CCodecInfo &codec = *g_Codecs[i]; in FindCodecClassId() local
57 if (id != codec.Id || encode && !codec.CreateEncoder || !encode && !codec.CreateDecoder) in FindCodecClassId()
59 if (!isFilter && codec.IsFilter || isFilter && !codec.IsFilter || in FindCodecClassId()
60 codec.NumInStreams != 1 && !isCoder2 || codec.NumInStreams == 1 && isCoder2) in FindCodecClassId()
75 const CCodecInfo &codec = *g_Codecs[index]; in CreateCoder2() local
76 if (!isFilter && codec.IsFilter || isFilter && !codec.IsFilter || in CreateCoder2()
77 codec.NumInStreams != 1 && !isCoder2 || codec.NumInStreams == 1 && isCoder2) in CreateCoder2()
81 if (!codec.CreateEncoder) in CreateCoder2()
83 *outObject = codec.CreateEncoder(); in CreateCoder2()
87 if (!codec.CreateDecoder) in CreateCoder2()
89 *outObject = codec.CreateDecoder(); in CreateCoder2()
122 const CCodecInfo &codec = *g_Codecs[codecIndex]; in GetMethodProperty() local
127 value->uhVal.QuadPart = (UInt64)codec.Id; in GetMethodProperty()
132 if ((value->bstrVal = ::SysAllocString(codec.Name)) != 0) in GetMethodProperty()
136 if (codec.CreateDecoder) in GetMethodProperty()
137 return SetClassID(codec.Id, false, value); in GetMethodProperty()
140 if (codec.CreateEncoder) in GetMethodProperty()
141 return SetClassID(codec.Id, true, value); in GetMethodProperty()
145 if (codec.NumInStreams != 1) in GetMethodProperty()
148 value->ulVal = (ULONG)codec.NumInStreams; in GetMethodProperty()