Home
last modified time | relevance | path

Searched refs:maxFrames (Results 1 – 24 of 24) sorted by relevance

/frameworks/av/media/libnbaio/
DPipe.cpp28 Pipe::Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer) : in Pipe() argument
31 mMaxFrames(roundup(maxFrames)), in Pipe()
/frameworks/av/media/libnbaio/include/media/nbaio/
DPipe.h36 Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer = NULL);
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerInternal.java246 int displayId, boolean enable, int componentMask, int maxFrames); in setDisplayedContentSamplingEnabled() argument
260 int displayId, long maxFrames, long timestamp); in getDisplayedContentSample() argument
/frameworks/av/media/libnbaio/include_mono/media/nbaio/
DMonoPipe.h70 size_t maxFrames() const { return mMaxFrames; } in maxFrames() function
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.h163 uint64_t maxFrames) = 0;
164 virtual status_t getDisplayedContentSample(DisplayId displayId, uint64_t maxFrames,
308 uint8_t componentMask, uint64_t maxFrames) override;
309 status_t getDisplayedContentSample(DisplayId displayId, uint64_t maxFrames, uint64_t timestamp,
DHWC2.h198 bool enabled, uint8_t componentMask, uint64_t maxFrames) const = 0;
200 uint64_t maxFrames, uint64_t timestamp,
280 uint64_t maxFrames) const override;
281 hal::Error getDisplayedContentSample(uint64_t maxFrames, uint64_t timestamp,
DComposerHal.h212 uint8_t componentMask, uint64_t maxFrames) = 0;
213 virtual Error getDisplayedContentSample(Display display, uint64_t maxFrames, uint64_t timestamp,
459 uint64_t maxFrames) override;
460 Error getDisplayedContentSample(Display display, uint64_t maxFrames, uint64_t timestamp,
DHWComposer.cpp778 uint8_t componentMask, uint64_t maxFrames) { in setDisplayContentSamplingEnabled() argument
783 maxFrames); in setDisplayContentSamplingEnabled()
791 status_t HWComposer::getDisplayedContentSample(DisplayId displayId, uint64_t maxFrames, in getDisplayedContentSample() argument
795 mDisplayData[displayId].hwcDisplay->getDisplayedContentSample(maxFrames, timestamp, in getDisplayedContentSample()
DHWC2.cpp434 uint64_t maxFrames) const { in setDisplayContentSamplingEnabled()
436 mComposer.setDisplayContentSamplingEnabled(mId, enabled, componentMask, maxFrames); in setDisplayContentSamplingEnabled()
440 Error Display::getDisplayedContentSample(uint64_t maxFrames, uint64_t timestamp, in getDisplayedContentSample() argument
442 auto intError = mComposer.getDisplayedContentSample(mId, maxFrames, timestamp, outStats); in getDisplayedContentSample()
DComposerHal.cpp1134 uint8_t componentMask, uint64_t maxFrames) { in setDisplayContentSamplingEnabled() argument
1142 maxFrames); in setDisplayContentSamplingEnabled()
1145 Error Composer::getDisplayedContentSample(Display display, uint64_t maxFrames, uint64_t timestamp, in getDisplayedContentSample() argument
1154 mClient_2_3->getDisplayedContentSample(display, maxFrames, timestamp, in getDisplayedContentSample()
/frameworks/av/media/libaaudio/examples/loopback/src/analyzer/
DLatencyAnalyzer.h105 void allocate(int maxFrames) { in allocate() argument
106 mData = std::make_unique<float[]>(maxFrames); in allocate()
107 mMaxFrames = maxFrames; in allocate()
/frameworks/native/libs/gui/include/gui/
DISurfaceComposer.h394 uint64_t maxFrames) = 0;
400 virtual status_t getDisplayedContentSample(const sp<IBinder>& display, uint64_t maxFrames,
DSurfaceComposerClient.h574 uint8_t componentMask, uint64_t maxFrames);
576 static status_t getDisplayedContentSample(const sp<IBinder>& display, uint64_t maxFrames,
/frameworks/native/libs/gui/
DISurfaceComposer.cpp797 uint8_t componentMask, uint64_t maxFrames) { in setDisplayContentSamplingEnabled() argument
803 data.writeUint64(maxFrames); in setDisplayContentSamplingEnabled()
810 virtual status_t getDisplayedContentSample(const sp<IBinder>& display, uint64_t maxFrames, in getDisplayedContentSample() argument
818 data.writeUint64(maxFrames); in getDisplayedContentSample()
1741 uint64_t maxFrames = 0; in onTransact() local
1762 result = data.readUint64(&maxFrames); in onTransact()
1769 static_cast<uint8_t>(componentMask), maxFrames); in onTransact()
1775 uint64_t maxFrames = 0; in onTransact() local
1778 status_t result = data.readUint64(&maxFrames); in onTransact()
1791 result = getDisplayedContentSample(display, maxFrames, timestamp, &stats); in onTransact()
DSurfaceComposerClient.cpp1853 uint64_t maxFrames) { in setDisplayContentSamplingEnabled() argument
1856 maxFrames); in setDisplayContentSamplingEnabled()
1860 uint64_t maxFrames, uint64_t timestamp, in getDisplayedContentSample() argument
1862 return ComposerService::getComposerService()->getDisplayedContentSample(display, maxFrames, in getDisplayedContentSample()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java1446 int displayId, boolean enable, int componentMask, int maxFrames) { in setDisplayedContentSamplingEnabledInternal() argument
1452 token, enable, componentMask, maxFrames); in setDisplayedContentSamplingEnabledInternal()
1457 long maxFrames, long timestamp) { in getDisplayedContentSampleInternal() argument
1462 return SurfaceControl.getDisplayedContentSample(token, maxFrames, timestamp); in getDisplayedContentSampleInternal()
2669 int displayId, boolean enable, int componentMask, int maxFrames) { in setDisplayedContentSamplingEnabled() argument
2671 displayId, enable, componentMask, maxFrames); in setDisplayedContentSamplingEnabled()
2676 long maxFrames, long timestamp) { in getDisplayedContentSample() argument
2677 return getDisplayedContentSampleInternal(displayId, maxFrames, timestamp); in getDisplayedContentSample()
/frameworks/base/core/java/android/view/
DSurfaceControl.java168 boolean enable, int componentMask, int maxFrames); in nativeSetDisplayedContentSamplingEnabled() argument
1562 IBinder displayToken, boolean enable, int componentMask, int maxFrames) { in setDisplayedContentSamplingEnabled() argument
1571 displayToken, enable, componentMask, maxFrames); in setDisplayedContentSamplingEnabled()
1578 IBinder displayToken, long maxFrames, long timestamp) { in getDisplayedContentSample() argument
1582 return nativeGetDisplayedContentSample(displayToken, maxFrames, timestamp); in getDisplayedContentSample()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerClient.h206 uint64_t maxFrames) override;
207 V2_1::Error getDisplayedContentSample(uint64_t display, uint64_t maxFrames, uint64_t timestamp,
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.h341 uint64_t maxFrames) override;
343 Display display, uint64_t maxFrames, uint64_t timestamp,
Dvr_hwc.cpp1144 uint64_t maxFrames) { in setDisplayedContentSamplingEnabled() argument
1148 Error VrHwc::getDisplayedContentSample(Display display, uint64_t maxFrames, in getDisplayedContentSample() argument
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp710 jobject tokenObj, jboolean enable, jint componentMask, jint maxFrames) { in nativeSetDisplayedContentSamplingEnabled() argument
713 token, enable, componentMask, maxFrames); in nativeSetDisplayedContentSamplingEnabled()
718 jlong maxFrames, jlong timestamp) { in nativeGetDisplayedContentSample() argument
723 token, maxFrames, timestamp, &stats); in nativeGetDisplayedContentSample()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h478 uint8_t componentMask, uint64_t maxFrames) override;
479 status_t getDisplayedContentSample(const sp<IBinder>& displayToken, uint64_t maxFrames,
DSurfaceFlinger.cpp1386 uint64_t maxFrames) { in setDisplayContentSamplingEnabled() argument
1391 maxFrames); in setDisplayContentSamplingEnabled()
1401 uint64_t maxFrames, uint64_t timestamp, in getDisplayedContentSample() argument
1410 return getHwComposer().getDisplayedContentSample(*displayId, maxFrames, timestamp, outStats); in getDisplayedContentSample()
/frameworks/av/services/audioflinger/
DThreads.cpp3100 (pipe->maxFrames() * 7) / 8 : mNormalFrameCount * 2); in threadLoop_write()
4437 (monoPipe->maxFrames() * 7) / 8 : mNormalFrameCount * 2); in MixerThread()
4619 const long long pipeFrames = monoPipe->maxFrames() - monoPipe->availableToWrite(); in threadLoop_standby()
4722 const size_t pipeFrames = monoPipe->maxFrames(); in threadLoop_sleepTime()