Searched refs:bufferWidth (Results 1 - 5 of 5) sorted by path

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

Completed in 141 milliseconds