Home
last modified time | relevance | path

Searched refs:mStride (Results 1 – 18 of 18) sorted by relevance

/frameworks/native/services/surfaceflinger/RenderEngine/
DMesh.h42 size_t mStride; variable
43 VertexArray(float* data, size_t stride) : mData(data), mStride(stride) { } in VertexArray()
46 return *reinterpret_cast<TYPE*>(&mData[index*mStride]);
49 return *reinterpret_cast<TYPE const*>(&mData[index*mStride]);
54 VertexArray<TYPE> getPositionArray() { return VertexArray<TYPE>(getPositions(), mStride); } in getPositionArray()
57 VertexArray<TYPE> getTexCoordArray() { return VertexArray<TYPE>(getTexCoords(), mStride); } in getTexCoordArray()
93 size_t mStride; variable
DMesh.cpp30 mStride = 0; in Mesh()
47 mStride = 0; in Mesh()
52 mStride = stride; in Mesh()
92 return mStride*sizeof(float); in getByteStride()
96 return mStride; in getStride()
/frameworks/av/media/libstagefright/filters/
DSimpleFilter.cpp27 if (!msg->findInt32("stride", &mStride)) { in configure()
28 mStride = mWidth; in configure()
DSimpleFilter.h31 SimpleFilter() : mWidth(0), mHeight(0), mStride(0), mSliceHeight(0), in SimpleFilter()
44 int32_t mStride, mSliceHeight; member
DMediaFilter.cpp367 notify->setInt32("stride", mStride); in sendFormatChange()
370 notify->setRect("crop", 0, 0, mStride - 1, mSliceHeight - 1); in sendFormatChange()
487 if (!msg->findInt32("stride", &mStride)) { in onConfigureComponent()
488 mStride = mWidth; in onConfigureComponent()
527 mInputFormat->setInt32("stride", mStride); in onConfigureComponent()
530 mInputFormat->setRect("crop", 0, 0, mStride, mSliceHeight); in onConfigureComponent()
536 mOutputFormat->setInt32("stride", mStride); in onConfigureComponent()
539 mOutputFormat->setRect("crop", 0, 0, mStride, mSliceHeight); in onConfigureComponent()
741 notify, mStride, mSliceHeight, kBufferCountActual); in onCreateInputSurface()
/frameworks/av/media/libstagefright/codecs/hevcdec/
DSoftHEVC.cpp77 mStride(mWidth) { in SoftHEVC()
248 mStride = 0; in resetDecoder()
303 mStride = outputBufferWidth(); in initDecoder()
340 setParams(mStride); in initDecoder()
495 if (outputBufferWidth() != mStride) { in onQueueFilled()
497 mStride = outputBufferWidth(); in onQueueFilled()
498 setParams(mStride); in onQueueFilled()
623 mStride = outputBufferWidth(); in onQueueFilled()
624 setParams(mStride); in onQueueFilled()
DSoftHEVC.h99 size_t mStride; member
/frameworks/av/media/libstagefright/codecs/avcdec/
DSoftAVCDec.cpp123 mStride(mWidth){ in SoftAVC()
248 mStride = 0; in resetDecoder()
301 mStride = outputBufferWidth(); in initDecoder()
338 setParams(mStride); in initDecoder()
534 if (outputBufferWidth() != mStride) { in onQueueFilled()
536 mStride = outputBufferWidth(); in onQueueFilled()
537 setParams(mStride); in onQueueFilled()
676 mStride = outputBufferWidth(); in onQueueFilled()
677 setParams(mStride); in onQueueFilled()
DSoftAVCDec.h101 size_t mStride; member
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
DSoftMPEG2.cpp78 mStride(mWidth) { in SoftMPEG2()
206 mStride = 0; in resetDecoder()
390 mStride = outputBufferWidth(); in initDecoder()
391 setParams(mStride); in initDecoder()
596 if (outputBufferWidth() != mStride) { in onQueueFilled()
598 mStride = outputBufferWidth(); in onQueueFilled()
599 setParams(mStride); in onQueueFilled()
732 mStride = outputBufferWidth(); in onQueueFilled()
733 setParams(mStride); in onQueueFilled()
DSoftMPEG2.h110 size_t mStride; member
/frameworks/av/media/libstagefright/codecs/avcenc/
DSoftAVCEnc.cpp638 mStride = mWidth; in initEncoder()
647 if (((uint64_t)mStride * mHeight) > ((uint64_t)INT32_MAX / 3)) { in initEncoder()
651 mConversionBuffers[i] = (uint8_t *)malloc(mStride * mHeight * 3 / 2); in initEncoder()
1240 pu1_buf += (mStride) * mHeight; in setEncodeArgs()
1242 pu1_buf += (mStride / 2) * mHeight / 2; in setEncodeArgs()
1253 ps_inp_raw_buf->au4_strd[0] = mStride; in setEncodeArgs()
1254 ps_inp_raw_buf->au4_strd[1] = (mStride / 2); in setEncodeArgs()
1255 ps_inp_raw_buf->au4_strd[2] = (mStride / 2); in setEncodeArgs()
1264 ps_inp_raw_buf->au4_strd[0] = mStride * 2; in setEncodeArgs()
1273 pu1_buf += (mStride) * mHeight; in setEncodeArgs()
[all …]
DSoftAVCEnc.h158 int32_t mStride; member
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DImageShader.java83 private int mStride; field in ImageShader.VertexAttribute
99 mStride = stride; in set()
115 mStride = stride; in set()
151 mStride, in push()
159 mStride, in push()
/frameworks/av/include/media/stagefright/
DMediaFilter.h120 int32_t mStride, mSliceHeight; member
/frameworks/native/include/ui/
DGralloc1On0Adapter.h263 *outStride = mStride; in getStride()
278 const uint32_t mStride; variable
/frameworks/native/libs/ui/
DGralloc1On0Adapter.cpp227 mStride(stride), in Buffer()
/frameworks/base/opengl/java/android/opengl/
DGLLogWrapper.java1071 if (pointer.mStride < 0) { in doArrayElement()
3901 public int mStride; field in GLLogWrapper.PointerInfo
3911 mStride = stride; in PointerInfo()
3933 return mStride > 0 ? mStride : sizeof(mType) * mSize; in getStride()