Home
last modified time | relevance | path

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

12

/hardware/interfaces/camera/device/3.2/default/
DCameraDeviceSession.cpp338 auto batch = std::make_shared<InflightBatch>(); in registerBatch() local
339 batch->mFirstFrame = requests[0].frameNumber; in registerBatch()
340 batch->mBatchSize = requests.size(); in registerBatch()
341 batch->mLastFrame = batch->mFirstFrame + batch->mBatchSize - 1; in registerBatch()
342 batch->mNumPartialResults = mNumPartialResults; in registerBatch()
344 batch->mBatchBufs.emplace(id, batch->mBatchSize); in registerBatch()
347 mInflightBatches.push_back(batch); in registerBatch()
375 std::shared_ptr<InflightBatch> batch = mInflightBatches[0]; in checkAndRemoveFirstBatch() local
378 Mutex::Autolock _l(batch->mLock); in checkAndRemoveFirstBatch()
379 if (batch->allDelivered()) { in checkAndRemoveFirstBatch()
[all …]
DCameraDeviceSession.h246 void sendBatchShutterCbsLocked(std::shared_ptr<InflightBatch> batch);
248 void sendBatchBuffersLocked(std::shared_ptr<InflightBatch> batch);
251 std::shared_ptr<InflightBatch> batch, const std::vector<int>& streams);
253 std::shared_ptr<InflightBatch> batch, uint32_t lastPartialResultIdx);
/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/invensense/6515/libsensors_iio/
Dsensors_mpl.cpp118 int batch(int handle, int flags, int64_t period_ns, int64_t timeout);
357 int sensors_poll_context_t::batch(int handle, int flags, int64_t period_ns, in batch() function in sensors_poll_context_t
361 return mSensor->batch(handle, flags, period_ns, timeout); in batch()
432 return ctx->batch(handle, flags, period_ns, timeout); in poll__batch()
469 dev->device.batch = poll__batch; in open_sensors()
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/interfaces/neuralnetworks/1.0/
Dtypes.hal106 * output[batch, row, col, channel] =
107 * sum_{i, j}(input[batch, row + i, col + j, channel]) / sum(1)
156 * The CONV_2D op sweeps a 2-D filter that can mix channels together over a batch of
162 * output[batch, row, col, channel] =
164 * input[batch, row + i, col + j, k] *
267 * 0: The output 4-D tensor, of shape [batch, height*block_size, width*block_size,
377 * output[batch, row, col, channel] =
378 * input[batch, row, col, channel] /
379 * sqrt(sum_{c} pow(input[batch, row, col, c], 2))
400 * output[batch, row, col, channel] =
[all …]
/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/libhardware/modules/sensors/
Dmultihal.cpp198 int batch(int handle, int flags, int64_t period_ns, int64_t timeout);
403 int sensors_poll_context_t::batch(int handle, int flags, int64_t period_ns, int64_t timeout) { in batch() function in sensors_poll_context_t
409 retval = v1->batch(v1, local_handle, flags, period_ns, timeout); in batch()
557 return ctx->batch(handle, flags, period_ns, timeout); in device__batch()
811 dev->proxy_device.batch = device__batch; in open_sensors()
/hardware/libhardware/modules/sensors/dynamic_sensor/test/
DHidRawDeviceTest.cpp96 sensor->batch(100LL*1000*1000 /*ns*/, 0); in test()
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp469 Return<Result> batch( in batch() function in SensorsHidlTest
473 return S()->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()
934 ASSERT_EQ(batch(handle, samplingPeriodInNs, batchingPeriodInNs), Result::OK); in testStreamingOperation()
1065 ASSERT_EQ(batch(handle, minSamplingPeriodInNs, batchingPeriodInNs), Result::OK); in testSamplingRateHotSwitchOperation()
1071 ASSERT_EQ(batch(handle, maxSamplingPeriodInNs, batchingPeriodInNs), Result::OK); in testSamplingRateHotSwitchOperation()
1171 ASSERT_EQ(batch(handle, minSamplingPeriodInNs, INT64_MAX), Result::OK); in testBatchingOperation()

12