Home
last modified time | relevance | path

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

123

/hardware/qcom/sm8150/display/libhistogram/
Dhistogram_collector.cpp73 std::array<uint64_t, numBuckets> samples = rebucketTo8Buckets(all_sample_buckets); in Dump() local
84 for (auto i = 0u; i < samples.size(); i++) { in Dump()
85 ss << "\t" << i / static_cast<float>(samples.size()) << in Dump()
86 " to " << ( i + 1 ) / static_cast<float>(samples.size()) << "\t: " << in Dump()
87 samples[i] << '\n'; in Dump()
109 std::array<uint64_t, HIST_V_SIZE> samples; in collect() local
112 std::tie(num_frames, samples) = histogram->collect_cumulative(); in collect()
114 std::tie(num_frames, samples) = histogram->collect_after(timestamp); in collect()
116 std::tie(num_frames, samples) = histogram->collect_max(max_frames); in collect()
118 std::tie(num_frames, samples) = histogram->collect_max_after(timestamp, max_frames); in collect()
[all …]
Dhistogram_collector.h54 uint64_t* samples[NUM_HISTOGRAM_COLOR_COMPONENTS],
/hardware/interfaces/audio/effect/6.0/
DIVisualizerEffect.hal24 MAX = 1024, // maximum capture size in samples
25 MIN = 128 // minimum capture size in samples
29 * Sets the number PCM samples in the capture.
34 * Gets the number PCM samples in the capture.
86 * number of samples to capture is specified by 'setCaptureSize' parameter.
89 * @return samples samples in 8 bit unsigned format (0 = 0x80)
91 capture() generates (Result retval, vec<uint8_t> samples);
Dtypes.hal83 * | | | function reads the samples, send them to HW
85 * | | | the processed samples and returns them
224 * samples for all channels at a given time. Frame size for unspecified format
/hardware/interfaces/audio/effect/4.0/
DIVisualizerEffect.hal24 MAX = 1024, // maximum capture size in samples
25 MIN = 128 // minimum capture size in samples
29 * Sets the number PCM samples in the capture.
34 * Gets the number PCM samples in the capture.
86 * number of samples to capture is specified by 'setCaptureSize' parameter.
89 * @return samples samples in 8 bit unsigned format (0 = 0x80)
91 capture() generates (Result retval, vec<uint8_t> samples);
Dtypes.hal82 * | | | function reads the samples, send them to HW
84 * | | | the processed samples and returns them
222 * samples for all channels at a given time. Frame size for unspecified format
/hardware/interfaces/audio/effect/5.0/
DIVisualizerEffect.hal24 MAX = 1024, // maximum capture size in samples
25 MIN = 128 // minimum capture size in samples
29 * Sets the number PCM samples in the capture.
34 * Gets the number PCM samples in the capture.
86 * number of samples to capture is specified by 'setCaptureSize' parameter.
89 * @return samples samples in 8 bit unsigned format (0 = 0x80)
91 capture() generates (Result retval, vec<uint8_t> samples);
Dtypes.hal83 * | | | function reads the samples, send them to HW
85 * | | | the processed samples and returns them
224 * samples for all channels at a given time. Frame size for unspecified format
/hardware/interfaces/audio/effect/2.0/
DIVisualizerEffect.hal24 MAX = 1024, // maximum capture size in samples
25 MIN = 128 // minimum capture size in samples
29 * Sets the number PCM samples in the capture.
34 * Gets the number PCM samples in the capture.
86 * number of samples to capture is specified by 'setCaptureSize' parameter.
89 * @return samples samples in 8 bit unsigned format (0 = 0x80)
91 capture() generates (Result retval, vec<uint8_t> samples);
Dtypes.hal82 * | | | function reads the samples, send them to HW
84 * | | | the processed samples and returns them
222 * samples for all channels at a given time. Frame size for unspecified format
/hardware/qcom/sdm845/display/libhistogram/
Dhistogram_collector.cpp309 std::array<uint64_t, numBuckets> samples = rebucketTo8Buckets(all_sample_buckets); in Dump() local
320 for (auto i = 0u; i < samples.size(); i++) { in Dump()
321 ss << "\t" << i / static_cast<float>(samples.size()) << in Dump()
322 " to " << ( i + 1 ) / static_cast<float>(samples.size()) << "\t: " << in Dump()
323 samples[i] << '\n'; in Dump()
345 std::array<uint64_t, HIST_V_SIZE> samples; in collect() local
348 std::tie(num_frames, samples) = histogram->collect_cumulative(); in collect()
350 std::tie(num_frames, samples) = histogram->collect_after(timestamp); in collect()
352 std::tie(num_frames, samples) = histogram->collect_max(max_frames); in collect()
354 std::tie(num_frames, samples) = histogram->collect_max_after(timestamp, max_frames); in collect()
[all …]
Dhistogram_collector.h48 uint64_t* samples[NUM_HISTOGRAM_COLOR_COMPONENTS],
/hardware/google/av/media/codecs/flac/
DC2SoftFlacEnc.cpp299 const FLAC__byte buffer[], size_t bytes, unsigned samples, in onEncodedFlacAvailable() argument
302 ALOGV("%s (bytes=%zu, samples=%u, curr_frame=%u)", __func__, bytes, samples, in onEncodedFlacAvailable()
305 if (samples == 0) { in onEncodedFlacAvailable()
312 if ((samples == 0) || !mEncoderWriteData) { in onEncodedFlacAvailable()
315 ALOGV("ignoring %zu bytes of header data (samples=%d)", bytes, samples); in onEncodedFlacAvailable()
325 mProcessedSamples += samples; in onEncodedFlacAvailable()
379 unsigned samples, in flacEncoderWriteCallback() argument
383 buffer, bytes, samples, current_frame); in flacEncoderWriteCallback()
DC2SoftFlacEnc.h58 size_t bytes, unsigned samples, unsigned current_frame,
61 const FLAC__byte buffer[], size_t bytes, unsigned samples,
/hardware/google/av/media/codecs/aac/
DC2SoftAacDec.h99 bool outputDelayRingBufferPutSamples(INT_PCM *samples, int numSamples);
100 int32_t outputDelayRingBufferGetSamples(INT_PCM *samples, int numSamples);
DC2SoftAacDec.cpp359 bool C2SoftAacDec::outputDelayRingBufferPutSamples(INT_PCM *samples, int32_t numSamples) { in outputDelayRingBufferPutSamples() argument
372 mOutputDelayRingBuffer[mOutputDelayRingBufferWritePos++] = samples[i]; in outputDelayRingBufferPutSamples()
382 mOutputDelayRingBuffer[mOutputDelayRingBufferWritePos] = samples[i]; in outputDelayRingBufferPutSamples()
393 int32_t C2SoftAacDec::outputDelayRingBufferGetSamples(INT_PCM *samples, int32_t numSamples) { in outputDelayRingBufferGetSamples() argument
404 if (samples != nullptr) { in outputDelayRingBufferGetSamples()
406 samples[i] = mOutputDelayRingBuffer[mOutputDelayRingBufferReadPos++]; in outputDelayRingBufferGetSamples()
418 if (samples != nullptr) { in outputDelayRingBufferGetSamples()
419 samples[i] = mOutputDelayRingBuffer[mOutputDelayRingBufferReadPos]; in outputDelayRingBufferGetSamples()
/hardware/qcom/audio/legacy/alsa_sound/
DAudioStreamInALSA.cpp332 int samples = bytes >> 1; in read() local
344 if (processed_pending > (samples - processed)) { in read()
345 processed_pending = (samples - processed); in read()
359 if (processed >= samples) { in read()
412 ALOGV("do_while loop: processed=%d, samples=%d\n", processed, samples); in read()
413 } while (mHandle->handle && processed < samples); in read()
/hardware/interfaces/camera/metadata/3.3/
Dtypes.hal118 * <p>An array of timestamps of OIS samples, in nanoseconds.</p>
124 * <p>An array of shifts of OIS samples, in x direction.</p>
130 * <p>An array of shifts of OIS samples, in y direction.</p>
/hardware/google/av/media/codecs/opus/
DC2SoftOpusDec.cpp387 int64_t samples = ns_to_samples( *(reinterpret_cast<int64_t*> in process() local
390 mCodecDelay = samples; in process()
394 mSeekPreRoll = samples; in process()
/hardware/interfaces/audio/policy/1.0/xml/pfw_schemas/
DREADME.md15 **You may refer to samples at
16 <https://github.com/01org/parameter-framework-samples>.**
/hardware/interfaces/power/stats/1.0/
DIPowerStats.hal53 * @param samplingRate Frequency(in Hz) at which samples should be
90 * @return numSamples Number of samples which will be generated in timeMs.
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_display_primary.h94 … uint64_t* samples[NUM_HISTOGRAM_COLOR_COMPONENTS]) override;
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display_builtin.h109 … uint64_t* samples[NUM_HISTOGRAM_COLOR_COMPONENTS]) override;
/hardware/interfaces/audio/4.0/
Dtypes.hal130 * Positive linear gain applied to the track samples. 0 being muted and 1 is no attenuation,
146 * Positive linear gain applied to the track samples. 0 being muted and 1 is no attenuation,
/hardware/interfaces/graphics/composer/2.3/utils/passthrough/include/composer-passthrough/2.3/
DHwcHal.h215 uint64_t* samples[] = {sampleComponent0.data(), sampleComponent1.data(), in getDisplayedContentSample() local
218 &frameCount, size, samples); in getDisplayedContentSample()

123