Home
last modified time | relevance | path

Searched refs:mHeight (Results 1 – 25 of 109) sorted by relevance

12345

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DStraightenFilter.java53 private int mHeight = 0; field in StraightenFilter
102 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process()
104 mHeight = inputFormat.getHeight(); in process()
128 Point p0 = new Point(-cosTheta * mWidth + sinTheta * mHeight, in updateParameters()
129 -sinTheta * mWidth - cosTheta * mHeight); in updateParameters()
131 Point p1 = new Point(cosTheta * mWidth + sinTheta * mHeight, in updateParameters()
132 sinTheta * mWidth - cosTheta * mHeight); in updateParameters()
134 Point p2 = new Point(-cosTheta * mWidth - sinTheta * mHeight, in updateParameters()
135 -sinTheta * mWidth + cosTheta * mHeight); in updateParameters()
137 Point p3 = new Point(cosTheta * mWidth - sinTheta * mHeight, in updateParameters()
[all …]
DLomoishFilter.java43 private int mHeight = 0; field in LomoishFilter
157 if (mWidth > mHeight) { in initParameters()
159 scale[1] = ((float) mHeight) / mWidth; in initParameters()
161 scale[0] = ((float) mWidth) / mHeight; in initParameters()
171 mProgram.setHostValue("stepsizeY", 1.0f / mHeight); in initParameters()
190 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process()
192 mHeight = inputFormat.getHeight(); in process()
DCropRectFilter.java56 private int mHeight = 0; field in CropRectFilter
88 updateSourceRect(mWidth, mHeight); in fieldPortValueUpdated()
110 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process()
126 mHeight = height; in updateSourceRect()
137 (float) mYorigin / mHeight, in updateSourceRect()
139 (float) mOutputHeight / mHeight); in updateSourceRect()
DVignetteFilter.java42 private int mHeight = 0; field in VignetteFilter
98 if (mWidth > mHeight) { in initParameters()
100 scale[1] = ((float) mHeight) / mWidth; in initParameters()
102 scale[0] = ((float) mWidth) / mHeight; in initParameters()
140 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process()
142 mHeight = inputFormat.getHeight(); in process()
DDocumentaryFilter.java43 private int mHeight = 0; field in DocumentaryFilter
126 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process()
128 mHeight = inputFormat.getHeight(); in process()
148 if (mWidth > mHeight) { in initParameters()
150 scale[1] = ((float) mHeight) / mWidth; in initParameters()
152 scale[0] = ((float) mWidth) / mHeight; in initParameters()
DFisheyeFilter.java55 private int mHeight = 0; field in FisheyeFilter
121 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process()
144 mHeight = height; in updateFrameSize()
152 if (mWidth > mHeight) { in updateProgramParams()
154 scale[1] = ((float) mHeight) / mWidth; in updateProgramParams()
156 scale[0] = ((float) mWidth) / mHeight; in updateProgramParams()
DRotateFilter.java50 private int mHeight = 0; field in RotateFilter
100 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process()
102 mHeight = inputFormat.getHeight(); in process()
104 mOutputHeight = mHeight; in process()
138 mOutputWidth = mHeight; in updateParameters()
DSharpenFilter.java44 private int mHeight = 0; field in SharpenFilter
118 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process()
134 mHeight = height; in updateFrameSize()
138 mProgram.setHostValue("stepsizeY", 1.0f / mHeight); in updateFrameSize()
/frameworks/base/libs/hwui/
DLayerCache.h110 mLayer(NULL), mWidth(0), mHeight(0) { in LayerEntry()
115 mHeight = uint32_t(ceilf(layerHeight / float(LAYER_SIZE)) * LAYER_SIZE); in LayerEntry()
119 mLayer(layer), mWidth(layer->getWidth()), mHeight(layer->getHeight()) { in LayerEntry()
124 return mHeight < rhs.mHeight;
130 return mWidth == rhs.mWidth && mHeight == rhs.mHeight;
135 uint32_t mHeight; member
DShapeCache.h152 mHeight = *(uint32_t*) &height; in RoundRectShapeCacheEntry()
159 mHeight = 0; in RoundRectShapeCacheEntry()
167 LTE_INT(mHeight) { in lessThan()
180 uint32_t mHeight; member
211 mHeight = *(uint32_t*) &height; in OvalShapeCacheEntry()
215 mWidth = mHeight = 0; in OvalShapeCacheEntry()
221 LTE_INT(mHeight) { in lessThan()
230 uint32_t mHeight; member
237 mHeight = *(uint32_t*) &height; in RectShapeCacheEntry()
241 mWidth = mHeight = 0; in RectShapeCacheEntry()
[all …]
DLayerCache.cpp107 LAYER_LOGD("Creating new layer %dx%d", entry.mWidth, entry.mHeight); in get()
109 layer = new Layer(entry.mWidth, entry.mHeight); in get()
132 LAYER_LOGD(" Layer size %dx%d", entry.mWidth, entry.mHeight); in dump()
141 if (entry.mWidth <= layer->getWidth() && entry.mHeight <= layer->getHeight()) { in resize()
150 layer->setSize(entry.mWidth, entry.mHeight); in resize()
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
DShape.java30 private float mHeight; field in Shape
43 return mHeight; in getHeight()
71 if (mWidth != width || mHeight != height) { in resize()
73 mHeight = height; in resize()
/frameworks/base/core/java/android/view/
DHardwareLayer.java38 int mHeight; field in HardwareLayer
60 mHeight = height; in HardwareLayer()
79 return mHeight; in getHeight()
176 mHeight = height; in update()
/frameworks/base/graphics/java/android/graphics/
DYuvImage.java63 private int mHeight; field in YuvImage
105 mHeight = height; in YuvImage()
124 Rect wholeImage = new Rect(0, 0, mWidth, mHeight); in compressToJpeg()
179 return mHeight; in getHeight()
186 mHeight * mStrides[0] + top / 2 * mStrides[1] in calculateOffsets()
/frameworks/av/include/private/media/
DVideoFrame.h91 VideoFrame(): mWidth(0), mHeight(0), mDisplayWidth(0), mDisplayHeight(0), mSize(0), mData(0) {} in VideoFrame()
95 mHeight = copy.mHeight; in VideoFrame()
118 uint32_t mHeight; variable
/frameworks/av/media/libstagefright/
DJPEGSource.cpp60 mHeight(0), in JPEGSource()
104 meta->setInt32(kKeyHeight, mHeight); in getFormat()
143 mHeight = 0; in parseJPEG()
186 return (mWidth > 0 && mHeight > 0) ? OK : UNKNOWN_ERROR; in parseJPEG()
214 mHeight = height; in parseJPEG()
/frameworks/base/media/java/android/media/videoeditor/
DTransitionAlpha.java58 private int mHeight; field in TransitionAlpha
105 mHeight = dbo.outHeight; in TransitionAlpha()
131 while (tmp < mHeight) { in TransitionAlpha()
164 return mHeight; in getRGBFileHeight()
/frameworks/base/graphics/java/android/renderscript/
DRenderScriptGL.java47 int mHeight; field in RenderScriptGL
185 mHeight = 0; in RenderScriptGL()
218 mHeight = h; in setSurface()
235 mHeight = h; in setSurfaceTexture()
246 return mHeight; in getHeight()
/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp46 CHECK(meta->findInt32(kKeyHeight, &mHeight)); in SoftwareRenderer()
53 mCropBottom = mHeight - 1; in SoftwareRenderer()
162 mWidth, mHeight, in render()
169 const uint8_t *src_u = (const uint8_t *)data + mWidth * mHeight; in render()
170 const uint8_t *src_v = src_u + (mWidth / 2 * mHeight / 2); in render()
202 (const uint8_t *)data + mWidth * (mHeight - mCropTop / 2); in render()
/frameworks/base/tests/RenderScriptTests/SurfaceTexture/src/com/example/android/rs/sto/
DCameraCapture.java50 private int mHeight; field in CameraCapture
114 return mHeight; in getHeight()
140 params.setPreviewSize(mWidth, mHeight); in calcCameraParameters()
145 mHeight = closestSize[1]; in calcCameraParameters()
146 params.setPreviewSize(mWidth, mHeight); in calcCameraParameters()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp70 mHeight(288), in SoftMPEG4()
74 mCropBottom(mHeight - 1), in SoftMPEG4()
121 def.format.video.nFrameHeight = mHeight; in initPorts()
149 def.format.video.nFrameHeight = mHeight; in initPorts()
371 mHandle, vol_data, &vol_size, 1, mWidth, mHeight, mode); in onQueueFilled()
460 outHeader->nFilledLen = (mWidth * mHeight * 3) / 2; in onQueueFilled()
506 if (buf_width != mWidth || buf_height != mHeight) { in portSettingsChanged()
508 mHeight = buf_height; in portSettingsChanged()
520 mHandle, vol_data, &vol_size, 1, mWidth, mHeight, in portSettingsChanged()
573 def->format.video.nFrameHeight = mHeight; in updatePortDefinitions()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DVideoSource.h34 mHeight(height), in VideoSource()
42 meta->setInt32(kKeyHeight, mHeight); in getFormat()
88 int mWidth, mHeight; variable
/frameworks/av/services/camera/libcameraservice/
DFakeCamera.cpp326 mHeight = height; in setSize()
356 mTmpRgb16Buffer = new uint16_t[mWidth * mHeight]; in getNextFrameAsYuv420()
359 convert_rgb16_to_yuv420((uint8_t*)mTmpRgb16Buffer, buffer, mWidth, mHeight); in getNextFrameAsYuv420()
367 square_ystop = min(mHeight, y+size); in drawSquare()
369 shadow_ystop = min(mHeight, y+size+(size/4)); in drawSquare()
402 for(int y=0;y<mHeight;y++) { in drawCheckerboard()
427 …height (%d x %d), counter (%d), check x-y coordinate(%d, %d)\n", mWidth, mHeight, mCounter, mCheck… in dump()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/
DSoftAVC.cpp68 mHeight(240), in SoftAVC()
69 mPictureSize(mWidth * mHeight * 3 / 2), in SoftAVC()
73 mCropHeight(mHeight), in SoftAVC()
121 def.format.video.nFrameHeight = mHeight; in initPorts()
146 def.format.video.nFrameHeight = mHeight; in initPorts()
412 if (mWidth != info->picWidth || mHeight != info->picHeight) { in handlePortSettingChangeEvent()
414 mHeight = info->picHeight; in handlePortSettingChangeEvent()
415 mPictureSize = mWidth * mHeight * 3 / 2; in handlePortSettingChangeEvent()
417 mCropHeight = mHeight; in handlePortSettingChangeEvent()
540 def->format.video.nFrameHeight = mHeight; in updatePortDefinitions()
[all …]
/frameworks/base/media/java/android/media/
DFaceDetector.java119 mHeight = height; in FaceDetector()
144 if (bitmap.getWidth() != mWidth || bitmap.getHeight() != mHeight) { in findFaces()
198 private int mHeight; field in FaceDetector

12345