Home
last modified time | relevance | path

Searched refs:mStride (Results 1 – 17 of 17) 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.cpp425 if (!msg->findInt32("stride", &mStride)) { in onConfigureComponent()
426 mStride = mWidth; in onConfigureComponent()
465 mInputFormat->setInt32("stride", mStride); in onConfigureComponent()
468 mInputFormat->setRect("crop", 0, 0, mStride, mSliceHeight); in onConfigureComponent()
474 mOutputFormat->setInt32("stride", mStride); in onConfigureComponent()
477 mOutputFormat->setRect("crop", 0, 0, mStride, mSliceHeight); in onConfigureComponent()
677 notify, mStride, mSliceHeight, kBufferCountActual); in onCreateInputSurface()
/frameworks/av/media/libstagefright/codecs/avcdec/
DSoftAVCDec.cpp74 mStride(mWidth), in SoftAVC()
200 mStride = 0; in resetDecoder()
253 mStride = outputBufferWidth(); in initDecoder()
290 setParams(mStride); in initDecoder()
488 if (outputBufferWidth() != mStride) { in onQueueFilled()
490 mStride = outputBufferWidth(); in onQueueFilled()
491 setParams(mStride); in onQueueFilled()
625 mStride = outputBufferWidth(); in onQueueFilled()
626 setParams(mStride); in onQueueFilled()
DSoftAVCDec.h93 size_t mStride; member
/frameworks/av/media/libstagefright/codecs/hevcdec/
DSoftHEVC.cpp69 mStride(mWidth) { in SoftHEVC()
240 mStride = 0; in resetDecoder()
295 mStride = outputBufferWidth(); in initDecoder()
332 setParams(mStride); in initDecoder()
487 if (outputBufferWidth() != mStride) { in onQueueFilled()
489 mStride = outputBufferWidth(); in onQueueFilled()
490 setParams(mStride); in onQueueFilled()
615 mStride = outputBufferWidth(); in onQueueFilled()
616 setParams(mStride); in onQueueFilled()
DSoftHEVC.h99 size_t mStride; member
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
DSoftMPEG2.cpp74 mStride(mWidth) { in SoftMPEG2()
205 mStride = 0; in resetDecoder()
390 mStride = outputBufferWidth(); in initDecoder()
391 setParams(mStride); in initDecoder()
610 if (outputBufferWidth() != mStride) { in onQueueFilled()
612 mStride = outputBufferWidth(); in onQueueFilled()
613 setParams(mStride); in onQueueFilled()
751 mStride = outputBufferWidth(); in onQueueFilled()
752 setParams(mStride); in onQueueFilled()
DSoftMPEG2.h111 size_t mStride; member
/frameworks/av/media/libstagefright/codecs/avcenc/
DSoftAVCEnc.cpp637 mStride = mWidth; in initEncoder()
646 if (((uint64_t)mStride * mHeight) > ((uint64_t)INT32_MAX / 3)) { in initEncoder()
650 mConversionBuffers[i] = (uint8_t *)malloc(mStride * mHeight * 3 / 2); in initEncoder()
1239 pu1_buf += (mStride) * mHeight; in setEncodeArgs()
1241 pu1_buf += (mStride / 2) * mHeight / 2; in setEncodeArgs()
1252 ps_inp_raw_buf->au4_strd[0] = mStride; in setEncodeArgs()
1253 ps_inp_raw_buf->au4_strd[1] = (mStride / 2); in setEncodeArgs()
1254 ps_inp_raw_buf->au4_strd[2] = (mStride / 2); in setEncodeArgs()
1263 ps_inp_raw_buf->au4_strd[0] = mStride * 2; in setEncodeArgs()
1272 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/media/libstagefright/include/
DMediaFilter.h100 int32_t mStride, mSliceHeight; member
/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()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBLAS.cpp164 int mStride = (TransA == CblasNoTrans) ? lda : 1; in walk_tiled_gemm() local
185 (T_data *)A + mStart * mStride * vecSize, lda, in walk_tiled_gemm()