/hardware/qcom/msm8998/original-kernel-headers/media/ |
H A D | msm_sde_rotator.h | 69 * @index: id number of the buffer 74 __u32 index; member in struct:msm_sde_rotator_fence 82 * @index: id number of the buffer 88 __u32 index; member in struct:msm_sde_rotator_comp_ratio
|
/hardware/ril/libril/ |
H A D | ril_event.cpp | 134 static void removeWatch(struct ril_event * ev, int index) argument 137 watch_table[index] = NULL; 138 ev->index = -1; 257 ev->index = -1; 272 ev->index = i; 320 if (ev->index < 0 || ev->index >= MAX_FD_EVENTS) { 325 removeWatch(ev, ev->index);
|
/hardware/intel/img/hwcomposer/merrifield/common/devices/ |
H A D | ExternalDevice.cpp | 316 bool ExternalDevice::setActiveConfig(int index) argument 319 if (index == 0) 327 if (index >= 0 && index < static_cast<int>(mDisplayConfigs.size())) { 328 DisplayConfig *config = mDisplayConfigs.itemAt(index); 330 mActiveDisplayConfig = index;
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/devices/ |
H A D | ExternalDevice.cpp | 372 bool ExternalDevice::setActiveConfig(int index) argument 375 if (index == 0) 383 if (index >= 0 && index < static_cast<int>(mDisplayConfigs.size())) { 384 DisplayConfig *config = mDisplayConfigs.itemAt(index); 386 mActiveDisplayConfig = index;
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
H A D | QCameraStream.cpp | 196 * @index : index of the stream buffer to invalidate 203 int32_t QCameraStream::invalidate_buf(uint32_t index, void *user_data) argument 216 for (int i = 0; i < stream->mBufDefs[index].user_buf.bufs_used; i++) { 217 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; 221 return stream->invalidateBuf(index); 233 * @index : index of the stream buffer to clean invalidate 240 int32_t QCameraStream::clean_invalidate_buf(uint32_t index, void *user_data) argument 253 for (int i = 0; i < stream->mBufDefs[index] 277 clean_buf(uint32_t index, void *user_data) argument 1224 bufDone(uint32_t index) argument 1278 int index = -1; local 1574 mapNewBuffer(uint32_t index) argument 2283 invalidateBuf(uint32_t index) argument 2304 cleanInvalidateBuf(uint32_t index) argument 2325 cleanBuf(uint32_t index) argument [all...] |
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
H A D | Drm.cpp | 274 int index = 0; local 278 index = i; 281 index = i; 286 mode = &output->connector->modes[index]; 318 int index = 0; local 322 index = i; 327 index = i; 332 mode = &output->connector->modes[index]; 521 void Drm::resetOutput(int index) argument 523 DrmOutput *output = &mOutputs[index]; 560 int index = 0; local 572 setDrmMode(int index, drmModeModeInfoPtr mode) argument [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/ |
H A D | Drm.cpp | 278 int index = 0; local 282 index = i; 285 index = i; 290 mode = &output->connector->modes[index]; 322 int index = 0; local 326 index = i; 331 index = i; 336 mode = &output->connector->modes[index]; 562 void Drm::resetOutput(int index) argument 564 DrmOutput *output = &mOutputs[index]; 600 int index = 0; local 612 setDrmMode(int index, drmModeModeInfoPtr mode) argument [all...] |
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
H A D | hw_info.cpp | 75 uint32_t index = 0; local 80 while (tmp_token && index < max_token) { 81 tokens[index++] = tmp_token; 84 *count = index; 118 for (int index = 0; index < kBwModeMax; index++) { 119 bw_info->total_bw_limit[index] = UINT32(hw_resource->max_bandwidth_low); 120 bw_info->pipe_bw_limit[index] = hw_resource->max_pipe_bw; 330 // If the driver doesn't spell out the wb index, assum [all...] |
H A D | hw_primary.cpp | 186 DLOGI("Active config index %u", active_config_index_); 205 DisplayError HWPrimary::GetDisplayAttributes(uint32_t index, argument 211 if (IsResolutionSwitchEnabled() && index >= display_configs_.size()) { 218 display_attributes->x_pixels = display_configs_.at(index).x_pixels; 219 display_attributes->y_pixels = display_configs_.at(index).y_pixels; 271 DisplayError HWPrimary::SetDisplayAttributes(uint32_t index) { argument 278 if (index >= display_configs_.size()) { 290 ssize_t written = Sys::pwrite_(fd, display_config_strings_.at(index).c_str(), 291 display_config_strings_.at(index).length(), 0); 293 DLOGI("Successfully set config %u", index); 342 GetConfigIndex(uint32_t mode, uint32_t *index) argument [all...] |
/hardware/interfaces/camera/common/1.0/default/ |
H A D | CameraModule.cpp | 292 ssize_t index = mCameraInfoMap.indexOfKey(cameraId); local 293 if (index == NAME_NOT_FOUND) { 313 index = mCameraInfoMap.add(cameraId, cameraInfo); 316 assert(index != NAME_NOT_FOUND); 318 *info = mCameraInfoMap[index]; 323 ssize_t index = mDeviceVersionMap.indexOfKey(cameraId); local 324 if (index == NAME_NOT_FOUND) { 333 index = mDeviceVersionMap.add(cameraId, deviceVersion); 335 assert(index != NAME_NOT_FOUND); 336 return mDeviceVersionMap[index]; [all...] |
/hardware/qcom/display/msm8994/libhwcomposer/ |
H A D | hwc_mdpcomp.cpp | 105 for(int index = 0; index < mCurrentFrame.layerCount; index++ ) 107 index, 108 (mCurrentFrame.isFBComposed[index] ? "YES" : "NO"), 109 mCurrentFrame.layerToMDP[index], 110 (mCurrentFrame.isFBComposed[index] ? 111 (mCurrentFrame.drop[index] ? "DROP" : 113 (mCurrentFrame.isFBComposed[index] ? mCurrentFrame.fbZ : 114 mCurrentFrame.mdpToLayer[mCurrentFrame.layerToMDP[index]] 1036 int index = ctx->mPtorInfo.layerIndex[j]; local 1841 for layer %d",__FUNCTION__, index); local 1851 layer %d",__FUNCTION__, index); local 2102 allocSplitVGPipesfor4k2k(hwc_context_t *ctx, int index) argument 2334 int index = ctx->mPtorInfo.getPTORArrayIndex(i); local 2583 int index = ctx->mPtorInfo.getPTORArrayIndex(i); local [all...] |
H A D | hwc_utils.h | 140 //App Buffer Composition index 157 int getPTORArrayIndex(int index) { argument 160 if(index == layerIndex[i]) 223 hwc_layer_1_t* getLayer(uint32_t index) const; 224 overlay::Rotator* getRot(uint32_t index) const; 225 bool isRotCached(uint32_t index) const; 240 int32_t getModeForIndex(int32_t index); 244 int applyModeByIndex(int index); 269 inline hwc_layer_1_t* LayerRotMap::getLayer(uint32_t index) const { 270 if(index > [all...] |
/hardware/libhardware/modules/camera/3_4/ |
H A D | v4l2_wrapper.cpp | 353 ++format_query.index; 358 "ENUM_FMT fails at index %d: %s", format_query.index, strerror(errno)); 396 ++size_query.index; 399 HAL_LOGE("ENUM_FRAMESIZES fails at index %d: %s", 400 size_query.index, 475 ++duration_query.index; 478 HAL_LOGE("ENUM_FRAMEINTERVALS fails at index %d: %s", 479 duration_query.index, 590 // Find a free buffer index 593 int index = -1; local [all...] |
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
H A D | omx_video_base.cpp | 758 DEBUG_PRINT_ERROR("ERROR: omx_video::send_command-->bad port index\n"); 766 DEBUG_PRINT_ERROR("ERROR: omx_video::send_command-->bad port index \n"); 1585 int index = portFmt->nIndex; local 1587 if (index > 1) { 1592 if (index == 1) { 1594 //index 0 - YUV420SP 1595 //index 1 - opaque which internally maps to YUV420SP. 1597 portFmt->nIndex = index; //restore index set from client 1777 DEBUG_PRINT_LOW("Supporting capability index i 2491 unsigned int index = 0; local 2561 unsigned int index = 0; local 2620 unsigned index = 0; local 3660 component_role_enum(OMX_IN OMX_HANDLETYPE hComp, OMX_OUT OMX_U8* role, OMX_IN OMX_U32 index) argument 4637 convert_queue_buffer(OMX_HANDLETYPE hComp, struct pmem &Input_pmem_info,unsigned &index) argument 4729 unsigned address = 0,p2,id, index = 0; local [all...] |
/hardware/google/av/codec2/vndk/util/ |
H A D | C2InterfaceUtils.cpp | 707 uint32_t index; 722 : field(field_), parent(parent_), index(index_), depth(depth_), 762 size_t C2FieldUtils::Info::index() const { 763 return _mImpl->index; 912 /// returns a leaf info object at a specific index for a child field 914 const C2FieldDescriptor &field, uint32_t index) { 921 OffsetFieldDescriptor(field, parentOffset + index * GetSize(field)), 922 mHead /* parent */, index, mHead == nullptr ? 0 : mHead->depth + 1, 927 /// returns whether this struct index have been traversed to get to this field 928 bool visited(C2Param::CoreIndex index) cons [all...] |
H A D | C2InterfaceHelper.cpp | 75 void addDownDependency(C2Param::Index index) { argument 76 mDownDependencies.push_back(index); 86 index(), (C2ParamDescriptor::attrib_t)mAttrib, 146 C2Param::Index index() const { function in class:C2InterfaceHelper::ParamHelper::Impl 150 return mDefaultValue->index(); 264 void C2InterfaceHelper::ParamHelper::addDownDependency(C2Param::Index index) { argument 265 return mImpl->addDownDependency(index); 296 C2Param::Index C2InterfaceHelper::ParamHelper::index() const { function in class:C2InterfaceHelper::ParamHelper 297 return mImpl->index(); 356 C2ParamField C2InterfaceHelper::FieldHelper::makeParamField(C2Param::Index index) cons 428 Field(std::shared_ptr<FieldHelper> helper, C2Param::Index index) argument 543 GetBaseOffset(const std::shared_ptr<C2ParamReflector> &reflector, C2Param::CoreIndex index, size_t offset) argument [all...] |
/hardware/qcom/display/msm8909/sdm/libs/core/fb/ |
H A D | hw_primary.cpp | 178 DLOGI("Active config index %u", active_config_index_); 193 DisplayError HWPrimary::GetDisplayAttributes(uint32_t index, argument 199 if (IsResolutionSwitchEnabled() && index >= display_configs_.size()) { 206 display_attributes->x_pixels = display_configs_.at(index).x_pixels; 207 display_attributes->y_pixels = display_configs_.at(index).y_pixels; 261 DisplayError HWPrimary::SetDisplayAttributes(uint32_t index) { argument 268 if (index >= display_configs_.size()) { 280 ssize_t written = Sys::pwrite_(fd, display_config_strings_.at(index).c_str(), 281 display_config_strings_.at(index).length(), 0); 283 DLOGI("Successfully set config %u", index); 332 GetConfigIndex(uint32_t mode, uint32_t *index) argument [all...] |
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/ |
H A D | hw_primary.cpp | 178 DLOGI("Active config index %u", active_config_index_); 193 DisplayError HWPrimary::GetDisplayAttributes(uint32_t index, argument 199 if (IsResolutionSwitchEnabled() && index >= display_configs_.size()) { 206 display_attributes->x_pixels = display_configs_.at(index).x_pixels; 207 display_attributes->y_pixels = display_configs_.at(index).y_pixels; 261 DisplayError HWPrimary::SetDisplayAttributes(uint32_t index) { argument 268 if (index >= display_configs_.size()) { 280 ssize_t written = Sys::pwrite_(fd, display_config_strings_.at(index).c_str(), 281 display_config_strings_.at(index).length(), 0); 283 DLOGI("Successfully set config %u", index); 332 GetConfigIndex(uint32_t mode, uint32_t *index) argument [all...] |
/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
H A D | hw_primary.cpp | 178 DLOGI("Active config index %u", active_config_index_); 193 DisplayError HWPrimary::GetDisplayAttributes(uint32_t index, argument 199 if (IsResolutionSwitchEnabled() && index >= display_configs_.size()) { 206 display_attributes->x_pixels = display_configs_.at(index).x_pixels; 207 display_attributes->y_pixels = display_configs_.at(index).y_pixels; 261 DisplayError HWPrimary::SetDisplayAttributes(uint32_t index) { argument 268 if (index >= display_configs_.size()) { 280 ssize_t written = Sys::pwrite_(fd, display_config_strings_.at(index).c_str(), 281 display_config_strings_.at(index).length(), 0); 283 DLOGI("Successfully set config %u", index); 332 GetConfigIndex(uint32_t mode, uint32_t *index) argument [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/ |
H A D | AnnRGBPlane.cpp | 26 AnnRGBPlane::AnnRGBPlane(int index, int type, int disp) argument 27 : DisplayPlane(index, type, disp) 97 ssize_t index = mScalingBufferMap.indexOfKey(handle); local 98 if (index < 0) { 119 mScalingTarget = mScalingBufferMap.valueAt(index); 206 mContext.ctx.sp_ctx.index = mIndex; 243 VLOGTRACE("type = %d, index = %d, cntr = %#x, linoff = %#x, stride = %#x," 272 arg.plane.index = mIndex; 299 arg.plane.index = mIndex; 353 mContext.ctx.prim_ctx.index [all...] |
H A D | AnnCursorPlane.cpp | 27 AnnCursorPlane::AnnCursorPlane(int index, int disp) argument 28 : DisplayPlane(index, PLANE_CURSOR, disp) 169 mContext.ctx.cs_ctx.index = mIndex; 200 arg.plane.index = mIndex; 223 arg.plane.index = mIndex;
|
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/ |
H A D | TngCursorPlane.cpp | 28 TngCursorPlane::TngCursorPlane(int index, int disp) argument 29 : DisplayPlane(index, PLANE_CURSOR, disp) 171 mContext.ctx.cs_ctx.index = mIndex; 202 arg.plane.index = mIndex; 225 arg.plane.index = mIndex;
|
H A D | TngSpritePlane.cpp | 25 TngSpritePlane::TngSpritePlane(int index, int disp) argument 26 : SpritePlaneBase(index, disp) 89 mContext.ctx.sp_ctx.index = mIndex; 139 arg.plane.index = mIndex; 175 arg.plane.index = mIndex;
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
H A D | QCamera3Channel.cpp | 456 * DESCRIPTION: return stream object by index 463 QCamera3Stream *QCamera3Channel::getStreamByIndex(uint32_t index) argument 465 if (index < m_numStreams) { 466 return mStreams[index]; 572 uint32_t index = offset.mp[i].offset; local 574 index += offset.mp[i-1].len; 577 data = (void *)((uint8_t *)frame->buffer + index); 580 index += (uint32_t)offset.mp[i].stride; 862 LOGE("Error, Invalid index for buffer"); 1107 int index; local 1260 int index = mMemory.getMatchBufIndex((void*)buffer); local 2135 int index; local 3873 int index = mMemory.getMatchBufIndex((void*)buffer); local 4088 queueJpegSetting(uint32_t index, metadata_buffer_t *metadata) argument 4309 int index = mMemory.getMatchBufIndex((void*)outBuffer); local 5158 int index; local 5630 int32_t index = mGrallocMem.getMatchBufIndex((void*)buffer); local 5675 int32_t index = mGrallocMem.getBufferIndex(frameNumber); local 5765 int32_t index = mGrallocMem.getBufferIndex(frameNumber); local [all...] |
/hardware/intel/img/psb_video/src/ |
H A D | psb_cmdbuf.c | 251 * Returns a reference index that can be used to refer to "buf" in 847 uint32_t index; local 979 for (index = 0; index < debug_lldma_count; index++) { 981 pasDmaList += index; 1007 for (index = 0; index < debug_dump_count; index++) { 1009 psb__trace_message("Buffer %d = '%s' offset = %08x size = %08x\n", index, debug_dump_nam [all...] |