Lines Matching defs:index
54 static HRESULT FindCodecClassId(const GUID *clsid, bool isCoder2, bool isFilter, bool &encode, int &index) throw()
56 index = -1;
80 index = (int)i;
95 static HRESULT CreateCoderMain(unsigned index, bool encode, void **coder)
99 const CCodecInfo &codec = *g_Codecs[index];
127 static HRESULT CreateCoder2(bool encode, UInt32 index, const GUID *iid, void **outObject)
131 const CCodecInfo &codec = *g_Codecs[index];
149 return CreateCoderMain(index, encode, outObject);
153 STDAPI CreateDecoder(UInt32 index, const GUID *iid, void **outObject);
154 STDAPI CreateDecoder(UInt32 index, const GUID *iid, void **outObject)
156 return CreateCoder2(false, index, iid, outObject);
160 STDAPI CreateEncoder(UInt32 index, const GUID *iid, void **outObject);
161 STDAPI CreateEncoder(UInt32 index, const GUID *iid, void **outObject)
163 return CreateCoder2(true, index, iid, outObject);
283 static HRESULT CreateHasher2(UInt32 index, IHasher **hasher)
286 *hasher = g_Hashers[index]->CreateHasher();
298 const int index = FindHasherClassId(clsid);
299 if (index < 0)
301 return CreateHasher2((UInt32)(unsigned)index, outObject);
349 Z7_COM7F_IMF(CHashers::GetHasherProp(UInt32 index, PROPID propID, PROPVARIANT *value))
351 return ::GetHasherProp(index, propID, value);
354 Z7_COM7F_IMF(CHashers::CreateHasher(UInt32 index, IHasher **hasher))
356 return ::CreateHasher2(index, hasher);