Home
last modified time | relevance | path

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

12

/hardware/interfaces/camera/device/3.2/default/
DCameraDeviceSession.cpp361 auto batch = std::make_shared<InflightBatch>(); in registerBatch() local
362 batch->mFirstFrame = frameNumber; in registerBatch()
363 batch->mBatchSize = batchSize; in registerBatch()
364 batch->mLastFrame = batch->mFirstFrame + batch->mBatchSize - 1; in registerBatch()
365 batch->mNumPartialResults = mNumPartialResults; in registerBatch()
367 batch->mBatchBufs.emplace(id, batch->mBatchSize); in registerBatch()
370 mInflightBatches.push_back(batch); in registerBatch()
398 std::shared_ptr<InflightBatch> batch = mInflightBatches[0]; in checkAndRemoveFirstBatch() local
401 Mutex::Autolock _l(batch->mLock); in checkAndRemoveFirstBatch()
402 if (batch->allDelivered()) { in checkAndRemoveFirstBatch()
[all …]
DCameraDeviceSession.h255 std::shared_ptr<InflightBatch> batch, uint32_t lastPartialResultIdx);
263 void sendBatchShutterCbsLocked(std::shared_ptr<InflightBatch> batch);
265 void sendBatchBuffersLocked(std::shared_ptr<InflightBatch> batch);
268 std::shared_ptr<InflightBatch> batch, const std::vector<int>& streams);
/hardware/libhardware/modules/sensors/dynamic_sensor/
Dsensors.cpp41 device.batch = BatchWrapper; in SensorContext()
68 int SensorContext::batch( in batch() function in SensorContext
72 return mDynamicSensorManager->batch(handle, sampling_period_ns, max_report_latency_ns); in batch()
110 return reinterpret_cast<SensorContext *>(dev)->batch( in BatchWrapper()
DBaseSensorObject.h51 virtual int batch(int64_t samplePeriod, int64_t batchPeriod) = 0; in REF_BASE()
DDynamicSensorManager.cpp95 int DynamicSensorManager::batch(int handle, nsecs_t sample_period, nsecs_t batch_period) { in batch() function in android::SensorHalExt::DynamicSensorManager
102 return s->batch(sample_period, batch_period); in batch()
107 return batch(handle, sample_period, 0); in setDelay()
DDummyDynamicAccelDaemon.h49 virtual int batch(nsecs_t sample_period, nsecs_t batch_period);
Dsensors.h52 int batch(int handle, int64_t sampling_period_ns,
DDynamicSensorManager.h59 int batch(int handle, nsecs_t sample_period, nsecs_t batch_period);
DDummyDynamicAccelDaemon.cpp130 int DummyDynamicAccelDaemon::DummySensor::batch(int64_t /*samplePeriod*/, int64_t /*batchPeriod*/) { in batch() function in android::SensorHalExt::DummyDynamicAccelDaemon::DummySensor
DHidRawSensor.h44 virtual int batch(int64_t samplePeriod, int64_t batchPeriod); // unit nano-seconds
/hardware/interfaces/gnss/1.0/
DIGnssBatching.hal60 * Time interval between samples in the location batch, in nano
82 * Return the batch size (in number of GnssLocation objects)
92 * @return batchSize number of location objects supported per batch
98 * asleep and the device can batch locations in the hardware.
138 * Closes the interface. If any batch operations are in progress,
139 * they must be stopped. If any locations are in the hardware batch, they
DIGnssBatchingCallback.hal22 * Called when a batch of locations is output, by various means, including
/hardware/invensense/65xx/libsensors_iio/
Dsensors_mpl.cpp95 int batch(int handle, int flags, int64_t period_ns, int64_t timeout);
319 int sensors_poll_context_t::batch(int handle, int flags, int64_t period_ns, in batch() function in sensors_poll_context_t
323 return mSensor->batch(handle, flags, period_ns, timeout); in batch()
370 return ctx->batch(handle, flags, period_ns, timeout); in poll__batch()
400 dev->device.batch = poll__batch; in open_sensors()
DSensorBase.h97 virtual int batch(int handle, int flags, int64_t period_ns, int64_t timeout);
DSensorBase.cpp199 int SensorBase::batch(int handle, int flags, int64_t period_ns, int64_t timeout) in batch() function in SensorBase
/hardware/interfaces/camera/device/3.4/default/
DCameraDeviceSession.cpp585 std::shared_ptr<InflightBatch> batch = pair.second; in processCaptureResult_3_4() local
587 Mutex::Autolock _l(batch->mLock); in processCaptureResult_3_4()
589 if (batch->mRemoved) { in processCaptureResult_3_4()
598 batch->mResultMds[result.v3_2.partialResult].mMds.push_back( in processCaptureResult_3_4()
606 auto it = batch->mBatchBufs.find(buffer.streamId); in processCaptureResult_3_4()
607 if (it != batch->mBatchBufs.end()) { in processCaptureResult_3_4()
631 if (result.v3_2.frameNumber == batch->mLastFrame) { in processCaptureResult_3_4()
634 sendBatchMetadataLocked(batch, result.v3_2.partialResult); in processCaptureResult_3_4()
638 sendBatchBuffersLocked(batch, filledStreams); in processCaptureResult_3_4()
644 if (result.v3_2.frameNumber == batch->mLastFrame) { in processCaptureResult_3_4()
/hardware/interfaces/camera/device/1.0/
DICameraDeviceCallback.hal98 * Send a batch of image data buffer to the camera service, with timestamps
106 * @param batch a vector messages. Each message contains a image buffer and a timestamp. The
111 handleCallbackTimestampBatch(DataCallbackMsg msgType, vec<HandleTimestampMessage> batch);
/hardware/interfaces/sensors/1.0/default/
DSensors.h47 Return<Result> batch(
DSensors.cpp234 Return<Result> Sensors::batch( in batch() function in android::hardware::sensors::V1_0::implementation::Sensors
239 mSensorDevice->batch( in batch()
/hardware/invensense/6515/libsensors_iio/
DSensorBase.h98 virtual int batch(int handle, int flags, int64_t period_ns, int64_t timeout);
DSensorBase.cpp202 int SensorBase::batch(int handle, int flags, int64_t period_ns, int64_t timeout) in batch() function in SensorBase
/hardware/libhardware/modules/sensors/dynamic_sensor/test/
DHidRawDeviceTest.cpp96 sensor->batch(100LL*1000*1000 /*ns*/, 0); in test()
/hardware/interfaces/neuralnetworks/1.0/
Dtypes.hal119 * output[batch, row, col, channel] =
120 * sum_{i, j}(input[batch, row + i, col + j, channel]) / sum(1)
208 * batch of images, applying the filter to each window of each image of the
216 * output[batch, row, col, channel] =
218 * input[batch, row + i, col + j, k] *
410 * * 0: The output 4-D tensor, of shape [batch, height*block_size,
582 * output[batch, row, col, channel] =
583 * input[batch, row, col, channel] /
584 * sqrt(sum_{c} pow(input[batch, row, col, c], 2))
612 * output[batch, row, col, channel] =
[all …]
/hardware/interfaces/neuralnetworks/1.1/
Dtypes.hal32 * This operation reshapes the batch dimension (dimension 0) into M + 1
33 * dimensions of shape block_shape + [batch], interleaves these blocks back
155 * the "batch" dimension (0) such that in the output, the spatial dimensions
156 * [1, ..., M] correspond to the position within the grid, and the batch
158 * original batch position. Prior to division into blocks, the spatial
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp514 Return<Result> batch( in batch() function in SensorsHidlTest
518 return S()->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()
980 ASSERT_EQ(batch(handle, samplingPeriodInNs, batchingPeriodInNs), Result::OK); in testStreamingOperation()
1116 ASSERT_EQ(batch(handle, firstCollectionPeriod, batchingPeriodInNs), Result::OK); in testSamplingRateHotSwitchOperation()
1123 ASSERT_EQ(batch(handle, secondCollectionPeriod, batchingPeriodInNs), Result::OK); in testSamplingRateHotSwitchOperation()
1234 ASSERT_EQ(batch(handle, minSamplingPeriodInNs, INT64_MAX), Result::OK); in testBatchingOperation()

12