Home
last modified time | relevance | path

Searched refs:mIndex (Results 1 – 25 of 34) sorted by relevance

12

/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/common/inc/
Dvidc_common.h42 #define BITMASK_FLAG(mIndex) ((uint64_t)1 \ argument
43 << ((mIndex) % BITS_PER_INDEX))
44 #define BITMASK_CLEAR(pBufferMask_64,mIndex) ((*pBufferMask_64) \ argument
45 &= ~(BITMASK_FLAG(mIndex)))
46 #define BITMASK_SET(pBufferMask_64,mIndex) ((*pBufferMask_64) \ argument
47 |= BITMASK_FLAG(mIndex))
48 #define BITMASK_PRESENT(pBufferMask_64,mIndex) ((*pBufferMask_64) \ argument
49 & BITMASK_FLAG(mIndex))
50 #define BITMASK_ABSENT(pBufferMask_64,mIndex) (((*pBufferMask_64) \ argument
51 & BITMASK_FLAG(mIndex)) == 0x0)
/hardware/google/aemu/snapshot/
DTextureSaver.cpp48 assert(mIndex.textures.end() == in saveTexture()
49 std::find_if(mIndex.textures.begin(), mIndex.textures.end(), in saveTexture()
53 mIndex.textures.push_back({texId, ftello64(mStream.get())}); in saveTexture()
63 mIndex.startPosInFile = ftello64(mStream.get()); in done()
80 mStream.putBe32(static_cast<uint32_t>(mIndex.version)); in writeIndex()
81 mStream.putBe32(static_cast<uint32_t>(mIndex.textures.size())); in writeIndex()
82 for (const FileIndex::Texture& b : mIndex.textures) { in writeIndex()
93 mStream.putBe64(static_cast<uint64_t>(mIndex.startPosInFile)); in writeIndex()
DTextureLoader.cpp48 assert(mIndex.count(texId)); in loadTexture()
49 HANDLE_EINTR(fseeko64(mStream.get(), mIndex[texId], SEEK_SET)); in loadTexture()
68 assert(mIndex.size() == 0); in readIndex()
80 mIndex.reserve(texCount); in readIndex()
84 mIndex.emplace(tex, filePos); in readIndex()
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/common/inc/
Dvidc_common.h48 #define BITMASK_FLAG(mIndex) ((uint64_t)1 \ argument
49 << ((mIndex) % BITS_PER_INDEX))
50 #define BITMASK_CLEAR(pBufferMask_64,mIndex) ((*pBufferMask_64) \ argument
51 &= ~(BITMASK_FLAG(mIndex)))
52 #define BITMASK_SET(pBufferMask_64,mIndex) ((*pBufferMask_64) \ argument
53 |= BITMASK_FLAG(mIndex))
54 #define BITMASK_PRESENT(pBufferMask_64,mIndex) ((*pBufferMask_64) \ argument
55 & BITMASK_FLAG(mIndex))
56 #define BITMASK_ABSENT(pBufferMask_64,mIndex) (((*pBufferMask_64) \ argument
57 & BITMASK_FLAG(mIndex)) == 0x0)
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/inc/
Domx_video_base.h130 #define BITMASK_SIZE(mIndex) (((mIndex) + BITS_PER_BYTE - 1)/BITS_PER_BYTE) argument
131 #define BITMASK_OFFSET(mIndex) ((mIndex)/BITS_PER_BYTE) argument
132 #define BITMASK_FLAG(mIndex) (1 << ((mIndex) % BITS_PER_BYTE)) argument
133 #define BITMASK_CLEAR(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
134 &= ~(BITMASK_FLAG(mIndex))
135 #define BITMASK_SET(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
136 |= BITMASK_FLAG(mIndex)
137 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] \ argument
138 & BITMASK_FLAG(mIndex))
139 #define BITMASK_ABSENT(mArray,mIndex) (((mArray)[BITMASK_OFFSET(mIndex)] \ argument
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h129 #define BITMASK_SIZE(mIndex) (((mIndex) + BITS_PER_INDEX - 1)/BITS_PER_INDEX) argument
130 #define BITMASK_OFFSET(mIndex) ((mIndex)/BITS_PER_INDEX) argument
131 #define BITMASK_FLAG(mIndex) ((uint64_t)1 << ((mIndex) % BITS_PER_INDEX)) argument
132 #define BITMASK_CLEAR(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
133 &= ~(BITMASK_FLAG(mIndex))
134 #define BITMASK_SET(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
135 |= BITMASK_FLAG(mIndex)
136 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] \ argument
137 & BITMASK_FLAG(mIndex))
138 #define BITMASK_ABSENT(mArray,mIndex) (((mArray)[BITMASK_OFFSET(mIndex)] \ argument
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h126 #define BITMASK_SIZE(mIndex) (((mIndex) + BITS_PER_INDEX - 1)/BITS_PER_INDEX) argument
127 #define BITMASK_OFFSET(mIndex) ((mIndex)/BITS_PER_INDEX) argument
128 #define BITMASK_FLAG(mIndex) ((uint64_t)1 << ((mIndex) % BITS_PER_INDEX)) argument
129 #define BITMASK_CLEAR(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
130 &= ~(BITMASK_FLAG(mIndex))
131 #define BITMASK_SET(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
132 |= BITMASK_FLAG(mIndex)
133 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] \ argument
134 & BITMASK_FLAG(mIndex))
135 #define BITMASK_ABSENT(mArray,mIndex) (((mArray)[BITMASK_OFFSET(mIndex)] \ argument
[all …]
Dvideo_encoder_device_v4l2.h283 struct info mIndex[MAX_V4L2_BUFS]; variable
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h120 #define BITMASK_SIZE(mIndex) (((mIndex) + BITS_PER_INDEX - 1)/BITS_PER_INDEX) argument
121 #define BITMASK_OFFSET(mIndex) ((mIndex)/BITS_PER_INDEX) argument
122 #define BITMASK_FLAG(mIndex) ((uint64_t)1 << ((mIndex) % BITS_PER_INDEX)) argument
123 #define BITMASK_CLEAR(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
124 &= ~(BITMASK_FLAG(mIndex))
125 #define BITMASK_SET(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
126 |= BITMASK_FLAG(mIndex)
127 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] \ argument
128 & BITMASK_FLAG(mIndex))
129 #define BITMASK_ABSENT(mArray,mIndex) (((mArray)[BITMASK_OFFSET(mIndex)] \ argument
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
Domx_vdec.h162 #define BITMASK_SIZE(mIndex) (((mIndex) + BITS_PER_BYTE - 1)/BITS_PER_BYTE) argument
163 #define BITMASK_OFFSET(mIndex) ((mIndex)/BITS_PER_BYTE) argument
164 #define BITMASK_FLAG(mIndex) (1 << ((mIndex) % BITS_PER_BYTE)) argument
165 #define BITMASK_CLEAR(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
166 &= ~(BITMASK_FLAG(mIndex))
167 #define BITMASK_SET(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
168 |= BITMASK_FLAG(mIndex)
169 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] \ argument
170 & BITMASK_FLAG(mIndex))
171 #define BITMASK_ABSENT(mArray,mIndex) (((mArray)[BITMASK_OFFSET(mIndex)] \ argument
[all …]
/hardware/qcom/media/msm8996/videopp/inc/
Domx_vdpp.h130 #define BITMASK_SIZE(mIndex) (((mIndex) + BITS_PER_BYTE - 1)/BITS_PER_BYTE) argument
131 #define BITMASK_OFFSET(mIndex) ((mIndex)/BITS_PER_BYTE) argument
132 #define BITMASK_FLAG(mIndex) (1 << ((mIndex) % BITS_PER_BYTE)) argument
133 #define BITMASK_CLEAR(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
134 &= ~(BITMASK_FLAG(mIndex))
135 #define BITMASK_SET(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
136 |= BITMASK_FLAG(mIndex)
137 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] \ argument
138 & BITMASK_FLAG(mIndex))
139 #define BITMASK_ABSENT(mArray,mIndex) (((mArray)[BITMASK_OFFSET(mIndex)] \ argument
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec_hevc.h149 #define BITMASK_SIZE(mIndex) (((mIndex) + BITS_PER_BYTE - 1)/BITS_PER_BYTE) argument
150 #define BITMASK_OFFSET(mIndex) ((mIndex)/BITS_PER_BYTE) argument
151 #define BITMASK_FLAG(mIndex) (1 << ((mIndex) % BITS_PER_BYTE)) argument
152 #define BITMASK_CLEAR(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
153 &= ~(BITMASK_FLAG(mIndex))
154 #define BITMASK_SET(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
155 |= BITMASK_FLAG(mIndex)
156 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] \ argument
157 & BITMASK_FLAG(mIndex))
158 #define BITMASK_ABSENT(mArray,mIndex) (((mArray)[BITMASK_OFFSET(mIndex)] \ argument
[all …]
Domx_vdec_hevc_swvdec.h162 #define BITMASK_SIZE(mIndex) (((mIndex) + BITS_PER_BYTE - 1)/BITS_PER_BYTE) argument
163 #define BITMASK_OFFSET(mIndex) ((mIndex)/BITS_PER_BYTE) argument
164 #define BITMASK_FLAG(mIndex) (1 << ((mIndex) % BITS_PER_BYTE)) argument
165 #define BITMASK_CLEAR(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
166 &= ~(BITMASK_FLAG(mIndex))
167 #define BITMASK_SET(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
168 |= BITMASK_FLAG(mIndex)
169 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] \ argument
170 & BITMASK_FLAG(mIndex))
171 #define BITMASK_ABSENT(mArray,mIndex) (((mArray)[BITMASK_OFFSET(mIndex)] \ argument
[all …]
Domx_vdec.h163 #define BITMASK_SIZE(mIndex) (((mIndex) + BITS_PER_INDEX - 1)/BITS_PER_INDEX) argument
164 #define BITMASK_OFFSET(mIndex) ((mIndex)/BITS_PER_INDEX) argument
165 #define BITMASK_FLAG(mIndex) ((uint64_t)1 << ((mIndex) % BITS_PER_INDEX)) argument
166 #define BITMASK_CLEAR(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
167 &= ~(BITMASK_FLAG(mIndex))
168 #define BITMASK_SET(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
169 |= BITMASK_FLAG(mIndex)
170 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] \ argument
171 & BITMASK_FLAG(mIndex))
172 #define BITMASK_ABSENT(mArray,mIndex) (((mArray)[BITMASK_OFFSET(mIndex)] \ argument
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec_hevc.h148 #define BITMASK_SIZE(mIndex) (((mIndex) + BITS_PER_BYTE - 1)/BITS_PER_BYTE) argument
149 #define BITMASK_OFFSET(mIndex) ((mIndex)/BITS_PER_BYTE) argument
150 #define BITMASK_FLAG(mIndex) (1 << ((mIndex) % BITS_PER_BYTE)) argument
151 #define BITMASK_CLEAR(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
152 &= ~(BITMASK_FLAG(mIndex))
153 #define BITMASK_SET(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
154 |= BITMASK_FLAG(mIndex)
155 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] \ argument
156 & BITMASK_FLAG(mIndex))
157 #define BITMASK_ABSENT(mArray,mIndex) (((mArray)[BITMASK_OFFSET(mIndex)] \ argument
[all …]
Domx_vdec.h159 #define BITMASK_SIZE(mIndex) (((mIndex) + BITS_PER_INDEX - 1)/BITS_PER_INDEX) argument
160 #define BITMASK_OFFSET(mIndex) ((mIndex)/BITS_PER_INDEX) argument
161 #define BITMASK_FLAG(mIndex) ((uint64_t)1 << ((mIndex) % BITS_PER_INDEX)) argument
162 #define BITMASK_CLEAR(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
163 &= ~(BITMASK_FLAG(mIndex))
164 #define BITMASK_SET(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
165 |= BITMASK_FLAG(mIndex)
166 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] \ argument
167 & BITMASK_FLAG(mIndex))
168 #define BITMASK_ABSENT(mArray,mIndex) (((mArray)[BITMASK_OFFSET(mIndex)] \ argument
[all …]
/hardware/interfaces/automotive/can/1.0/default/libnl++/
DAttributes.cpp26 if (mIndex.has_value()) return *mIndex; in index()
28 mIndex = Index(); in index()
29 auto& index = *mIndex; in index()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h142 #define BITMASK_SIZE(mIndex) (((mIndex) + BITS_PER_INDEX - 1)/BITS_PER_INDEX) argument
143 #define BITMASK_OFFSET(mIndex) ((mIndex)/BITS_PER_INDEX) argument
144 #define BITMASK_FLAG(mIndex) ((uint64_t)1 << ((mIndex) % BITS_PER_INDEX)) argument
145 #define BITMASK_CLEAR(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
146 &= ~(BITMASK_FLAG(mIndex))
147 #define BITMASK_SET(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ argument
148 |= BITMASK_FLAG(mIndex)
149 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] \ argument
150 & BITMASK_FLAG(mIndex))
151 #define BITMASK_ABSENT(mArray,mIndex) (((mArray)[BITMASK_OFFSET(mIndex)] \ argument
[all …]
/hardware/synaptics/wlan/synadhd/wifi_hal/
Dwifi_offload.cpp73 u8 mIndex; member in MKeepAliveCommand
87 …: WifiCommand("MKeepAliveCommand", iface, 0), mIndex(index), mEther_type(ether_type), mIpPkt(ip_pa… in MKeepAliveCommand()
94 : WifiCommand("MKeepAliveCommand", iface, 0), mIndex(index), mType(cmdType) in MKeepAliveCommand()
118 result = request.put_u8(MKEEP_ALIVE_ATTRIBUTE_ID, mIndex); in createRequest()
173 result = request.put_u8(MKEEP_ALIVE_ATTRIBUTE_ID, mIndex); in createRequest()
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dwifi_offload.cpp73 u8 mIndex; member in MKeepAliveCommand
87 …: WifiCommand("MKeepAliveCommand", iface, 0), mIndex(index), mEther_type(ether_type), mIpPkt(ip_pa… in MKeepAliveCommand()
94 : WifiCommand("MKeepAliveCommand", iface, 0), mIndex(index), mType(cmdType) in MKeepAliveCommand()
118 result = request.put_u8(MKEEP_ALIVE_ATTRIBUTE_ID, mIndex); in createRequest()
173 result = request.put_u8(MKEEP_ALIVE_ATTRIBUTE_ID, mIndex); in createRequest()
/hardware/google/aemu/snapshot/include/snapshot/
DTextureSaver.h62 AEMU_EXPORT bool compressed() const override { return mIndex.version > 1; } in compressed()
97 FileIndex mIndex; variable
DTextureLoader.h109 std::unordered_map<uint32_t, int64_t> mIndex; variable
/hardware/google/graphics/gs101/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplayModule.cpp365 mAtcAmbientLight.node = String8::format(ATC_AMBIENT_LIGHT_FILE_NAME, mIndex); in initLbe()
367 mAtcStrength.node = String8::format(ATC_ST_FILE_NAME, mIndex); in initLbe()
369 mAtcEnable.node = String8::format(ATC_ENABLE_FILE_NAME, mIndex); in initLbe()
373 mAtcSubSetting[it->first.c_str()].node = String8::format(it->second.c_str(), mIndex); in initLbe()
626 device->setActiveDisplay(mIndex); in setPowerMode()
635 return (device->getActiveDisplay() != mIndex) && (prevMode == HWC_POWER_MODE_OFF) && in isDisplaySwitched()
/hardware/interfaces/automotive/can/1.0/default/libnl++/include/libnl++/
DAttributes.h166 mutable std::optional<Index> mIndex; variable
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp7313 memset(mIndex, 0, sizeof(mIndex)); in encExtradata()
7357 mIndex[i].status = FREE; in __allocate()
7358 mIndex[i].cookie = NULL; in __allocate()
7370 if (mIndex[i].status == type) { in __get()
7371 mIndex[i].status = BUSY; in __get()
7409 if (mIndex[i].cookie == cookie) { in get()
7447 mIndex[found].status = FOR_CONFIG; in getForConfig()
7467 mIndex[index].status = FREE; in put()
7468 mIndex[index].cookie = NULL; in put()
7506 mIndex[found].cookie = cookie; in setCookieForConfig()
[all …]

12