Searched defs:height (Results 226 - 250 of 674) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmb_motion_comp.cpp140 int height, width, pred_width; local
172 height = video->height;
251 video->mblock->pred_block, width, height,
272 ypred >= 0 && ypred <= ((height << 1) - (2*B_SIZE)))
285 pred, width, height, round1, pred_width);
308 ypred >= 0 && ypred <= ((height << 1) - (2*B_SIZE)))
320 pred, width, height, round1, pred_width);
344 ypred >= 0 && ypred <= ((height << 1) - (2*B_SIZE)))
356 pred, width, height, round
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfindhalfpel.cpp34 void GenerateSearchRegion(UChar *searchPadding, UChar *ref, Int width, Int height,
81 Int height = video->vol[video->currLayer]->height; local
106 else if (jmin >= height - 1)
117 else if (jmin >= height - 16)
190 Int height; local
203 height = video->vol[video->currLayer]->height;
227 else if (jmin >= height - 1)
H A Dme_utils.cpp222 Int pitch, width, height; local
226 height = refVop->height;
265 i = height;
/frameworks/av/media/libstagefright/codecs/on2/dec/
H A DSoftVPX.cpp47 320 /* width */, 240 /* height */, callbacks, appData, component),
146 uint32_t height = mImg->d_h; local
150 handlePortSettingsChange(portWillReset, width, height);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_decoder.c662 Get height of the picture in macroblocks
833 height height of the image after cropping is stored here
841 u32 *leftOffset, u32 *width, u32 *topOffset, u32 *height)
858 *height = 16 * pStorage->activeSps->picHeightInMbs -
868 *height = 0;
884 sarWidth sample aspect ratio height
840 h264bsdCroppingParams(storage_t *pStorage, u32 *croppingFlag, u32 *leftOffset, u32 *width, u32 *topOffset, u32 *height) argument
/frameworks/av/media/libstagefright/wifi-display/
H A DVideoFormats.cpp184 size_t width, height, fps, score; local
186 if (!GetConfiguration(type, index, &width, &height,
191 score = width * height * fps * (!interlaced + 1);
195 &width, &height, &fps, &interlaced)
196 && score >= width * height * fps * (!interlaced + 1)) {
273 size_t *width, size_t *height, size_t *framesPerSecond,
291 if (height) {
292 *height = config->height;
494 size_t width, height, framesPerSecon local
270 GetConfiguration( ResolutionType type, size_t index, size_t *width, size_t *height, size_t *framesPerSecond, bool *interlaced) argument
[all...]
/frameworks/av/media/ndk/
H A DNdkImage.cpp34 int32_t width, int32_t height, int32_t numPlanes) :
37 mWidth(width), mHeight(height), mNumPlanes(numPlanes) {
117 AImage::getHeight(int32_t* height) const {
118 if (height == nullptr) {
121 *height = -1;
126 *height = mHeight;
271 // Single plane 16bpp bayer data. even width/height,
363 dataSize = mBuffer->stride * (mBuffer->height - 1) + mBuffer->width;
365 dataSize = mBuffer->chromaStride * (mBuffer->height / 2 - 1) +
371 cr = mBuffer->data + (mBuffer->stride * mBuffer->height);
32 AImage(AImageReader* reader, int32_t format, CpuConsumer::LockedBuffer* buffer, int64_t timestamp, int32_t width, int32_t height, int32_t numPlanes) argument
527 AImage_getHeight(const AImage* image, int32_t* height) argument
562 int32_t height = -1; local
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCameraFlashlight.cpp381 sp<CameraDeviceBase> &device, int32_t width, int32_t height) {
392 res = mSurfaceTexture->setDefaultBufferSize(width, height);
405 res = device->createStream(mSurface, width, height, format,
420 const camera_info& info, int32_t *width, int32_t *height) {
421 if (!width || !height) {
464 *height = h;
490 int32_t width, height; local
491 res = getSmallestSurfaceSize(info, &width, &height);
495 res = initializeSurface(device, width, height);
786 int32_t *width, int32_t *height) {
380 initializeSurface( sp<CameraDeviceBase> &device, int32_t width, int32_t height) argument
419 getSmallestSurfaceSize( const camera_info& info, int32_t *width, int32_t *height) argument
785 getSmallestSurfaceSize( int32_t *width, int32_t *height) argument
814 initializePreviewWindow( sp<CameraHardwareInterface> device, int32_t width, int32_t height) argument
866 int32_t width, height; local
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3IOStreamBase.cpp33 uint32_t width, uint32_t height, size_t maxSize, int format,
36 width, height, maxSize, format, dataSpace, rotation, setId),
78 camera3_stream::width, camera3_stream::height,
32 Camera3IOStreamBase(int id, camera3_stream_type_t type, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) argument
H A DCamera3OutputStream.cpp36 uint32_t width, uint32_t height, int format,
39 Camera3IOStreamBase(id, CAMERA3_STREAM_OUTPUT, width, height,
59 uint32_t width, uint32_t height, size_t maxSize, int format,
62 Camera3IOStreamBase(id, CAMERA3_STREAM_OUTPUT, width, height, maxSize,
88 uint32_t width, uint32_t height,
93 Camera3IOStreamBase(id, type, width, height,
370 camera3_stream::width, camera3_stream::height);
379 __FUNCTION__, camera3_stream::width, camera3_stream::height,
34 Camera3OutputStream(int id, sp<Surface> consumer, uint32_t width, uint32_t height, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, nsecs_t timestampOffset, int setId) argument
57 Camera3OutputStream(int id, sp<Surface> consumer, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, nsecs_t timestampOffset, int setId) argument
87 Camera3OutputStream(int id, camera3_stream_type_t type, uint32_t width, uint32_t height, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) argument
H A DCamera3ZslStream.cpp113 Camera3ZslStream::Camera3ZslStream(int id, uint32_t width, uint32_t height, argument
116 width, height,
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h83 int height; member in struct:android::BootAnimation::Animation
/frameworks/base/core/java/android/app/
H A DUiAutomationConnection.java152 public Bitmap takeScreenshot(int width, int height) { argument
160 return SurfaceControl.screenshot(width, height);
/frameworks/base/core/java/android/hardware/display/
H A DDisplayManager.java479 int width, int height, int densityDpi, @Nullable Surface surface, int flags) {
480 return createVirtualDisplay(name, width, height, densityDpi, surface, flags, null, null);
509 * @param height The height of the virtual display in pixels, must be greater than 0.
527 int width, int height, int densityDpi, @Nullable Surface surface, int flags,
530 name, width, height, densityDpi, surface, flags, callback, handler);
535 @NonNull String name, int width, int height, int densityDpi, @Nullable Surface surface,
538 name, width, height, densityDpi, surface, flags, callback, handler);
478 createVirtualDisplay(@onNull String name, int width, int height, int densityDpi, @Nullable Surface surface, int flags) argument
526 createVirtualDisplay(@onNull String name, int width, int height, int densityDpi, @Nullable Surface surface, int flags, @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) argument
534 createVirtualDisplay(@ullable MediaProjection projection, @NonNull String name, int width, int height, int densityDpi, @Nullable Surface surface, int flags, @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) argument
/frameworks/base/core/java/android/view/
H A DGraphicBuffer.java73 * @param height The height in pixels of the buffer
79 public static GraphicBuffer create(int width, int height, int format, int usage) { argument
80 long nativeObject = nCreateGraphicBuffer(width, height, format, usage);
82 return new GraphicBuffer(width, height, format, usage, nativeObject);
90 private GraphicBuffer(int width, int height, int format, int usage, long nativeObject) { argument
92 mHeight = height;
106 * Returns the height of this buffer in pixels.
271 int height = in.readInt();
276 return new GraphicBuffer(width, height, forma
286 nCreateGraphicBuffer(int width, int height, int format, int usage) argument
[all...]
/frameworks/base/core/java/android/view/animation/
H A DScaleAnimation.java278 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
279 super.initialize(width, height, parentWidth, parentHeight);
283 mFromY = resolveScale(mFromY, mFromYType, mFromYData, height, parentHeight);
284 mToY = resolveScale(mToY, mToYType, mToYData, height, parentHeight);
287 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight);
/frameworks/base/core/java/android/widget/
H A DEdgeEffect.java135 * @param height Effect height in pixels
137 public void setSize(int width, int height) { argument
141 final float or = height * 0.75f / SIN;
148 mBounds.set(mBounds.left, mBounds.top, width, (int) Math.min(height, h));
224 Math.sqrt(Math.abs(mPullDistance) * mBounds.height()) - 0.3d) / 0.7d);
313 * 1.f of height.
325 final float centerY = mBounds.height() - mRadius;
348 * Return the maximum height that the edge effect will be drawn at given the original
350 * @return The maximum height o
[all...]
H A DFrameLayout.java142 * and a height of {@link android.view.ViewGroup.LayoutParams#MATCH_PARENT}.
194 lp.height == LayoutParams.MATCH_PARENT) {
205 // Check against our minimum height and width
209 // Check against our foreground's minimum height and width
241 if (lp.height == LayoutParams.MATCH_PARENT) {
242 final int height = Math.max(0, getMeasuredHeight()
246 height, MeasureSpec.EXACTLY);
251 lp.height);
279 final int height = child.getMeasuredHeight();
313 childTop = parentTop + (parentBottom - parentTop - height) /
445 LayoutParams(int width, int height) argument
461 LayoutParams(int width, int height, int gravity) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java115 public void setFixedSize(int width, int height) { argument
116 if (mRequestedWidth != width || mRequestedHeight != height) {
118 mRequestedHeight = height;
227 public void setSurfaceFrameSize(int width, int height) { argument
231 mSurfaceFrame.bottom = height;
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarContextView.java125 layoutParams.height = mContentHeight;
137 public void setContentHeight(int height) { argument
138 mContentHeight = height;
239 layoutParams.height = mContentHeight;
321 final int height = maxHeight - verticalPadding;
322 final int childSpecHeight = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST);
357 final int customHeightMode = lp.height != LayoutParams.WRAP_CONTENT ?
359 final int customHeight = lp.height >= 0 ?
360 Math.min(lp.height, height)
[all...]
H A DPasswordEntryKeyboard.java58 public PasswordEntryKeyboard(Context context, int xmlLayoutResId, int width, int height) { argument
59 this(context, xmlLayoutResId, 0, width, height);
68 int width, int height) {
69 super(context, xmlLayoutResId, mode, width, height);
258 y -= height / 10;
67 PasswordEntryKeyboard(Context context, int xmlLayoutResId, int mode, int width, int height) argument
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp27 int height, int* offsets, int jpegQuality) {
41 setJpegCompressStruct(&cinfo, width, height, jpegQuality);
53 int width, int height, int quality) {
55 cinfo->image_height = height;
85 int height = cinfo->image_height; local
87 uint8_t* vuPlanar = yuv + offsets[1]; //width * height;
95 deinterleave(vuPlanar, uRows, vRows, cinfo->next_scanline, width, height);
97 // Jpeg library ignores the rows whose indices are greater than height.
104 // height and width are both halved because of downsampling
118 uint8_t* vRows, int rowIndex, int width, int height) {
26 encode(SkWStream* stream, void* inYuv, int width, int height, int* offsets, int jpegQuality) argument
52 setJpegCompressStruct(jpeg_compress_struct* cinfo, int width, int height, int quality) argument
117 deinterleave(uint8_t* vuPlanar, uint8_t* uRows, uint8_t* vRows, int rowIndex, int width, int height) argument
161 int height = cinfo->image_height; local
192 deinterleave(uint8_t* yuv, uint8_t* yRows, uint8_t* uRows, uint8_t* vRows, int rowIndex, int width, int height) argument
221 YuvImage_compressToJpeg(JNIEnv* env, jobject, jbyteArray inYuv, jint format, jint width, jint height, jintArray offsets, jintArray strides, jint jpegQuality, jobject jstream, jbyteArray jstorage) argument
[all...]
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfDocument.cpp36 PageRecord(int width, int height, const SkRect& contentRect) argument
40 , mHeight(height) {
64 SkCanvas* startPage(int width, int height, argument
70 PageRecord* page = new PageRecord(width, height, contentRect);
75 SkRect::MakeWH(contentRect.width(), contentRect.height()));
H A DPdfRenderer.cpp120 double height = 0; local
122 const int result = FPDF_GetPageSizeByIndex(document, pageIndex, &width, &height);
131 env->SetIntField(outSize, gPointClassInfo.y, height);
258 FPDF_BITMAP bitmap = FPDFBitmap_CreateEx(skBitmap.width(), skBitmap.height(),
/frameworks/base/core/jni/
H A Dandroid_media_RemoteDisplay.cpp65 uint32_t width, uint32_t height, uint32_t flags, uint32_t session) {
77 surfaceObj, width, height, flags, session);
64 onDisplayConnected(const sp<IGraphicBufferProducer>& bufferProducer, uint32_t width, uint32_t height, uint32_t flags, uint32_t session) argument

Completed in 392 milliseconds

1234567891011>>