Home
last modified time | relevance | path

Searched refs:bufferWidth (Results 1 – 5 of 5) 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()
53 if (bufferWidth == 0 || bufferHeight == 0) { in SurfaceMediaSource()
54 ALOGE("Invalid dimensions %dx%d", bufferWidth, bufferHeight); in SurfaceMediaSource()
58 mBufferQueue->setDefaultBufferSize(bufferWidth, bufferHeight); in SurfaceMediaSource()
/frameworks/av/media/libstagefright/omx/
DGraphicBufferSource.cpp36 uint32_t bufferWidth, uint32_t bufferHeight, uint32_t bufferCount) : in GraphicBufferSource() argument
56 bufferWidth, bufferHeight, bufferCount); in GraphicBufferSource()
58 if (bufferWidth == 0 || bufferHeight == 0) { in GraphicBufferSource()
59 ALOGE("Invalid dimensions %ux%u", bufferWidth, bufferHeight); in GraphicBufferSource()
68 mBufferQueue->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.cpp801 float bufferWidth = buf->getWidth(); in computeCurrentTransformMatrixLocked() local
832 if (cropRect.width() < bufferWidth) { in computeCurrentTransformMatrixLocked()
833 tx = (float(cropRect.left) + shrinkAmount) / bufferWidth; in computeCurrentTransformMatrixLocked()
835 bufferWidth; in computeCurrentTransformMatrixLocked()