Searched refs:index (Results 1 - 25 of 330) sorted by relevance

1234567891011>>

/hardware/intel/img/hwcomposer/common/buffers/
H A DBufferCache.cpp37 ssize_t index = mBufferPool.indexOfKey(handle); local
38 if (index >= 0) {
44 index = mBufferPool.add(handle, mapper);
45 if (index < 0) {
46 ELOGTRACE("failed to add mapper. err = %d", index);
55 ssize_t index; local
62 index = mBufferPool.removeItem(mapper->getKey());
63 if (index < 0) {
64 WLOGTRACE("failed to remove mapper. err = %d", index);
73 ssize_t index local
86 getMapper(size_t index) argument
[all...]
/hardware/qcom/display/msm8960/liboverlay/
H A Doverlay.h79 /* set the framebuffer index for external display */
81 /* Returns framebuffer index of the current external display */
91 /*Validate index range, abort if invalid */
92 void validate(int index);
111 static void setUse(int index);
112 static void resetUse(int index);
113 static bool isUsed(int index);
114 static bool isNotUsed(int index);
117 static void setAllocation(int index);
118 static void resetAllocation(int index);
153 validate(int index) argument
187 setUse(int index) argument
191 resetUse(int index) argument
195 isUsed(int index) argument
199 isNotUsed(int index) argument
207 setAllocation(int index) argument
211 resetAllocation(int index) argument
215 isAllocated(int index) argument
219 isNotAllocated(int index) argument
[all...]
H A Doverlay.cpp103 int index = (int)dest; local
106 mPipeBook[index].mDisplay = dpy;
107 if(not mPipeBook[index].valid()) {
108 mPipeBook[index].mPipe = new GenericPipe(dpy);
124 int index = (int)dest; local
125 validate(index);
127 if(mPipeBook[index].mPipe->commit()) {
132 int dpy = mPipeBook[index].mDisplay;
142 int index = (int)dest; local
144 validate(index);
154 int index = (int)dest; local
161 int index = (int)dest; local
168 int index = (int)dest; local
179 int index = (int)dest; local
199 int index = (int)dest; local
223 int index = 0; local
256 int index = minfo->pndx; local
[all...]
/hardware/libhardware/modules/usbaudio/
H A Dalsa_device_profile.c67 size_t index; local
68 for (index = 0; index < ARRAY_SIZE(profile->formats); index++) {
69 profile->formats[index] = PCM_FORMAT_INVALID;
72 for (index = 0; index < ARRAY_SIZE(profile->sample_rates); index++) {
73 profile->sample_rates[index] = 0;
76 for (index
151 size_t index; local
177 size_t index; local
227 unsigned index; local
290 unsigned index; local
404 unsigned index; local
428 unsigned index = 0; local
471 unsigned index; local
[all...]
/hardware/samsung_slsi/exynos5/mobicore/common/LogWrapper/
H A Dlog.h143 uint32_t index = 0; local
152 index += sprintf(&buffer[index], "%s", szDescriptor);
159 index += sprintf(&buffer[index], "memory dump");
161 index += sprintf(&buffer[index], " (0x%08x, %d bytes)", (uint32_t)blob,sizeOfBlob);
163 index = 0;
167 index += sprintf(&buffer[index], "Dat
[all...]
/hardware/qcom/display/msm8974/liboverlay/
H A Doverlay.h113 /*Validate index range, abort if invalid */
114 void validate(int index);
133 static void setUse(int index);
134 static void resetUse(int index);
135 static bool isUsed(int index);
136 static bool isNotUsed(int index);
139 static void setAllocation(int index);
140 static void resetAllocation(int index);
141 static bool isAllocated(int index);
142 static bool isNotAllocated(int index);
177 validate(int index) argument
227 setUse(int index) argument
231 resetUse(int index) argument
235 isUsed(int index) argument
239 isNotUsed(int index) argument
247 setAllocation(int index) argument
251 resetAllocation(int index) argument
255 isAllocated(int index) argument
259 isNotAllocated(int index) argument
[all...]
H A Doverlay.cpp106 int index = (int)dest; local
107 mPipeBook[index].mDisplay = dpy;
108 mPipeBook[index].mMixer = mixer;
109 if(not mPipeBook[index].valid()) {
110 mPipeBook[index].mPipe = new GenericPipe(dpy);
138 int index = (int)dest; local
139 validate(index);
141 if(mPipeBook[index].mPipe->commit()) {
144 if(sForceSetBitmap & (1 << mPipeBook[index].mDisplay)) {
145 mPipeBook[index]
163 int index = (int)dest; local
175 int index = (int)dest; local
182 int index = (int)dest; local
189 int index = (int)dest; local
200 int index = (int)dest; local
220 int index = (int)dest; local
244 int index = 0; local
277 int index = minfo->pndx; local
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
H A Dvp9_lookahead.c24 unsigned int read_idx; /* Read index */
25 unsigned int write_idx; /* Write index */
30 /* Return the buffer at the given absolute index and increment the index */
33 unsigned int index = *idx; local
34 struct lookahead_entry *buf = ctx->buf + index;
36 assert(index < ctx->max_sz);
37 if (++index >= ctx->max_sz)
38 index -= ctx->max_sz;
39 *idx = index;
177 vp9_lookahead_peek(struct lookahead_ctx *ctx, int index) argument
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
H A Dlookahead.c22 unsigned int read_idx; /* Read index */
23 unsigned int write_idx; /* Write index */
28 /* Return the buffer at the given absolute index and increment the index */
33 unsigned int index = *idx; local
34 struct lookahead_entry *buf = ctx->buf + index;
36 assert(index < ctx->max_sz);
37 if(++index >= ctx->max_sz)
38 index -= ctx->max_sz;
39 *idx = index;
194 vp8_lookahead_peek(struct lookahead_ctx *ctx, unsigned int index, int direction) argument
[all...]
/hardware/qcom/audio/legacy/libalsa-intf/
H A Dalsa_ucm.c110 int verb_index, list_size, index = 0; local
126 while(strncmp(uc_mgr->card_ctxt_ptr->verb_list[index],
128 ALOGV("Index:%d Verb:%s", index,
129 uc_mgr->card_ctxt_ptr->verb_list[index]);
130 index++;
134 return index;
144 verb_list[index].use_case_name,
145 (strlen(verb_list[index].use_case_name)+1))) {
146 index++;
148 verb_index = index;
270 int index, verb_index = 0, ret = 0; local
468 int index, list_size, ret = -EINVAL; local
542 int index = 0, list_size = 0, rx_dev_status = 0, tx_dev_status = 0; local
582 int list_size, index, verb_index, ret = 0, voice_acdb = 0, rx_id, tx_id; local
707 int ret = 0, index = 0, verb_index; local
761 int i, ret = 0, index = 0, verb_index, mixer_count; local
962 int list_size, index, uc_index, ret = 0, intdev_flag = 0; local
1056 int list_size, index, dev_index, uc_index, ret = 0; local
1117 int list_size, index = 0, ret = -ENODEV, flag = 0, intdev_flag = 0; local
1284 int ret = -EINVAL, index = 0; local
1386 int verb_index, list_size, index = 0, ret = -EINVAL; local
1611 int verb_index, list_size, index = 0, ret = -EINVAL; local
1883 int index, ret = -EINVAL; local
2038 int index, list_size, ret = 0; local
2123 int fd, index = 0, ret = 0, rc = 0; local
2282 int fd, verb_count, index = 0, ret = 0, rc; local
2454 int verb_count = 0, device_count = 0, mod_count = 0, index = -1, ret = 0; local
2870 snd_ucm_parse_verb(snd_use_case_mgr_t **uc_mgr, const char *file_name, int index) argument
3482 int ret = -EINVAL, i, index = 0, count = 0; local
3585 int case_index = 0, index = 0, mindex = 0; local
3649 int index = 0, verb_index = 0; local
3766 snd_ucm_get_device_node(struct snd_ucm_ident_node *head, int index) argument
3814 snd_ucm_get_value_at_index(struct snd_ucm_ident_node *head, int index) argument
3841 int index = 0; local
3858 int index = 0; local
[all...]
/hardware/intel/img/hwcomposer/ips/common/
H A DSpritePlaneBase.cpp23 SpritePlaneBase::SpritePlaneBase(int index, int disp) argument
24 : DisplayPlane(index, PLANE_SPRITE, disp),
/hardware/qcom/display/msm8084/liboverlay/
H A Doverlay.h154 /*Validate index range, abort if invalid */
155 void validate(int index);
193 static void setUse(int index);
194 static void resetUse(int index);
195 static bool isUsed(int index);
196 static bool isNotUsed(int index);
199 static void setAllocation(int index);
200 static void resetAllocation(int index);
201 static bool isAllocated(int index);
202 static bool isNotAllocated(int index);
247 validate(int index) argument
331 setUse(int index) argument
335 resetUse(int index) argument
339 isUsed(int index) argument
343 isNotUsed(int index) argument
351 setAllocation(int index) argument
355 resetAllocation(int index) argument
359 isAllocated(int index) argument
363 isNotAllocated(int index) argument
[all...]
/hardware/qcom/display/msm8226/liboverlay/
H A Doverlay.h140 /*Validate index range, abort if invalid */
141 void validate(int index);
167 static void setUse(int index);
168 static void resetUse(int index);
169 static bool isUsed(int index);
170 static bool isNotUsed(int index);
173 static void setAllocation(int index);
174 static void resetAllocation(int index);
175 static bool isAllocated(int index);
176 static bool isNotAllocated(int index);
221 validate(int index) argument
305 setUse(int index) argument
309 resetUse(int index) argument
313 isUsed(int index) argument
317 isNotUsed(int index) argument
325 setAllocation(int index) argument
329 resetAllocation(int index) argument
333 isAllocated(int index) argument
337 isNotAllocated(int index) argument
[all...]
H A Doverlay.cpp140 int index = (int)dest; local
141 mPipeBook[index].mDisplay = dpy;
142 mPipeBook[index].mMixer = mixer;
143 if(not mPipeBook[index].valid()) {
144 mPipeBook[index].mPipe = new GenericPipe(dpy);
145 mPipeBook[index].mSession = PipeBook::NONE;
180 int index = (int)dest; local
181 validate(index);
183 if(mPipeBook[index].mPipe->commit()) {
187 int dpy = mPipeBook[index]
200 int index = (int)dest; local
212 int index = (int)dest; local
219 int index = (int)dest; local
226 int index = (int)dest; local
233 int index = (int)dest; local
244 int index = (int)dest; local
264 int index = (int)dest; local
288 int index = 0; local
323 int index = minfo->pndx; local
[all...]
/hardware/intel/img/hwcomposer/common/planes/
H A DDisplayPlaneManager.cpp125 void DisplayPlaneManager::putPlane(int index, uint32_t& mask) argument
127 if (index < 0 || index >= 32)
130 int bit = (1 << index);
133 WLOGTRACE("bit %d was set", index);
140 int DisplayPlaneManager::getPlane(uint32_t& mask, int index) argument
142 if (!mask || index < 0 || index > mTotalPlaneCount)
145 int bit = (1 << index);
148 return index;
154 getPlane(int type, int index) argument
196 int index; local
212 isFreePlane(int type, int index) argument
261 int index = plane.getIndex(); local
[all...]
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
H A DOMXReprocess.cpp115 for ( int index = 0 ; index < portData->mMaxQueueable ; index++ ) {
117 portData->mBufferHeader[index]->pBuffer,
118 portData->mBufferHeader[index]->nOffset,
119 portData->mBufferHeader[index]->nFilledLen);
120 portData->mStatus[index] = OMXCameraPortParameters::FILL;
122 (OMX_BUFFERHEADERTYPE*)portData->mBufferHeader[index]);
166 for (int index = 0 ; index < portDat
[all...]
/hardware/qcom/audio/hal/
H A Dplatform_info.c80 int index; local
87 index = platform_get_usecase_index((char *)attr[1]);
88 if (index < 0) {
117 if (platform_set_usecase_pcm_id(index, type, id) < 0) {
130 int index; local
137 index = platform_get_snd_device_index((char *)attr[1]);
138 if (index < 0) {
150 if (platform_set_snd_device_backend(index, attr[3]) < 0) {
162 int index; local
169 index
[all...]
/hardware/qcom/msm8x74/kernel-headers/media/
H A Dmsmb_generic_buf_mgr.h27 uint32_t index; member in struct:msm_buf_mngr_info
/hardware/qcom/msm8x74/original-kernel-headers/media/
H A Dmsmb_generic_buf_mgr.h9 uint32_t index; member in struct:msm_buf_mngr_info
/hardware/invensense/60xx/libsensors/
H A DMPLSensor.h80 void gyroHandler(sensors_event_t *data, uint32_t *pendmask, int index);
81 void accelHandler(sensors_event_t *data, uint32_t *pendmask, int index);
82 void compassHandler(sensors_event_t *data, uint32_t *pendmask, int index);
83 void rvHandler(sensors_event_t *data, uint32_t *pendmask, int index);
84 void laHandler(sensors_event_t *data, uint32_t *pendmask, int index);
85 void gravHandler(sensors_event_t *data, uint32_t *pendmask, int index);
86 void orienHandler(sensors_event_t *data, uint32_t *pendmask, int index);
/hardware/qcom/gps/msm8960/utils/
H A Dloc_log.cpp136 int index = 0; local
139 index = getTargetGnssType(target);
140 if( index >= target_name_num || index < 0)
141 index = target_name_num - 1;
145 loc_get_name_from_val(target_name, target_name_num, (long)index) );
149 loc_get_name_from_val(target_name, target_name_num, (long)index) );
/hardware/qcom/gps/utils/
H A Dloc_log.cpp136 int index = 0; local
139 index = getTargetGnssType(target);
140 if( index >= target_name_num || index < 0)
141 index = target_name_num - 1;
145 loc_get_name_from_val(target_name, target_name_num, (long)index) );
149 loc_get_name_from_val(target_name, target_name_num, (long)index) );
/hardware/intel/img/hwcomposer/include/
H A DDisplayPlaneManager.h80 int getPlane(uint32_t& mask, int index);
81 DisplayPlane* getPlane(int type, int index);
83 void putPlane(int index, uint32_t& mask);
85 bool isFreePlane(int type, int index);
86 virtual DisplayPlane* allocPlane(int index, int type) = 0;
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/
H A DThermalZone.java120 int index, calIndex;
127 for (index = 0; index < mNumberOfInstances[mCurrThermalState + 1]; index++) {
128 calIndex = mRecordedValuesHead - index;
134 return predictedTemp / index;
159 for (int index = 2; index < getMaxStates(); index++) {
160 int curstate = index
195 getStateAsString(int index) argument
328 getPollDelay(int index) argument
369 getZoneTempThreshold(int index) argument
[all...]
/hardware/intel/img/hwcomposer/ips/anniedale/
H A DAnnPlaneManager.cpp31 int index; member in struct:android::intel::PlaneDescription
38 // it is used to fast locate plane index and type
54 int index; // based on overlay position member in struct:android::intel::ZOrderDescription
139 DisplayPlane* AnnPlaneManager::allocPlane(int index, int type) argument
145 plane = new AnnRGBPlane(index, DisplayPlane::PLANE_PRIMARY, index/*disp*/);
148 plane = new AnnRGBPlane(index, DisplayPlane::PLANE_SPRITE, 0/*disp*/);
151 plane = new AnnOverlayPlane(index, 0/*disp*/);
154 plane = new AnnCursorPlane(index, index /*dis
235 int index = 0; local
[all...]

Completed in 1121 milliseconds

1234567891011>>