Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp79 mStride = 2 * mWidth; in BitmapParams()
85 mStride = 4 * mWidth; in BitmapParams()
94 mStride = mWidth; in BitmapParams()
100 mStride = mWidth; in BitmapParams()
242 + dst.mCropTop * dst.mStride + dst.mCropLeft * dst.mBpp; in convertYUV420PlanarUseLibYUV()
245 (const uint8_t *)src.mBits + src.mCropTop * src.mStride + src.mCropLeft; in convertYUV420PlanarUseLibYUV()
248 (const uint8_t *)src.mBits + src.mStride * src.mHeight in convertYUV420PlanarUseLibYUV()
249 + (src.mCropTop / 2) * (src.mStride / 2) + (src.mCropLeft / 2); in convertYUV420PlanarUseLibYUV()
252 src_u + (src.mStride / 2) * (src.mHeight / 2); in convertYUV420PlanarUseLibYUV()
256 libyuv::I420ToRGB565(src_y, src.mStride, src_u, src.mStride / 2, src_v, src.mStride / 2, in convertYUV420PlanarUseLibYUV()
[all …]
/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/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/avcdec/
DSoftAVCDec.cpp78 mStride(mWidth), in SoftAVC()
204 mStride = 0; in resetDecoder()
257 mStride = outputBufferWidth(); in initDecoder()
294 setParams(mStride); in initDecoder()
492 if (outputBufferWidth() != mStride) { in onQueueFilled()
494 mStride = outputBufferWidth(); in onQueueFilled()
495 setParams(mStride); in onQueueFilled()
629 mStride = outputBufferWidth(); in onQueueFilled()
630 setParams(mStride); in onQueueFilled()
DSoftAVCDec.h93 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.cpp616 mStride = mWidth; in initEncoder()
625 if (((uint64_t)mStride * mHeight) > ((uint64_t)INT32_MAX / 3)) { in initEncoder()
629 mConversionBuffers[i] = (uint8_t *)malloc(mStride * mHeight * 3 / 2); in initEncoder()
1225 pu1_buf += (mStride) * mHeight; in setEncodeArgs()
1227 pu1_buf += (mStride / 2) * mHeight / 2; in setEncodeArgs()
1238 ps_inp_raw_buf->au4_strd[0] = mStride; in setEncodeArgs()
1239 ps_inp_raw_buf->au4_strd[1] = (mStride / 2); in setEncodeArgs()
1240 ps_inp_raw_buf->au4_strd[2] = (mStride / 2); in setEncodeArgs()
1249 ps_inp_raw_buf->au4_strd[0] = mStride * 2; in setEncodeArgs()
1258 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/media/stagefright/
DColorConverter.h62 size_t mBpp, mStride; member
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()