Lines Matching refs:mHistServer
3822 mHistServer.size = sizeof(camera_preview_histogram_info);
3824 if(allocate_ion_memory(&mHistServer, cnt, ION_IOMMU_HEAP_ID) < 0) {
3829 mHistServer.fd[cnt] = open("/dev/pmem_adsp", O_RDWR|O_SYNC);
3830 if(mHistServer.fd[cnt] <= 0) {
3835 mHistServer.camera_memory[cnt]=mGetMemory(mHistServer.fd[cnt],mHistServer.size, 1, mCallbackCookie);
3836 if(mHistServer.camera_memory[cnt] == NULL) {
3841 mHistServer.camera_memory[cnt]->data ,mHistServer.camera_memory[cnt]->handle,
3842 mHistServer.camera_memory[cnt]->size, mHistServer.camera_memory[cnt]->release);
3845 if (NO_ERROR != sendMappingBuf(0, cnt, mHistServer.fd[cnt],
3846 mHistServer.size, mCameraId,
3865 if(mHistServer.camera_memory[i] != NULL) {
3866 mHistServer.camera_memory[i]->release(mHistServer.camera_memory[i]);
3868 close(mHistServer.fd[i]);
3870 deallocate_ion_memory(&mHistServer, i);