Lines Matching refs:_spAttributes
751 if (_spAttributes.Get() == nullptr) in Initialize()
753 return MFCreateAttributes(&_spAttributes, cInitialSize); in Initialize()
765 if (_spAttributes) in Initialize()
767 _spAttributes.Reset(); in Initialize()
768 _spAttributes = nullptr; in Initialize()
772 return pUnk->QueryInterface(IID_PPV_ARGS(&_spAttributes)); in Initialize()
781 assert(_spAttributes); in GetItem()
782 return _spAttributes->GetItem(guidKey, pValue); in GetItem()
787 assert(_spAttributes); in GetItemType()
788 return _spAttributes->GetItemType(guidKey, pType); in GetItemType()
793 assert(_spAttributes); in CompareItem()
794 return _spAttributes->CompareItem(guidKey, Value, pbResult); in CompareItem()
803 assert(_spAttributes); in Compare()
804 return _spAttributes->Compare(pTheirs, MatchType, pbResult); in Compare()
809 assert(_spAttributes); in GetUINT32()
810 return _spAttributes->GetUINT32(guidKey, punValue); in GetUINT32()
815 assert(_spAttributes); in GetUINT64()
816 return _spAttributes->GetUINT64(guidKey, punValue); in GetUINT64()
821 assert(_spAttributes); in GetDouble()
822 return _spAttributes->GetDouble(guidKey, pfValue); in GetDouble()
827 assert(_spAttributes); in GetGUID()
828 return _spAttributes->GetGUID(guidKey, pguidValue); in GetGUID()
833 assert(_spAttributes); in GetStringLength()
834 return _spAttributes->GetStringLength(guidKey, pcchLength); in GetStringLength()
839 assert(_spAttributes); in GetString()
840 return _spAttributes->GetString(guidKey, pwszValue, cchBufSize, pcchLength); in GetString()
845 assert(_spAttributes); in GetAllocatedString()
846 return _spAttributes->GetAllocatedString(guidKey, ppwszValue, pcchLength); in GetAllocatedString()
851 assert(_spAttributes); in GetBlobSize()
852 return _spAttributes->GetBlobSize(guidKey, pcbBlobSize); in GetBlobSize()
857 assert(_spAttributes); in GetBlob()
858 return _spAttributes->GetBlob(guidKey, pBuf, cbBufSize, pcbBlobSize); in GetBlob()
863 assert(_spAttributes); in GetAllocatedBlob()
864 return _spAttributes->GetAllocatedBlob(guidKey, ppBuf, pcbSize); in GetAllocatedBlob()
869 assert(_spAttributes); in GetUnknown()
870 return _spAttributes->GetUnknown(guidKey, riid, ppv); in GetUnknown()
875 assert(_spAttributes); in SetItem()
876 return _spAttributes->SetItem(guidKey, Value); in SetItem()
881 assert(_spAttributes); in DeleteItem()
882 return _spAttributes->DeleteItem(guidKey); in DeleteItem()
887 assert(_spAttributes); in DeleteAllItems()
888 return _spAttributes->DeleteAllItems(); in DeleteAllItems()
893 assert(_spAttributes); in SetUINT32()
894 return _spAttributes->SetUINT32(guidKey, unValue); in SetUINT32()
899 assert(_spAttributes); in SetUINT64()
900 return _spAttributes->SetUINT64(guidKey, unValue); in SetUINT64()
905 assert(_spAttributes); in SetDouble()
906 return _spAttributes->SetDouble(guidKey, fValue); in SetDouble()
911 assert(_spAttributes); in SetGUID()
912 return _spAttributes->SetGUID(guidKey, guidValue); in SetGUID()
917 assert(_spAttributes); in SetString()
918 return _spAttributes->SetString(guidKey, wszValue); in SetString()
923 assert(_spAttributes); in SetBlob()
924 return _spAttributes->SetBlob(guidKey, pBuf, cbBufSize); in SetBlob()
929 assert(_spAttributes); in SetUnknown()
930 return _spAttributes->SetUnknown(guidKey, pUnknown); in SetUnknown()
935 assert(_spAttributes); in LockStore()
936 return _spAttributes->LockStore(); in LockStore()
941 assert(_spAttributes); in UnlockStore()
942 return _spAttributes->UnlockStore(); in UnlockStore()
947 assert(_spAttributes); in GetCount()
948 return _spAttributes->GetCount(pcItems); in GetCount()
953 assert(_spAttributes); in GetItemByIndex()
954 return _spAttributes->GetItemByIndex(unIndex, pguidKey, pValue); in GetItemByIndex()
959 assert(_spAttributes); in CopyAllItems()
960 return _spAttributes->CopyAllItems(pDest); in CopyAllItems()
968 assert(_spAttributes); in SerializeToStream()
969 return MFSerializeAttributesToStream(_spAttributes.Get(), dwOptions, pStm); in SerializeToStream()
974 assert(_spAttributes); in DeserializeFromStream()
975 return MFDeserializeAttributesFromStream(_spAttributes.Get(), dwOptions, pStm); in DeserializeFromStream()
986 assert(_spAttributes); in SerializeToBlob()
1001 CHECK_HR(hr = MFGetAttributesAsBlobSize(_spAttributes.Get(), &cbSize)); in SerializeToBlob()
1009 CHECK_HR(hr = MFGetAttributesAsBlob(_spAttributes.Get(), pBuffer, cbSize)); in SerializeToBlob()
1026 assert(_spAttributes); in DeserializeFromBlob()
1027 return MFInitAttributesFromBlob(_spAttributes.Get(), pBuffer, cbSize); in DeserializeFromBlob()
1032 assert(_spAttributes); in GetRatio()
1033 return MFGetAttributeRatio(_spAttributes.Get(), guidKey, pnNumerator, punDenominator); in GetRatio()
1038 assert(_spAttributes); in SetRatio()
1039 return MFSetAttributeRatio(_spAttributes.Get(), guidKey, unNumerator, unDenominator); in SetRatio()
1045 assert(_spAttributes); in GetSize()
1046 return MFGetAttributeSize(_spAttributes.Get(), guidKey, punWidth, punHeight); in GetSize()
1052 assert(_spAttributes); in SetSize()
1053 return MFSetAttributeSize (_spAttributes.Get(), guidKey, unWidth, unHeight); in SetSize()
1057 _ComPtr<IMFAttributes> _spAttributes; member in CBaseAttributes