/frameworks/av/media/libstagefright/renderfright/include/renderengine/ |
D | Mesh.h | 46 size_t mStride; variable 48 VertexArray(float* data, size_t stride) : mData(data), mStride(stride) {} in VertexArray() 54 : mData(other.mData), mStride(other.mStride), mOffset(offset) {} in VertexArray() 57 return *reinterpret_cast<TYPE*>(&mData[(index + mOffset) * mStride]); 60 return *reinterpret_cast<TYPE const*>(&mData[(index + mOffset) * mStride]); 66 return VertexArray<TYPE>(getPositions(), mStride); in getPositionArray() 71 return VertexArray<TYPE>(getTexCoords(), mStride); in getTexCoordArray() 76 return VertexArray<TYPE>(getCropCoords(), mStride); in getCropCoordArray() 81 return VertexArray<TYPE>(getShadowColor(), mStride); in getShadowColorArray() 86 return VertexArray<TYPE>(getShadowParams(), mStride); in getShadowParamsArray() [all …]
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | ColorConverter.cpp | 586 mStride = 2 * mWidth; in BitmapParams() 594 mStride = 4 * mWidth; in BitmapParams() 602 mStride = mWidth; in BitmapParams() 608 mStride = mWidth; in BitmapParams() 615 mStride = mWidth; in BitmapParams() 620 mStride = stride; in BitmapParams() 633 if (!((mStride & 1) == 0 // stride must be even in isValid() 634 && mStride >= mBpp * cropWidth())) { in isValid() 883 + dst.mCropTop * dst.mStride + dst.mCropLeft * dst.mBpp; in convertYUV420PlanarUseLibYUV() 901 dst.mStride, 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/av/media/libstagefright/renderfright/ |
D | Mesh.cpp | 38 mStride = 0; in Mesh() 57 mStride = 0; in Mesh() 62 mStride = stride; in Mesh() 134 return mStride * sizeof(float); in getByteStride() 138 return mStride; in getStride()
|
/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/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/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 | 388 uint32_t bufferSize = mStride * mHeight * 3 / 2; in onFlush_sm() 518 mStride = ALIGN128(mWidth); in initDecoder() 522 if (OK != setParams(mStride, IVD_DECODE_FRAME)) return UNKNOWN_ERROR; in initDecoder() 535 uint32_t displayStride = mStride; in setDecodeArgs() 545 if (mStride != displayStride) { in setDecodeArgs() 546 mStride = displayStride; in setDecodeArgs() 547 if (OK != setParams(mStride, IVD_DECODE_FRAME)) return false; in setDecodeArgs() 667 mStride = 0; in resetDecoder() 872 setParams(mStride, IVD_DECODE_HEADER); in process() 905 setParams(mStride, IVD_DECODE_HEADER); in process() [all …]
|
D | C2SoftAvcDec.h | 159 uint32_t mStride; variable
|
D | C2SoftAvcEnc.h | 153 int32_t mStride; member
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcDec.cpp | 377 uint32_t displayStride = mStride; in onFlush_sm() 511 mStride = ALIGN128(mWidth); in initDecoder() 515 if (OK != setParams(mStride, IVD_DECODE_FRAME)) return UNKNOWN_ERROR; in initDecoder() 528 uint32_t displayStride = mStride; in setDecodeArgs() 538 if (mStride != displayStride) { in setDecodeArgs() 539 mStride = displayStride; in setDecodeArgs() 540 if (OK != setParams(mStride, IVD_DECODE_FRAME)) return false; in setDecodeArgs() 661 mStride = 0; in resetDecoder() 865 setParams(mStride, IVD_DECODE_HEADER); in process() 896 setParams(mStride, IVD_DECODE_HEADER); in process() [all …]
|
D | C2SoftHevcDec.h | 117 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/vndk/ |
D | C2AllocatorGralloc.cpp | 1006 const uint32_t mStride; member in android::C2AllocationGralloc 1029 mStride(stride), in C2AllocationGralloc() 1088 mFormat, mGrallocUsage, mStride, &mBuffer); in map() 1106 mStride, generation, igbp_id, igbp_slot); in map() 1110 mBuffer, rect, mFormat, grallocUsage, mStride, layout, addr); in map() 1350 const uint32_t mStride; member in android::C2AllocationAhwb 1372 mStride(stride), in C2AllocationAhwb() 1440 mFormat, mGrallocUsage, mStride, &mBuffer); in map() 1456 mStride, origId); in map() 1460 mBuffer, rect, mFormat, grallocUsage, mStride, layout, addr); in map()
|
/frameworks/av/media/codec2/components/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 373 uint32_t displayStride = mStride; in onFlush_sm() 580 mStride = ALIGN128(mWidth); in initDecoder() 584 if (OK != setParams(mStride)) return UNKNOWN_ERROR; in initDecoder() 597 uint32_t displayStride = mStride; in setDecodeArgs() 607 if (mStride != displayStride) { in setDecodeArgs() 608 mStride = displayStride; in setDecodeArgs() 609 if (OK != setParams(mStride)) return false; in setDecodeArgs() 731 mStride = 0; in resetDecoder()
|
D | C2SoftMpeg2Dec.h | 158 uint32_t mStride; member
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | ColorConverter.h | 161 size_t mBpp, mStride; member
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLLogWrapper.java | 1071 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/ |
D | rsCpuIntrinsicBLAS.cpp | 164 int mStride = (TransA == CblasNoTrans) ? lda : 1; in walk_tiled_gemm() local 185 (T_data *)A + mStart * mStride * vecSize, lda, in walk_tiled_gemm()
|