Lines Matching refs:index
226 static HRESULT GetCoderClass(Func_GetMethodProperty getMethodProperty, UInt32 index,
231 RINOK(getMethodProperty(index, propId, &prop))
245 static HRESULT GetMethodBoolProp(Func_GetMethodProperty getMethodProperty, UInt32 index,
251 RINOK(getMethodProperty(index, propId, &prop))
324 UInt32 index, PROPID propID, NCOM::CPropVariant &prop)
327 return getProp2(index, propID, &prop);
334 UInt32 index, PROPID propID, bool &res)
338 RINOK(GetProp(getProp, getProp2, index, propID, prop))
349 UInt32 index, PROPID propID, UInt32 &res, bool &defined)
354 RINOK(GetProp(getProp, getProp2, index, propID, prop))
368 UInt32 index, PROPID propID, UString &res)
372 RINOK(GetProp(getProp, getProp2, index, propID, prop))
383 UInt32 index, PROPID propID, CByteBuffer &bb)
387 RINOK(GetProp(getProp, getProp2, index, propID, prop))
930 int index = FindFormatForArchiveType(name);
931 if (index < 0 && name != L"*")
936 formatIndices.Add(index);
952 STDAPI CreateDecoder(UInt32 index, const GUID *iid, void **outObject);
953 STDAPI CreateEncoder(UInt32 index, const GUID *iid, void **outObject);
958 STDAPI CreateHasher(UInt32 index, IHasher **hasher);
979 Z7_COM7F_IMF(CCodecs::GetProperty(UInt32 index, PROPID propID, PROPVARIANT *value))
982 if (index < g_NumCodecs)
983 return GetMethodProperty(index, propID, value);
987 const CDllCodecInfo &ci = Codecs[index - NUM_EXPORT_CODECS];
1015 Z7_COM7F_IMF(CCodecs::CreateDecoder(UInt32 index, const GUID *iid, void **coder))
1018 if (index < g_NumCodecs)
1019 return CreateDecoder(index, iid, coder);
1023 const CDllCodecInfo &ci = Codecs[index - NUM_EXPORT_CODECS];
1038 Z7_COM7F_IMF(CCodecs::CreateEncoder(UInt32 index, const GUID *iid, void **coder))
1041 if (index < g_NumCodecs)
1042 return CreateEncoder(index, iid, coder);
1046 const CDllCodecInfo &ci = Codecs[index - NUM_EXPORT_CODECS];
1071 Z7_COM7F_IMF(CCodecs::GetHasherProp(UInt32 index, PROPID propID, PROPVARIANT *value))
1074 if (index < g_NumHashers)
1075 return ::GetHasherProp(index, propID, value);
1079 const CDllHasherInfo &ci = Hashers[index - NUM_EXPORT_HASHERS];
1086 Z7_COM7F_IMF(CCodecs::CreateHasher(UInt32 index, IHasher **hasher))
1089 if (index < g_NumHashers)
1090 return CreateHasher(index, hasher);
1093 const CDllHasherInfo &ci = Hashers[index - NUM_EXPORT_HASHERS];
1100 int CCodecs::GetCodec_LibIndex(UInt32 index) const
1103 if (index < g_NumCodecs)
1108 const CDllCodecInfo &ci = Codecs[index - NUM_EXPORT_CODECS];
1115 int CCodecs::GetHasherLibIndex(UInt32 index)
1118 if (index < g_NumHashers)
1123 const CDllHasherInfo &ci = Hashers[index - NUM_EXPORT_HASHERS];
1130 bool CCodecs::GetCodec_DecoderIsAssigned(UInt32 index) const
1133 if (index < g_NumCodecs)
1136 if (GetProperty(index, NMethodPropID::kDecoderIsAssigned, &prop) == S_OK)
1146 return Codecs[index - NUM_EXPORT_CODECS].DecoderIsAssigned;
1153 bool CCodecs::GetCodec_EncoderIsAssigned(UInt32 index) const
1156 if (index < g_NumCodecs)
1159 if (GetProperty(index, NMethodPropID::kEncoderIsAssigned, &prop) == S_OK)
1169 return Codecs[index - NUM_EXPORT_CODECS].EncoderIsAssigned;
1176 bool CCodecs::GetCodec_IsFilter(UInt32 index, bool &isAssigned) const
1180 if (index < g_NumCodecs)
1183 if (GetProperty(index, NMethodPropID::kIsFilter, &prop) == S_OK)
1197 const CDllCodecInfo &c = Codecs[index - NUM_EXPORT_CODECS];
1207 UInt32 CCodecs::GetCodec_NumStreams(UInt32 index)
1210 if (GetProperty(index, NMethodPropID::kPackStreams, &prop) != S_OK)
1219 HRESULT CCodecs::GetCodec_Id(UInt32 index, UInt64 &id)
1222 RINOK(GetProperty(index, NMethodPropID::kID, &prop))
1229 AString CCodecs::GetCodec_Name(UInt32 index)
1233 if (GetProperty(index, NMethodPropID::kName, &prop) == S_OK)
1239 UInt64 CCodecs::GetHasherId(UInt32 index)
1242 if (GetHasherProp(index, NMethodPropID::kID, &prop) != S_OK)
1249 AString CCodecs::GetHasherName(UInt32 index)
1253 if (GetHasherProp(index, NMethodPropID::kName, &prop) == S_OK)
1259 UInt32 CCodecs::GetHasherDigestSize(UInt32 index)
1262 if (GetHasherProp(index, NMethodPropID::kDigestSize, &prop) != S_OK)