/frameworks/av/media/libstagefright/colorconversion/ |
D | ColorConverter.cpp | 151 mStride = 2 * mWidth; in BitmapParams() 158 mStride = 4 * mWidth; in BitmapParams() 166 mStride = mWidth; in BitmapParams() 172 mStride = mWidth; in BitmapParams() 177 mStride = stride; in BitmapParams() 336 + dst.mCropTop * dst.mStride + dst.mCropLeft * dst.mBpp; in convertYUV420PlanarUseLibYUV() 339 (const uint8_t *)src.mBits + src.mCropTop * src.mStride + src.mCropLeft; in convertYUV420PlanarUseLibYUV() 342 (const uint8_t *)src.mBits + src.mStride * src.mHeight in convertYUV420PlanarUseLibYUV() 343 + (src.mCropTop / 2) * (src.mStride / 2) + (src.mCropLeft / 2); in convertYUV420PlanarUseLibYUV() 346 src_u + (src.mStride / 2) * (src.mHeight / 2); in convertYUV420PlanarUseLibYUV() [all …]
|
D | SoftwareRenderer.cpp | 52 mStride(0), in SoftwareRenderer() 116 mStride = strideNew; in resetFormatIfChanged() 298 mWidth, mHeight, mStride, in render() 304 const uint8_t *src_y = (const uint8_t *)data + mCropTop * mStride + mCropLeft; in render() 305 const uint8_t *src_u = (const uint8_t *)data + mStride * mHeight + mCropTop * mStride / 4; in render() 306 const uint8_t *src_v = (const uint8_t *)src_u + mStride * mHeight / 4; in render() 314 src_y += mStride; in render() 322 src_u += mStride / 2; in render() 323 src_v += mStride / 2; in render() 328 const uint8_t *src_y = (const uint8_t *)data + mCropTop * mStride + mCropLeft * 2; in render() [all …]
|
/frameworks/native/libs/renderengine/include/renderengine/ |
D | Mesh.h | 45 size_t mStride; variable 46 VertexArray(float* data, size_t stride) : mData(data), mStride(stride) {} in VertexArray() 49 TYPE& operator[](size_t index) { return *reinterpret_cast<TYPE*>(&mData[index * mStride]); } 51 return *reinterpret_cast<TYPE const*>(&mData[index * mStride]); 57 return VertexArray<TYPE>(getPositions(), mStride); in getPositionArray() 62 return VertexArray<TYPE>(getTexCoords(), mStride); in getTexCoordArray() 67 return VertexArray<TYPE>(getCropCoords(), mStride); in getCropCoordArray() 109 size_t mStride; variable
|
/frameworks/native/libs/renderengine/ |
D | Mesh.cpp | 32 mStride = 0; in Mesh() 50 mStride = 0; in Mesh() 55 mStride = stride; in Mesh() 96 return mStride * sizeof(float); in getByteStride() 100 return mStride; in getStride()
|
/frameworks/av/media/libstagefright/filters/ |
D | SimpleFilter.cpp | 27 if (!msg->findInt32("stride", &mStride)) { in configure() 28 mStride = mWidth; in configure()
|
D | SimpleFilter.h | 31 SimpleFilter() : mWidth(0), mHeight(0), mStride(0), mSliceHeight(0), in SimpleFilter() 44 int32_t mStride, mSliceHeight; member
|
D | MediaFilter.cpp | 425 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/ |
D | SoftAVCDec.cpp | 78 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() 635 mStride = outputBufferWidth(); in onQueueFilled() 636 setParams(mStride); in onQueueFilled()
|
D | SoftAVCDec.h | 93 size_t mStride; member
|
/frameworks/av/media/libstagefright/codecs/hevcdec/ |
D | SoftHEVC.cpp | 70 mStride(mWidth) { in SoftHEVC() 241 mStride = 0; in resetDecoder() 296 mStride = outputBufferWidth(); in initDecoder() 333 setParams(mStride); in initDecoder() 488 if (outputBufferWidth() != mStride) { in onQueueFilled() 490 mStride = outputBufferWidth(); in onQueueFilled() 491 setParams(mStride); in onQueueFilled() 624 mStride = outputBufferWidth(); in onQueueFilled() 625 setParams(mStride); in onQueueFilled()
|
D | SoftHEVC.h | 99 size_t mStride; member
|
/frameworks/av/media/libstagefright/codecs/mpeg2dec/ |
D | SoftMPEG2.cpp | 74 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()
|
D | SoftMPEG2.h | 111 size_t mStride; member
|
/frameworks/av/media/libstagefright/codecs/avcenc/ |
D | SoftAVCEnc.cpp | 615 mStride = mWidth; in initEncoder() 624 if (((uint64_t)mStride * mHeight) > ((uint64_t)INT32_MAX / 3)) { in initEncoder() 628 mConversionBuffers[i] = (uint8_t *)malloc(mStride * mHeight * 3 / 2); in initEncoder() 1224 pu1_buf += (mStride) * mHeight; in setEncodeArgs() 1226 pu1_buf += (mStride / 2) * mHeight / 2; in setEncodeArgs() 1237 ps_inp_raw_buf->au4_strd[0] = mStride; in setEncodeArgs() 1238 ps_inp_raw_buf->au4_strd[1] = (mStride / 2); in setEncodeArgs() 1239 ps_inp_raw_buf->au4_strd[2] = (mStride / 2); in setEncodeArgs() 1248 ps_inp_raw_buf->au4_strd[0] = mStride * 2; in setEncodeArgs() 1257 pu1_buf += (mStride) * mHeight; in setEncodeArgs() [all …]
|
D | SoftAVCEnc.h | 158 int32_t mStride; member
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcDec.cpp | 381 uint32_t bufferSize = mStride * mHeight * 3 / 2; in onFlush_sm() 504 mStride = ALIGN32(mWidth); in initDecoder() 508 if (OK != setParams(mStride, IVD_DECODE_FRAME)) return UNKNOWN_ERROR; in initDecoder() 521 uint32_t displayStride = mStride; in setDecodeArgs() 531 if (mStride != displayStride) { in setDecodeArgs() 532 mStride = displayStride; in setDecodeArgs() 533 if (OK != setParams(mStride, IVD_DECODE_FRAME)) return false; in setDecodeArgs() 653 mStride = 0; in resetDecoder() 854 setParams(mStride, IVD_DECODE_HEADER); in process() 887 setParams(mStride, IVD_DECODE_HEADER); in process() [all …]
|
D | C2SoftAvcDec.h | 163 uint32_t mStride; variable
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcDec.cpp | 373 uint32_t displayStride = mStride; in onFlush_sm() 500 mStride = ALIGN32(mWidth); in initDecoder() 504 if (OK != setParams(mStride, IVD_DECODE_FRAME)) return UNKNOWN_ERROR; in initDecoder() 517 uint32_t displayStride = mStride; in setDecodeArgs() 527 if (mStride != displayStride) { in setDecodeArgs() 528 mStride = displayStride; in setDecodeArgs() 529 if (OK != setParams(mStride, IVD_DECODE_FRAME)) return false; in setDecodeArgs() 650 mStride = 0; in resetDecoder() 850 setParams(mStride, IVD_DECODE_HEADER); in process() 882 setParams(mStride, IVD_DECODE_HEADER); in process()
|
D | C2SoftHevcDec.h | 121 uint32_t mStride; member
|
/frameworks/av/media/libstagefright/include/ |
D | SoftwareRenderer.h | 54 int32_t mWidth, mHeight, mStride; variable
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | ImageShader.java | 83 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/codec2/components/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 362 uint32_t displayStride = mStride; in onFlush_sm() 567 mStride = ALIGN32(mWidth); in initDecoder() 571 if (OK != setParams(mStride)) return UNKNOWN_ERROR; in initDecoder() 584 uint32_t displayStride = mStride; in setDecodeArgs() 594 if (mStride != displayStride) { in setDecodeArgs() 595 mStride = displayStride; in setDecodeArgs() 596 if (OK != setParams(mStride)) return false; in setDecodeArgs() 718 mStride = 0; in resetDecoder()
|
D | C2SoftMpeg2Dec.h | 162 uint32_t mStride; member
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | ColorConverter.h | 75 size_t mBpp, mStride; member
|
D | MediaFilter.h | 100 int32_t mStride, mSliceHeight; member
|