• Home
  • Raw
  • Download

Lines Matching refs:codec

68     const CCodecInfo &codec = *g_Codecs[i];  in FindCodecClassId()  local
70 if (id != codec.Id in FindCodecClassId()
71 || (encode ? !codec.CreateEncoder : !codec.CreateDecoder) in FindCodecClassId()
72 || (isFilter ? !codec.IsFilter : codec.IsFilter)) in FindCodecClassId()
75 if (codec.NumStreams == 1 ? isCoder2 : !isCoder2) in FindCodecClassId()
89 const CCodecInfo &codec = *g_Codecs[index]; in CreateCoderMain() local
93 c = codec.CreateEncoder(); in CreateCoderMain()
95 c = codec.CreateDecoder(); in CreateCoderMain()
100 if (codec.IsFilter) in CreateCoderMain()
102 else if (codec.NumStreams != 1) in CreateCoderMain()
118 const CCodecInfo &codec = *g_Codecs[index]; in CreateCoder2() local
120 if (encode ? !codec.CreateEncoder : !codec.CreateDecoder) in CreateCoder2()
123 if (codec.IsFilter) in CreateCoder2()
127 else if (codec.NumStreams != 1) in CreateCoder2()
181 const CCodecInfo &codec = *g_Codecs[codecIndex]; in GetMethodProperty() local
185 value->uhVal.QuadPart = (UInt64)codec.Id; in GetMethodProperty()
189 SetPropFromAscii(codec.Name, value); in GetMethodProperty()
192 if (codec.CreateDecoder) in GetMethodProperty()
193 return MethodToClassID(k_7zip_GUID_Data3_Decoder, codec.Id, value); in GetMethodProperty()
196 if (codec.CreateEncoder) in GetMethodProperty()
197 return MethodToClassID(k_7zip_GUID_Data3_Encoder, codec.Id, value); in GetMethodProperty()
201 value->boolVal = BoolToVARIANT_BOOL(codec.CreateDecoder != NULL); in GetMethodProperty()
205 value->boolVal = BoolToVARIANT_BOOL(codec.CreateEncoder != NULL); in GetMethodProperty()
208 if (codec.NumStreams != 1) in GetMethodProperty()
211 value->ulVal = (ULONG)codec.NumStreams; in GetMethodProperty()
287 const CHasherInfo &codec = *g_Hashers[codecIndex]; in GetHasherProp() local
291 value->uhVal.QuadPart = (UInt64)codec.Id; in GetHasherProp()
295 SetPropFromAscii(codec.Name, value); in GetHasherProp()
298 if (codec.CreateHasher) in GetHasherProp()
299 return MethodToClassID(k_7zip_GUID_Data3_Hasher, codec.Id, value); in GetHasherProp()
302 value->ulVal = (ULONG)codec.DigestSize; in GetHasherProp()