Lines Matching refs:buf
45 int32_t* const buf = static_cast<int32_t*>(buffer);
46 reinterpret_cast<float&>(buf[0]) = mMaxLuminance;
47 reinterpret_cast<float&>(buf[1]) = mMaxAverageLuminance;
48 reinterpret_cast<float&>(buf[2]) = mMinLuminance;
49 buf[3] = static_cast<int32_t>(mSupportedHdrTypes.size());
51 buf[4 + i] = mSupportedHdrTypes[i];
67 int32_t const * const buf = static_cast<int32_t const *>(buffer);
68 const size_t itemCount = size_t(buf[3]);
75 mMaxLuminance = reinterpret_cast<float const&>(buf[0]);
76 mMaxAverageLuminance = reinterpret_cast<float const&>(buf[1]);
77 mMinLuminance = reinterpret_cast<float const&>(buf[2]);
81 mSupportedHdrTypes[i] = buf[4 + i];