Home
last modified time | relevance | path

Searched refs:bufferWidth (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libstagefright/
DSurfaceMediaSource.cpp38 SurfaceMediaSource::SurfaceMediaSource(uint32_t bufferWidth, uint32_t bufferHeight) : in SurfaceMediaSource() argument
39 mWidth(bufferWidth), in SurfaceMediaSource()
51 if (bufferWidth == 0 || bufferHeight == 0) { in SurfaceMediaSource()
52 ALOGE("Invalid dimensions %dx%d", bufferWidth, bufferHeight); in SurfaceMediaSource()
56 mBufferQueue->setDefaultBufferSize(bufferWidth, bufferHeight); in SurfaceMediaSource()
/frameworks/av/include/media/stagefright/
DSurfaceMediaSource.h70 SurfaceMediaSource(uint32_t bufferWidth, uint32_t bufferHeight);
/frameworks/native/libs/gui/
DSurfaceTexture.cpp568 float bufferWidth = buf->getWidth(); in computeCurrentTransformMatrix() local
599 if (cropRect.width() < bufferWidth) { in computeCurrentTransformMatrix()
600 tx = (float(cropRect.left) + shrinkAmount) / bufferWidth; in computeCurrentTransformMatrix()
602 bufferWidth; in computeCurrentTransformMatrix()