Searched defs:height (Results 401 - 425 of 674) sorted by relevance

<<11121314151617181920>>

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Davcenc_api.h100 int height; /* height of an input frame in pixel */ member in struct:tagAVCEncParam
/frameworks/av/media/libstagefright/codecs/avcdec/
H A DSoftAVCDec.cpp115 320 /* width */, 240 /* height */, callbacks,
646 uint32_t height = s_dec_op.u4_pic_ht; local
648 handlePortSettingsChange(&portWillReset, width, height);
/frameworks/av/media/libstagefright/codecs/hevcdec/
H A DSoftHEVC.cpp69 320 /* width */, 240 /* height */, callbacks,
594 uint32_t height = s_dec_op.u4_pic_ht; local
596 handlePortSettingsChange(&portWillReset, width, height);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpvdec_api.cpp76 int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode)
256 /* Set max width and height. In H.263 mode, we use */
258 /* to pass in height. 04/23/2001 */
270 video->displayHeight = height;
272 video->height = (height + 15) & -16;
273 video->size = (int32)video->width * video->height;
289 status = PVAllocVideoData(decCtrl, width, height, nLayers);
304 Bool PVAllocVideoData(VideoDecControls *decCtrl, int width, int height, int nLayers) argument
315 video->displayHeight = height;
75 PVInitVideoDecoder(VideoDecControls *decCtrl, uint8 *volbuf[], int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode) argument
777 PVGetBufferDimensions(VideoDecControls *decCtrl, int32 *width, int32 *height) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/
H A Dmp4enc_api.h121 Int height; /* height for Y */ member in struct:tagvideoEncFrameIO
157 /** @brief Specifies encoded heights in pixels, height[n] represents the n-th layer's height. */
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmotion_comp.cpp38 Int width, Int height, Int rnd1);
107 Int height, pitch, pitch_uv, height_uv; local
119 height = currVop->height;
121 height_uv = height >> 1;
1521 Int width, Int height, Int rnd1)
1552 else if ((ypos >> 1) < (height - 8)) /* pad left of frame */
1573 src = c_prev + (height - 1) * lx;
1623 src = c_prev + (xpos >> 1) - xoffset + (height - 1) * lx;
1670 else if ((ypos >> 1) < (height
1520 EncGetPredOutside(Int xpos, Int ypos, UChar *c_prev, UChar *rec, Int width, Int height, Int rnd1) argument
[all...]
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
H A DSoftMPEG2.cpp69 320 /* width */, 240 /* height */, callbacks,
710 uint32_t height = s_dec_op.u4_pic_ht; local
712 handlePortSettingsChange(&portWillReset, width, height);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_reconstruct.c101 height height of the reference frame chrominance in pixels
104 chromaPartHeight height of the predicted part in pixels
116 u32 height,
138 (y0 < 0) || ((u32)y0+chromaPartHeight > height))
140 h264bsdFillBlock(pRef, block, x0, y0, width, height,
142 pRef += width * height;
144 x0, y0, width, height, chromaPartWidth + 1,
151 height = chromaPartHeight;
159 ptrA = pRef + (comp * height
110 h264bsdInterpolateChromaHor( u8 *pRef, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 xFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument
206 h264bsdInterpolateChromaVer( u8 *pRef, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 yFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument
302 h264bsdInterpolateChromaHorVer( u8 *ref, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 xFrac, u32 yFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument
428 u32 xFrac, yFrac, width, height, chromaPartWidth, chromaPartHeight; local
491 h264bsdInterpolateVerHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument
609 h264bsdInterpolateVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 verOffset) argument
743 h264bsdInterpolateHorHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument
866 h264bsdInterpolateHorQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horOffset) argument
1004 h264bsdInterpolateHorVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horVerOffset) argument
1210 h264bsdInterpolateMidHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument
1396 h264bsdInterpolateMidVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 verOffset) argument
1600 h264bsdInterpolateMidHorQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horOffset) argument
1834 u32 xFrac, yFrac, width, height; local
1983 u32 width, height; local
2222 h264bsdFillBlock( u8 *ref, u8 *fill, i32 x0, i32 y0, u32 width, u32 height, u32 blockWidth, u32 blockHeight, u32 fillScanLength) argument
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DColorUtils.cpp346 ColorAspects &aspects, int32_t width, int32_t height) {
352 if (width >= 3840 || height >= 3840 || width * (int64_t)height >= 3840 * 1634) {
355 } else if ((width <= 720 && height > 480 && height <= 576)
356 || (height <= 720 && width > 480 && width <= 576)) {
359 } else if ((width <= 720 && height <= 480) || (height <= 720 && width <= 480)) {
345 setDefaultCodecColorAspectsIfNeeded( ColorAspects &aspects, int32_t width, int32_t height) argument
/frameworks/av/media/libstagefright/omx/
H A DSoftVideoEncoderOMXComponent.cpp62 int32_t height,
69 mHeight(height),
387 struct android_ycbcr *ycbcr, int32_t width, int32_t height) {
394 for (size_t y = height; y > 0; --y) {
401 for (size_t y = height >> 1; y > 0; --y) {
411 for (size_t y = height >> 1; y > 0; --y) {
429 const uint8_t *inYVU, uint8_t* outYUV, int32_t width, int32_t height) {
431 int32_t outYsize = width * height;
442 for (int32_t i = height >> 1; i > 0; --i) {
461 const uint8_t *src, size_t width, size_t height, size_
55 SoftVideoEncoderOMXComponent( const char *name, const char *componentRole, OMX_VIDEO_CODINGTYPE codingType, const CodecProfileLevel *profileLevels, size_t numProfileLevels, int32_t width, int32_t height, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
385 ConvertFlexYUVToPlanar( uint8_t *dst, size_t dstStride, size_t dstVStride, struct android_ycbcr *ycbcr, int32_t width, int32_t height) argument
428 ConvertYUV420SemiPlanarToYUV420Planar( const uint8_t *inYVU, uint8_t* outYUV, int32_t width, int32_t height) argument
459 ConvertRGB32ToPlanar( uint8_t *dstY, size_t dstStride, size_t dstVStride, const uint8_t *src, size_t width, size_t height, size_t srcStride, bool bgr) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DMyTransmitter.h109 int height = 480; local
111 sp<MediaSource> source = new VideoSource(width, height);
116 encMeta->setInt32("height", height);
183 int32_t width, height; local
185 CHECK(meta->findInt32(kKeyHeight, &height));
193 sdp.append(height);
202 sdp.append(height);
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp349 void oneBufferPass(int width, int height );
350 void oneBufferPassNoFill(int width, int height );
387 int outputFormat, int videoEncoder, int width, int height, int fps);
464 int outputFormat, int videoEncoder, int width, int height, int fps) {
470 mr->setVideoSize(width, height);
505 void SurfaceMediaSourceTest::oneBufferPass(int width, int height ) {
515 SurfaceMediaSourceTest::fillYV12Buffer(img, width, height, buf->getStride());
524 int /* width */, int /* height */) {
636 // Pass the buffer with the wrong height and weight and should not be accepted
463 setUpMediaRecorder(int fd, int videoSource, int outputFormat, int videoEncoder, int width, int height, int fps) argument
/frameworks/av/media/libstagefright/webm/
H A DWebmElement.cpp345 uint64_t height,
375 videoInfo.push_back(new WebmUnsigned(kMkvPixelHeight, height));
342 VideoTrackEntry( const char *codec, uint64_t width, uint64_t height, const sp<MetaData> &meta, uint64_t uid, bool lacing, const char *lang) argument
H A DWebmWriter.cpp85 int32_t width, height; local
88 || !md->findInt32(kKeyHeight, &height)
109 return WebmElement::VideoTrackEntry(codec, width, height, md);
/frameworks/av/media/libstagefright/yuv/
H A DYUVImage.cpp26 YUVImage::YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height) { argument
29 mHeight = height;
31 size_t numberOfBytes = bufferSize(yuvFormat, width, height);
39 YUVImage::YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height, uint8_t *buffer) { argument
42 mHeight = height;
50 size_t YUVImage::bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height) { argument
51 int32_t numberOfPixels = width*height;
205 int32_t height = srcRect.height(); local
239 for (int32_t offsetY = 0; offsetY < height;
287 int32_t height = srcRect.height(); local
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Stream.cpp49 uint32_t width, uint32_t height, size_t maxSize, int format,
67 camera3_stream::height = height; member in class:android::camera3::camera3_stream
95 return camera3_stream::height;
47 Camera3Stream(int id, camera3_stream_type type, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) argument
/frameworks/base/core/java/android/app/
H A DActivityView.java292 private void setSurfaceAsync(final Surface surface, final int width, final int height, argument
299 mActivityContainer.setSurface(surface, width, height, densityDpi);
365 int height) {
369 if (DEBUG) Log.d(TAG, "onSurfaceTextureAvailable: width=" + width + " height="
370 + height);
372 mHeight = height;
379 int height) {
383 if (DEBUG) Log.d(TAG, "onSurfaceTextureSizeChanged: w=" + width + " h=" + height);
458 void setSurface(Surface surface, int width, int height, int density) argument
460 mIActivityContainer.setSurface(surface, width, height, densit
364 onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int width, int height) argument
378 onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, int width, int height) argument
[all...]
H A DNativeActivity.java111 int format, int width, int height);
271 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
274 onSurfaceChangedNative(mNativeHandle, holder.getSurface(), format, width, height);
110 onSurfaceChangedNative(long handle, Surface surface, int format, int width, int height) argument
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DCameraDeviceUserShim.java570 public int createInputStream(int width, int height, int format) { argument
H A DLegacyCameraDevice.java576 * @return the width and height of the surface
676 int height, int pixelFormat)
681 checkArgumentPositive(height, "height must be positive.");
683 LegacyExceptionUtils.throwOnError(nativeProduceFrame(surface, pixelBuffer, width, height,
694 static void setSurfaceDimens(Surface surface, int width, int height) argument
698 checkArgumentPositive(height, "height must be positive.");
700 LegacyExceptionUtils.throwOnError(nativeSetSurfaceDimens(surface, width, height));
799 int height, in
675 produceFrame(Surface surface, byte[] pixelBuffer, int width, int height, int pixelFormat) argument
798 nativeProduceFrame(Surface surface, byte[] pixelBuffer, int width, int height, int pixelFormat) argument
803 nativeSetSurfaceDimens(Surface surface, int width, int height) argument
[all...]
H A DSurfaceTextureRenderer.java74 int height; field in class:SurfaceTextureRenderer.EGLSurfaceHolder
251 private void drawFrame(SurfaceTexture st, int width, int height, int flipType) { argument
274 RectF output = new RectF(/*left*/0, /*top*/0, /*right*/width, /*bottom*/height);
282 float scaleY = intermediate.height() / output.height();
292 width + "x" + height + " surface, intermediate buffer size is " + texWidth +
297 GLES20.glViewport(0, 0, width, height);
477 int length = holder.width * holder.height;
482 EGL14.EGL_HEIGHT, holder.height,
579 path.append(String.format("_%d_%d", surface.width, surface.height));
[all...]
/frameworks/base/core/java/android/view/
H A DSurface.java377 * Sets the translator used to scale canvas's width/height in compatibility
577 * <li>Returns the width and height of the target metrics, rather than
627 Canvas lockCanvas(int width, int height) { argument
631 mCanvas = mRenderNode.start(width, height);
H A DTextureView.java64 * public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) {
75 * public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) {
399 // parameters are correct (width, height, transform, etc.)
528 * texture is not available or the width &lt;= 0 or the height &lt;= 0
552 * @param height The height of the bitmap to create
555 * texture is not available or width is &lt;= 0 or height is &lt;= 0
561 public Bitmap getBitmap(int width, int height) { argument
562 if (isAvailable() && width > 0 && height > 0) {
564 width, height, Bitma
806 onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) argument
816 onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DActionMenuView.java461 int height = v.getMeasuredHeight();
471 int t = midVertical - (height / 2);
472 int b = t + height;
492 final int height = v.getMeasuredHeight();
495 final int t = midVertical - height / 2;
496 v.layout(l, t, l + width, t + height);
514 int height = v.getMeasuredHeight();
515 int t = midVertical - height / 2;
516 v.layout(startRight - width, t, startRight, t + height);
530 int height
826 LayoutParams(int width, int height) argument
832 LayoutParams(int width, int height, boolean isOverflowButton) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java151 // Make sure to have some height for the divider
323 * @param menuHeight The height of this menu to assume for positioning
411 // Get the desired height of the icon menu view (last row of items does
417 // Maximum possible width and desired height
757 public LayoutParams(int width, int height) { argument
758 super(width, height);

Completed in 1861 milliseconds

<<11121314151617181920>>