Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_thread.c34 while (worker->status_ == OK) { // wait in idling mode in thread_loop()
39 worker->status_ = OK; in thread_loop()
54 if (worker->status_ < OK) return; in change_state()
58 while (worker->status_ != OK) { in change_state()
62 if (new_status != OK) { in change_state()
80 change_state(worker, OK); in vp9_worker_sync()
82 assert(worker->status_ <= OK); in vp9_worker_sync()
89 if (worker->status_ < OK) { in vp9_worker_reset()
97 if (ok) worker->status_ = OK; in vp9_worker_reset()
100 worker->status_ = OK; in vp9_worker_reset()
[all …]
Dvp9_thread.h158 OK, // ready to work enumerator
/hardware/libhardware/tests/camera2/
DCameraFrameTests.cpp90 ASSERT_EQ(OK, mDevice->createDefaultRequest(CAMERA2_TEMPLATE_PREVIEW, in TEST_P()
95 ASSERT_EQ(OK, previewRequest.update(ANDROID_REQUEST_OUTPUT_STREAMS, in TEST_P()
99 ASSERT_EQ(OK, previewRequest.update(ANDROID_REQUEST_FRAME_COUNT, in TEST_P()
111 ASSERT_EQ(OK, mDevice->capture(tmpRequest)); in TEST_P()
116 ASSERT_EQ(OK, mDevice->waitForNextFrame(CAMERA_FRAME_TIMEOUT)); in TEST_P()
119 ASSERT_EQ(OK, mDevice->getNextResult(&result)); in TEST_P()
122 ASSERT_EQ(OK, mFrameListener->waitForFrame(CAMERA_FRAME_TIMEOUT)); in TEST_P()
127 ASSERT_EQ(OK, mCpuConsumer->lockNextBuffer(&imgBuffer)); in TEST_P()
128 ASSERT_EQ(OK, mCpuConsumer->unlockBuffer(imgBuffer)); in TEST_P()
Dcamera2_utils.cpp84 return OK; in enqueue()
103 return OK; in dequeue()
134 return OK; in dequeue()
142 if (res != OK) return res; in waitForBuffer()
144 return OK; in waitForBuffer()
151 return OK; in setStreamSlot()
165 return OK; in setStreamSlot()
175 return OK; in setStreamSlot()
184 return OK; in freeBuffers()
214 return OK; in consumer_free()
[all …]
DCameraMultiStreamTests.cpp209 ASSERT_EQ(OK, in SetUp()
282 ASSERT_EQ(OK, mDevice->createDefaultRequest(CAMERA2_TEMPLATE_PREVIEW, in CreateRequests()
284 ASSERT_EQ(OK, previewRequest.update(ANDROID_REQUEST_OUTPUT_STREAMS, in CreateRequests()
286 ASSERT_EQ(OK, previewRequest.update(ANDROID_REQUEST_ID, in CreateRequests()
296 ASSERT_EQ(OK, mDevice->createDefaultRequest( in CreateRequests()
299 ASSERT_EQ(OK, meteringRequest.update( in CreateRequests()
302 ASSERT_EQ(OK, meteringRequest.update( in CreateRequests()
305 ASSERT_EQ(OK, meteringRequest.update( in CreateRequests()
308 ASSERT_EQ(OK, meteringRequest.update( in CreateRequests()
315 ASSERT_EQ(OK, mDevice->createDefaultRequest( in CreateRequests()
[all …]
DCameraBurstTests.cpp189 ASSERT_EQ(OK, mDevice->createDefaultRequest(CAMERA2_TEMPLATE_PREVIEW, in TEST_F()
194 ASSERT_EQ(OK, previewRequest.update(ANDROID_REQUEST_OUTPUT_STREAMS, in TEST_F()
199 ASSERT_EQ(OK, previewRequest.update(ANDROID_CONTROL_MODE, in TEST_F()
203 ASSERT_EQ(OK, previewRequest.update(ANDROID_REQUEST_ID, in TEST_F()
208 ASSERT_EQ(OK, previewRequest.update(ANDROID_REQUEST_FRAME_COUNT, in TEST_F()
220 ASSERT_EQ(OK, tmpRequest.update(ANDROID_SENSOR_EXPOSURE_TIME, in TEST_F()
226 ASSERT_EQ(OK, mDevice->capture(tmpRequest)); in TEST_F()
235 ASSERT_EQ(OK, mDevice->waitForNextFrame(CAMERA_FRAME_TIMEOUT)); in TEST_F()
238 ASSERT_EQ(OK, mDevice->getNextResult(&result)); in TEST_F()
241 ASSERT_EQ(OK, mFrameListener->waitForFrame(CAMERA_FRAME_TIMEOUT)); in TEST_F()
[all …]
DCameraModuleTests.cpp50 if (isDeviceVersionHal2(cameraId, &stat) && stat == OK) { in initializeDevice()
69 if (isDeviceVersionHal2(i, &stat) && stat == OK) { in TEST_F()
71 ASSERT_EQ(OK, initializeDevice(i)) in TEST_F()
101 EXPECT_NE(OK, res); in TEST_F()
114 ASSERT_EQ(OK, mModule->get_camera_info(i, &info)); in TEST_F()
126 EXPECT_NE(OK, mModule->get_camera_info(idx[i], &info)); in TEST_F()
Dcamera2.cpp165 if (err != OK) return err; in configureCameraDevice()
171 if (err != OK) return err; in configureCameraDevice()
174 if (err != OK) return err; in configureCameraDevice()
176 return OK; in configureCameraDevice()
181 if (*cam_dev == NULL ) return OK; in closeCameraDevice()
204 ASSERT_EQ(OK, res); in setUpCamera()
214 ASSERT_EQ(OK, res) << "Failure to configure camera device"; in setUpCamera()
257 ASSERT_EQ(OK, res); in buildOutputResolutions()
297 ASSERT_EQ(OK, res); in getResolutionList()
321 ASSERT_EQ(OK, res); in getResolutionList()
[all …]
DCameraModuleFixture.h89 ASSERT_EQ(OK, mModule->get_camera_info(cameraID, &info)); in CreateCamera()
139 ASSERT_EQ(OK, mDevice->initialize(mModule)) in SetUpMixin()
DCameraStreamFixture.h231 if (res != OK) return res; in waitForFrame()
234 return OK; in waitForFrame()
257 ASSERT_EQ(OK, in CreateStream()
270 ASSERT_EQ(OK, mDevice->deleteStream(mStreamId)); in DeleteStream()
/hardware/intel/common/utils/ISV/base/
Disv_bufmanager.cpp60 return OK; in initBufferInfo()
65 return OK; in initBufferInfo()
106 return OK; in initBufferInfo()
143 return OK; in clearIfNeed()
157 return OK; in setBufferCount()
170 return OK; in freeBuffer()
199 return OK; in useBuffer()
227 return OK; in useBuffer()
255 return OK; in setBuffersFlag()
Disv_processor.cpp251 return OK; in updateFirmwareOutputBufStatus()
330 return OK; in updateFirmwareInputBufStatus()
438 return OK; in configFRC()
461 return OK; in calculateFps()
470 if (OK != calculateFps(buffer->nTimeStamp, &fps)) in configFilters()
473 if (OK != configFRC(fps)) in configFilters()
496 return (mISVWorker->configFilters(mFilters, &mFilterParam) == STATUS_OK) ? OK : UNKNOWN_ERROR; in configFilters()
/hardware/ti/omap4-aah/libtiutils/
DStatus.h36 TI_CAMERA_DEFINE_STATUS_CODE(OK)
/hardware/samsung_slsi/exynos5/libcamera2/
DExynosCamera2.cpp394 return OK; in addOrSize()
407 tag, data, count) ) != OK ) return ret in constructStaticInfo()
699 return OK; in constructStaticInfo()
713 tag, data, count) ) != OK ) return ret in constructDefaultRequest()
987 return OK; in constructDefaultRequest()
DExynosCameraHWInterface2.cpp1675 if (res != OK) { in constructDefaultRequest()
1682 if (res != OK) { in constructDefaultRequest()
6394 if (res != OK) { in HAL2_getCameraInfo()
6400 if (res != OK) { in HAL2_getCameraInfo()
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioSystemLegacy.h32 OK = android::OK, enumerator
/hardware/intel/common/utils/ISV/omx/
Disv_omxcomponent.cpp309 if (error == OK) { in ISV_SetParameter()
344 …if (mISVBufferManager != NULL && OK != mISVBufferManager->setBufferCount(def->nBufferCountActual))… in ISV_SetParameter()
365 … if (mISVBufferManager != NULL && OK != mISVBufferManager->useBuffer(def->nativeBuffer)) { in ISV_SetParameter()
540 if (OK != mISVBufferManager->useBuffer(reinterpret_cast<unsigned long>(pBuffer))) { in ISV_UseBuffer()
594 …if (mISVBufferManager != NULL && OK != mISVBufferManager->freeBuffer(reinterpret_cast<unsigned lon… in ISV_FreeBuffer()
643 if (OK != isvBuffer->initBufferInfo(mHackFormat)) { in ISV_FillThisBuffer()
/hardware/ti/omap4-aah/camera/
DMemoryManager.cpp61 return OK; in initialize()
DCameraHal_Module.cpp122 return OK; in camera_set_extended_preview_ops()
541 return OK; in camera_send_command()
DCameraHal.cpp3790 return OK; in sendCommand()
3794 if ( ret == OK && !previewEnabled() in sendCommand()
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp595 return OK; in audio_config_compare()
1302 if (res != OK) { in audio_config_compare()
1516 if (res != OK) { in audio_config_compare()
/hardware/samsung_slsi/exynos5/libcamera/
DExynosCameraHWInterface.cpp202 return OK; in setPreviewWindow()
275 return OK; in setPreviewWindow()
329 int ret = OK; in startPreview()
362 ret = OK; in startPreview()
394 return OK; in storeMetaDataInBuffers()
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXCapabilities.cpp1112 return OK; in insertFramerates()
1686 return OK; in insertMechanicalMisalignmentCorrection()
2410 if ( ret != OK ) { in getCaps()
DOMXCameraAdapter.cpp88 if ( ret != OK ) { in initialize()
789 return OK; in saveBufferToFile()
3693 if (saveBufferStatus != OK) { in OMXCameraAdapterFillBufferDone()
3748 if (saveBufferStatus != OK) { in OMXCameraAdapterFillBufferDone()
/hardware/qcom/audio/legacy/alsa_sound/
Dalsa_default.cpp637 if(err != OK) { in s_open()