Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DSurfaceMediaSource.cpp40 SurfaceMediaSource::SurfaceMediaSource(uint32_t bufferWidth, uint32_t bufferHeight) : in SurfaceMediaSource() argument
41 mWidth(bufferWidth), in SurfaceMediaSource()
55 if (bufferWidth == 0 || bufferHeight == 0) { in SurfaceMediaSource()
56 ALOGE("Invalid dimensions %dx%d", bufferWidth, bufferHeight); in SurfaceMediaSource()
60 mConsumer->setDefaultBufferSize(bufferWidth, bufferHeight); in SurfaceMediaSource()
/frameworks/av/media/libstagefright/omx/
DGraphicBufferSource.cpp40 uint32_t bufferWidth, uint32_t bufferHeight, uint32_t bufferCount, in GraphicBufferSource() argument
67 bufferWidth, bufferHeight, bufferCount); in GraphicBufferSource()
69 if (bufferWidth == 0 || bufferHeight == 0) { in GraphicBufferSource()
70 ALOGE("Invalid dimensions %ux%u", bufferWidth, bufferHeight); in GraphicBufferSource()
79 mConsumer->setDefaultBufferSize(bufferWidth, bufferHeight); in GraphicBufferSource()
DGraphicBufferSource.h52 uint32_t bufferWidth, uint32_t bufferHeight, uint32_t bufferCount,
/frameworks/av/include/media/stagefright/
DSurfaceMediaSource.h72 SurfaceMediaSource(uint32_t bufferWidth, uint32_t bufferHeight);
/frameworks/native/libs/gui/
DGLConsumer.cpp788 float bufferWidth = buf->getWidth(); in computeCurrentTransformMatrixLocked() local
819 if (cropRect.width() < bufferWidth) { in computeCurrentTransformMatrixLocked()
820 tx = (float(cropRect.left) + shrinkAmount) / bufferWidth; in computeCurrentTransformMatrixLocked()
822 bufferWidth; in computeCurrentTransformMatrixLocked()