Home
last modified time | relevance | path

Searched refs:tmpBuffer (Results 1 – 7 of 7) sorted by relevance

/hardware/ti/omap4xxx/camera/
DCameraHalUtilClasses.cpp213 char *tmpBuffer = NULL; in parseAreas() local
224 tmpBuffer = ( char * ) malloc(areaLength); in parseAreas()
225 if ( NULL == tmpBuffer ) in parseAreas()
230 memcpy(tmpBuffer, area, areaLength); in parseAreas()
232 pArea = strtok_r(tmpBuffer, startToken, &ctx); in parseAreas()
327 if ( NULL != tmpBuffer ) in parseAreas()
329 free(tmpBuffer); in parseAreas()
DAppCallbackNotifier.cpp416 camera_memory_t *tmpBuffer = mRequestMemory(-1, 1, 1, NULL); in notifyEvent() local
419 tmpBuffer, in notifyEvent()
426 if ( NULL != tmpBuffer ) { in notifyEvent()
427 tmpBuffer->release(tmpBuffer); in notifyEvent()
DCameraHal.cpp3083 char tmpBuffer[PARAM_BUFFER + 1]; in isResolutionValid() local
3095 status = snprintf(tmpBuffer, PARAM_BUFFER, "%dx%d", width, height); in isResolutionValid()
3103 pos = strstr(supportedResolutions, tmpBuffer); in isResolutionValid()
3163 char tmpBuffer[PARAM_BUFFER + 1]; in isParameterValid() local
3174 status = snprintf(tmpBuffer, PARAM_BUFFER, "%d", param); in isParameterValid()
3182 pos = strstr(supportedParams, tmpBuffer); in isParameterValid()
3270 char tmpBuffer[PARAM_BUFFER + 1]; in insertSupportedParams() local
/hardware/ti/omap4-aah/camera/
DCameraHalUtilClasses.cpp211 char *tmpBuffer = NULL; in parseAreas() local
222 tmpBuffer = ( char * ) malloc(areaLength); in parseAreas()
223 if ( NULL == tmpBuffer ) in parseAreas()
228 memcpy(tmpBuffer, area, areaLength); in parseAreas()
230 pArea = strtok_r(tmpBuffer, startToken, &ctx); in parseAreas()
325 if ( NULL != tmpBuffer ) in parseAreas()
327 free(tmpBuffer); in parseAreas()
DAppCallbackNotifier.cpp428 camera_memory_t *tmpBuffer = mRequestMemory(-1, 1, 1, NULL); in notifyEvent() local
431 tmpBuffer, in notifyEvent()
438 if ( NULL != tmpBuffer ) { in notifyEvent()
439 tmpBuffer->release(tmpBuffer); in notifyEvent()
DCameraHal.cpp693 char tmpBuffer[MAX_PROP_VALUE_LENGTH]; in setParameters() local
695 … sprintf(tmpBuffer, "%d,%d", framerate * CameraHal::VFR_SCALE, framerate * CameraHal::VFR_SCALE); in setParameters()
698 mParameters.set(android::CameraParameters::KEY_PREVIEW_FPS_RANGE, tmpBuffer); in setParameters()
699 CAMHAL_LOGDB("FPS Range = %s", tmpBuffer); in setParameters()
4195 char tmpBuffer[MAX_PROP_VALUE_LENGTH]; in isResolutionValid() local
4205 status = snprintf(tmpBuffer, MAX_PROP_VALUE_LENGTH - 1, "%dx%d", width, height); in isResolutionValid()
4211 ret = isParameterValid(tmpBuffer, supportedResolutions); in isResolutionValid()
4296 char tmpBuffer[MAX_PROP_VALUE_LENGTH]; in isParameterValid() local
4305 status = snprintf(tmpBuffer, MAX_PROP_VALUE_LENGTH - 1, "%d", param); in isParameterValid()
4311 ret = isParameterValid(tmpBuffer, supportedParams); in isParameterValid()
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXCapabilities.cpp261 char tmpBuffer[FRAMERATE_COUNT]; in encodeFramerateCap() local
285 memset(tmpBuffer, 0, FRAMERATE_COUNT); in encodeFramerateCap()
286 snprintf(tmpBuffer, FRAMERATE_COUNT - 1, "%u,", ( unsigned int ) framerateMax); in encodeFramerateCap()
287 strncat(buffer, tmpBuffer, bufferSize - 1); in encodeFramerateCap()
292 memset(tmpBuffer, 0, FRAMERATE_COUNT); in encodeFramerateCap()
293 snprintf(tmpBuffer, FRAMERATE_COUNT - 1, "%u,", ( unsigned int ) framerateMin); in encodeFramerateCap()
294 strncat(buffer, tmpBuffer, bufferSize - 1); in encodeFramerateCap()