/frameworks/av/media/libstagefright/colorconversion/ |
D | ColorConverter.cpp | 67 mWidth(width), in BitmapParams() 156 + dst.mCropTop * dst.mWidth + dst.mCropLeft; in convertCbYCrY() 159 + (src.mCropTop * dst.mWidth + src.mCropLeft) * 2; in convertCbYCrY() 200 src_ptr += src.mWidth * 2; in convertCbYCrY() 201 dst_ptr += dst.mWidth; in convertCbYCrY() 216 + dst.mCropTop * dst.mWidth + dst.mCropLeft; in convertYUV420PlanarUseLibYUV() 219 (const uint8_t *)src.mBits + src.mCropTop * src.mWidth + src.mCropLeft; in convertYUV420PlanarUseLibYUV() 222 (const uint8_t *)src_y + src.mWidth * src.mHeight in convertYUV420PlanarUseLibYUV() 223 + src.mCropTop * (src.mWidth / 2) + src.mCropLeft / 2; in convertYUV420PlanarUseLibYUV() 226 src_u + (src.mWidth / 2) * (src.mHeight / 2); in convertYUV420PlanarUseLibYUV() [all …]
|
D | SoftwareRenderer.cpp | 47 mWidth(0), in SoftwareRenderer() 82 mWidth == widthNew && in resetFormatIfChanged() 93 mWidth = widthNew; in resetFormatIfChanged() 239 mWidth, mHeight, in render() 245 if ((size_t)mWidth * mHeight * 3 / 2 > size) { in render() 250 (const uint8_t *)data + mWidth * mHeight; in render() 251 const uint8_t *src_v = src_u + (mWidth / 2 * mHeight / 2); in render() 263 src_y += mWidth; in render() 271 src_u += mWidth / 2; in render() 272 src_v += mWidth / 2; in render() [all …]
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | StraightenFilter.java | 47 private int mWidth = 0; field in StraightenFilter 97 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process() 98 mWidth = inputFormat.getWidth(); in process() 123 Point p0 = new Point(-cosTheta * mWidth + sinTheta * mHeight, in updateParameters() 124 -sinTheta * mWidth - cosTheta * mHeight); in updateParameters() 126 Point p1 = new Point(cosTheta * mWidth + sinTheta * mHeight, in updateParameters() 127 sinTheta * mWidth - cosTheta * mHeight); in updateParameters() 129 Point p2 = new Point(-cosTheta * mWidth - sinTheta * mHeight, in updateParameters() 130 -sinTheta * mWidth + cosTheta * mHeight); in updateParameters() 132 Point p3 = new Point(cosTheta * mWidth - sinTheta * mHeight, in updateParameters() [all …]
|
D | LomoishFilter.java | 39 private int mWidth = 0; field in LomoishFilter 154 if (mWidth > mHeight) { in initParameters() 156 scale[1] = ((float) mHeight) / mWidth; in initParameters() 158 scale[0] = ((float) mWidth) / mHeight; in initParameters() 167 mProgram.setHostValue("stepsizeX", 1.0f / mWidth); in initParameters() 187 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process() 188 mWidth = inputFormat.getWidth(); in process()
|
D | CropRectFilter.java | 50 private int mWidth = 0; field in CropRectFilter 83 updateSourceRect(mWidth, mHeight); in fieldPortValueUpdated() 105 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process() 120 mWidth = width; in updateSourceRect() 131 ((ShaderProgram) mProgram).setSourceRect((float) mXorigin / mWidth, in updateSourceRect() 133 (float) mOutputWidth / mWidth, in updateSourceRect()
|
D | VignetteFilter.java | 38 private int mWidth = 0; field in VignetteFilter 95 if (mWidth > mHeight) { in initParameters() 97 scale[1] = ((float) mHeight) / mWidth; in initParameters() 99 scale[0] = ((float) mWidth) / mHeight; in initParameters() 137 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process() 138 mWidth = inputFormat.getWidth(); in process()
|
D | DocumentaryFilter.java | 39 private int mWidth = 0; field in DocumentaryFilter 123 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process() 124 mWidth = inputFormat.getWidth(); in process() 145 if (mWidth > mHeight) { in initParameters() 147 scale[1] = ((float) mHeight) / mWidth; in initParameters() 149 scale[0] = ((float) mWidth) / mHeight; in initParameters()
|
D | FisheyeFilter.java | 48 private int mWidth = 0; field in FisheyeFilter 115 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process() 137 mWidth = width; in updateFrameSize() 146 if (mWidth > mHeight) { in updateProgramParams() 148 scale[1] = ((float) mHeight) / mWidth; in updateProgramParams() 150 scale[0] = ((float) mWidth) / mHeight; in updateProgramParams()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | MeteringRectangle.java | 76 private final int mWidth; field in MeteringRectangle 94 mWidth = checkArgumentNonnegative(width, "width must be nonnegative"); in MeteringRectangle() 118 mWidth = checkArgumentNonnegative(dimensions.getWidth(), "width must be nonnegative"); in MeteringRectangle() 139 mWidth = checkArgumentNonnegative(rect.width(), "rect.width must be nonnegative"); in MeteringRectangle() 168 return mWidth; in getWidth() 206 return new Size(mWidth, mHeight); in getSize() 217 return new Rect(mX, mY, mX + mWidth, mY + mHeight); in getRect() 245 && mWidth == other.mWidth in equals() 255 return HashCodeHelpers.hashCode(mX, mY, mWidth, mHeight, mWeight); in hashCode() 267 return String.format("(x:%d, y:%d, w:%d, h:%d, wt:%d)", mX, mY, mWidth, mHeight, mWeight); in toString()
|
D | StreamConfiguration.java | 63 mWidth = checkArgumentPositive(width, "width must be positive"); in StreamConfiguration() 87 return mWidth; in getWidth() 105 return new Size(mWidth, mHeight); in getSize() 152 mWidth == other.mWidth && in equals() 164 return HashCodeHelpers.hashCode(mFormat, mWidth, mHeight, mInput ? 1 : 0); in hashCode() 168 private final int mWidth; field in StreamConfiguration
|
D | StreamConfigurationDuration.java | 58 mWidth = checkArgumentPositive(width, "width must be positive"); in StreamConfigurationDuration() 82 return mWidth; in getWidth() 100 return new Size(mWidth, mHeight); in getSize() 131 mWidth == other.mWidth && in equals() 143 return HashCodeHelpers.hashCode(mFormat, mWidth, mHeight, in hashCode() 148 private final int mWidth; field in StreamConfigurationDuration
|
D | InputConfiguration.java | 30 private final int mWidth; field in InputConfiguration 50 mWidth = width; in InputConfiguration() 61 return mWidth; in getWidth() 100 if (otherInputConfig.getWidth() == mWidth && in equals() 113 return HashCodeHelpers.hashCode(mWidth, mHeight, mFormat); in hashCode() 126 return String.format("InputConfiguration(w:%d, h:%d, format:%d)", mWidth, mHeight, mFormat); in toString()
|
D | HighSpeedVideoConfiguration.java | 59 mWidth = checkArgumentPositive(width, "width must be positive"); in HighSpeedVideoConfiguration() 62 mSize = new Size(mWidth, mHeight); in HighSpeedVideoConfiguration() 73 return mWidth; in getWidth() 148 return mWidth == other.mWidth && in equals() 162 return HashCodeHelpers.hashCode(mWidth, mHeight, mFpsMin, mFpsMax); in hashCode() 165 private final int mWidth; field in HighSpeedVideoConfiguration
|
/frameworks/base/core/java/android/util/ |
D | Size.java | 32 mWidth = width; in Size() 41 return mWidth; in getWidth() 74 return mWidth == other.mWidth && mHeight == other.mHeight; in equals() 86 return mWidth + "x" + mHeight; in toString() 147 return mHeight ^ ((mWidth << (Integer.SIZE / 2)) | (mWidth >>> (Integer.SIZE / 2))); in hashCode() 150 private final int mWidth; field in Size
|
D | SizeF.java | 43 mWidth = checkArgumentFinite(width, "width"); in SizeF() 52 return mWidth; in getWidth() 84 return mWidth == other.mWidth && mHeight == other.mHeight; in equals() 96 return mWidth + "x" + mHeight; in toString() 159 return Float.floatToIntBits(mWidth) ^ Float.floatToIntBits(mHeight); in hashCode() 162 private final float mWidth; field in SizeF
|
/frameworks/base/libs/hwui/ |
D | RenderBuffer.h | 36 mFormat(format), mWidth(width), mHeight(height), mAllocated(false) { in RenderBuffer() 82 glRenderbufferStorage(GL_RENDERBUFFER, mFormat, mWidth, mHeight); in allocate() 93 if (isAllocated() && (width != mWidth || height != mHeight)) { in resize() 97 mWidth = width; in resize() 105 return mWidth; in getWidth() 120 return (uint32_t) ((mWidth * mHeight * formatSize(mFormat)) / 8.0f + 0.5f); in getSize() 183 uint32_t mWidth; member
|
D | PixelBuffer.h | 130 return mWidth; in getWidth() 144 return mWidth * mHeight * formatSize(mFormat); in getSize() 151 return (y * mWidth + x) * formatSize(mFormat); in getOffset() 196 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) { in PixelBuffer() 209 uint32_t mWidth; variable
|
/frameworks/base/packages/Osu/src/com/android/anqp/ |
D | IconInfo.java | 15 private final int mWidth; field in IconInfo 26 mWidth = payload.getShort() & SHORT_MASK; in IconInfo() 35 return mWidth; in getWidth() 65 mWidth == that.mWidth && in equals() 73 int result = mWidth; in hashCode() 84 "Width=" + mWidth + in toString()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
D | CpuVideoTrackDecoder.java | 50 private final int mWidth; field in CpuVideoTrackDecoder 61 mWidth = format.getInteger(MediaFormat.KEY_WIDTH); in CpuVideoTrackDecoder() 104 int outputWidth = mWidth; in copyFrameDataTo() 108 outputHeight = mWidth; in copyFrameDataTo() 118 convertImage(mDecodedBuffer, outBytes, mColorFormat, mWidth, mHeight); in copyFrameDataTo() 121 mUnrotatedBytes = ByteBuffer.allocateDirect(mWidth * mHeight * 4); in copyFrameDataTo() 124 convertImage(mDecodedBuffer, mUnrotatedBytes, mColorFormat, mWidth, mHeight); in copyFrameDataTo() 145 rowStride = mWidth; in copyRotate() 148 offset = (mWidth - 1) * mHeight; in copyRotate() 158 offset = mWidth * mHeight - 1; in copyRotate() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
D | IconInfo.java | 16 private final int mWidth; field in IconInfo 27 mWidth = payload.getShort() & SHORT_MASK; in IconInfo() 36 return mWidth; in getWidth() 66 mWidth == that.mWidth && in equals() 74 int result = mWidth; in hashCode() 85 "Width=" + mWidth + in toString()
|
/frameworks/av/include/camera/camera2/ |
D | OutputConfiguration.h | 72 mWidth == other.mWidth && 87 if (mWidth != other.mWidth) { 88 return mWidth < other.mWidth; 105 int mWidth; variable
|
/frameworks/base/libs/hwui/font/ |
D | CacheTexture.cpp | 42 newBlock->mWidth, newBlock->mHeight); in insertBlock() 49 if (newBlock->mWidth < currBlock->mWidth) { in insertBlock() 86 blockToRemove->mWidth, blockToRemove->mHeight); in removeBlock() 114 , mWidth(width) in CacheTexture() 183 mTexture.resize(mWidth, mHeight, mFormat); in allocatePixelBuffer() 260 if (roundedUpW <= cacheBlock->mWidth && glyphH <= cacheBlock->mHeight && in fitBitmap() 262 (cacheBlock->mWidth - roundedUpW < CACHE_BLOCK_ROUNDING_SIZE))) { in fitBitmap() 276 cacheBlock->mWidth -= roundedUpW; in fitBitmap() 286 newBlock->mWidth, newBlock->mHeight); in fitBitmap() 297 cacheBlock->mWidth, cacheBlock->mHeight); in fitBitmap() [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | Picture.cpp | 27 mWidth = src->width(); in Picture() 36 mWidth = 0; in Picture() 44 mWidth = width; in beginRecording() 60 return mWidth; in width() 76 newPict->mWidth = cullRect.width(); in CreateFromStream() 114 SkCanvas* canvas = reRecorder.beginRecording(mWidth, mHeight, NULL, 0); in makePartialCopy() 123 SkRect myRect = SkRect::MakeWH(SkIntToScalar(mWidth), SkIntToScalar(mHeight)); in validate()
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
D | Shape.java | 31 private float mWidth; field in Shape 38 return mWidth; in getWidth() 71 if (mWidth != width || mHeight != height) { in resize() 72 mWidth = width; in resize()
|
/frameworks/av/include/private/media/ |
D | VideoFrame.h | 33 VideoFrame(): mWidth(0), mHeight(0), mDisplayWidth(0), mDisplayHeight(0), mSize(0), mData(0), in VideoFrame() 37 mWidth = copy.mWidth; in VideoFrame() 61 uint32_t mWidth; variable
|