/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/ |
H A D | RsRenderStatesRS.java | 140 private Mesh getMbyNMesh(float width, float height, int wResolution, int hResolution) { argument 147 final float yOffset = (normalizedY - 0.5f) * height;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 201 int height, int nativeConfig, boolean mutable) { 205 BufferedImage image = new BufferedImage(width, height, imageType); 208 image.setRGB(0, 0, width, height, colors, offset, stride); 227 int height = srcImage.getHeight(); 232 BufferedImage image = new BufferedImage(width, height, imageType); 235 int[] argb = new int[width * height]; 236 srcImage.getRGB(0, 0, width, height, argb, 0, width); 237 image.setRGB(0, 0, width, height, argb, 0, width); 351 int stride, int x, int y, int width, int height) { 357 delegate.getImage().getRGB(x, y, width, height, pixel 200 nativeCreate(int[] colors, int offset, int stride, int width, int height, int nativeConfig, boolean mutable) argument 350 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 372 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | CpuConsumer_test.cpp | 42 uint32_t height; member in struct:android::CpuConsumerTestParams 48 return os << "[ (" << p.width << ", " << p.height << "), B:" 62 params.width, params.height, 197 // Blocks need to be even-width/height, aim for 8-wide otherwise 222 uint32_t h = buf.height; 275 params.width, params.height, params.format); 320 fillYV12Buffer(img, params.width, params.height, *stride); 323 fillBayerRawBuffer(img, params.width, params.height, buf->getStride()); 367 EXPECT_EQ(params.height, b.height); [all...] |
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
H A D | GL2CameraEye.java | 176 mCameraRatio = (float)previewSize.width/previewSize.height; 232 public void onSurfaceChanged(GL10 glUnused, int width, int height) { argument 235 GLES20.glViewport(0, 0, width, height); 236 mRatio = (float) width / height;
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcStress.cpp | 198 static EGLint width, height; variable 448 layer->displayFrame.top = testRandMod(height); 452 + testRandMod(height - layer->displayFrame.top) + 1; 461 // width and height will fit. 467 && ((layer->displayFrame.top + sourceHeight) <= height)) { 536 hwcTestInitDisplay(verbose, &dpy, &surface, &width, &height); 567 // dimensions. Width and height need to be >= 1. 573 // Pick width and height, which must be >= 1 and the size 576 size_t h = (height * maxSizeRatio) * testRandFract(); 586 testPrintI(" frame %u width: %u height [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer.h | 297 uint32_t height; member in struct:android::HWComposer::DisplayData
|
/frameworks/av/cmds/stagefright/ |
H A D | sf2.cpp | 275 int32_t width, height; local 277 CHECK(meta->findInt32(kKeyHeight, &height)); 280 msg->setInt32("height", height);
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | NativeWindowRenderer.cpp | 129 int width, int height) 132 , mDstHeight(height) 396 MediaBuffer* buffer, int width, int height) { 397 native_window_set_buffers_geometry(anw, width, height, 409 copyI420Buffer(buffer, img, width, height, buf->getStride()); 593 // If rotation degrees is 90 or 270, swap width and height 128 NativeWindowRenderer(sp<ANativeWindow> nativeWindow, int width, int height) argument 395 queueExternalBuffer(ANativeWindow* anw, MediaBuffer* buffer, int width, int height) argument
|
/frameworks/av/libvideoeditor/vss/3gpwriter/inc/ |
H A D | M4MP4W_Types.h | 164 M4OSA_UInt16 height; member in struct:__anon90 251 M4OSA_UInt16 height; /* Y*/ member in struct:__anon93
|
/frameworks/av/libvideoeditor/vss/common/inc/ |
H A D | M4WRITER_common.h | 131 M4OSA_UInt32 height; /**< Frame height */ member in struct:__anon195
|
/frameworks/av/libvideoeditor/vss/inc/ |
H A D | M4VSS3GPP_Extended_API.h | 135 /**< Text plane height. Used only if VideoEffectType == text */ 151 M4OSA_UInt32 height; /*height of the ARGB8888 clip . member in struct:__anon240 166 /*To support ARGB8888 : get the width and height */ 168 M4OSA_UInt32 height; member in struct:__anon241
|
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4xVSS_API.c | 597 M4OSA_UInt32 width, height, samplingFreq; local 907 /* Get output width/height */ 912 height = 96; 917 height = 120; 922 height = 144; 927 height = 240; 932 height = 288; 937 height = 480; 942 height = 480; 947 height [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayer.cpp | 455 int32_t width, height; local 457 CHECK(codecRequest->findInt32("height", &height)); 466 width, height,
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSource.cpp | 127 size.height = -1; 173 mVideoSize.height = -1; 214 * Check to see whether the requested video width and height is one 217 * @param height the video frame height in pixels 219 * @return true if the dimension (width and height) is supported. 222 int32_t width, int32_t height, 228 height == supportedSizes[i].height) { 285 * (width and height) an 221 isVideoSizeSupported( int32_t width, int32_t height, const Vector<Size>& supportedSizes) argument 298 configureCamera( CameraParameters* params, int32_t width, int32_t height, int32_t frameRate) argument 374 checkVideoSize( const CameraParameters& params, int32_t width, int32_t height) argument [all...] |
H A D | MediaCodec.cpp | 630 int32_t width, height; local 632 CHECK(msg->findInt32("height", &height)); 640 meta->setInt32(kKeyHeight, height);
|
H A D | avc_utils.cpp | 44 const sp<ABuffer> &seqParamSet, int32_t *width, int32_t *height) { 95 *height = (2 - frame_mbs_only_flag) 129 *height -= 256 int32_t width, height; local 257 FindAVCDimensions(seqParamSet, &width, &height); 302 meta->setInt32(kKeyHeight, height); 305 width, height, AVCProfileToString(profile), level / 10, level % 10); 402 const uint8_t *data, size_t size, int32_t *width, int32_t *height) { 476 *height = video_object_layer_height; 43 FindAVCDimensions( const sp<ABuffer> &seqParamSet, int32_t *width, int32_t *height) argument 401 ExtractDimensionsFromVOLHeader( const uint8_t *data, size_t size, int32_t *width, int32_t *height) argument
|
/frameworks/av/media/libstagefright/codecs/avc/common/include/ |
H A D | avcapi_common.h | 148 /** In/Out: Coded height of the luma component, must be multiple of 16. */ 149 int height; member in struct:tagAVCFrameIO 154 /** In/Out: Display height, less than height */
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
H A D | SoftAVCEncoder.cpp | 110 int32_t width, int32_t height) { 112 int32_t outYsize = width * height; 122 for (int32_t i = height >> 1; i > 0; --i) { 273 mEncParams->height = mVideoHeight; 806 videoInput.height = ((mVideoHeight + 15) >> 4) << 4; 839 videoInput.YCbCr[1] = videoInput.YCbCr[0] + videoInput.height * videoInput.pitch; 841 ((videoInput.height * videoInput.pitch) >> 2); 108 ConvertYUV420SemiPlanarToYUV420Planar( uint8_t *inyuv, uint8_t* outyuv, int32_t width, int32_t height) argument
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | avcenc_api.h | 100 int height; /* height of an input frame in pixel */ member in struct:tagAVCEncParam
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pvdec_api.cpp | 68 int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode) 238 /* Set max width and height. In H.263 mode, we use */ 240 /* to pass in height. 04/23/2001 */ 250 video->size = (int32)width * height; 253 video->displayHeight = video->height = height; 268 status = PVAllocVideoData(decCtrl, width, height, nLayers); 282 Bool PVAllocVideoData(VideoDecControls *decCtrl, int width, int height, int nLayers) argument 293 video->displayHeight = video->height = height; 67 PVInitVideoDecoder(VideoDecControls *decCtrl, uint8 *volbuf[], int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode) argument 725 PVGetBufferDimensions(VideoDecControls *decCtrl, int32 *width, int32 *height) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/ |
H A D | mp4enc_api.h | 121 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 D | motion_comp.cpp | 38 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/on2/h264dec/source/ |
H A D | h264bsd_reconstruct.c | 99 height height of the reference frame chrominance in pixels 102 chromaPartHeight height of the predicted part in pixels 114 u32 height, 136 (y0 < 0) || ((u32)y0+chromaPartHeight > height)) 138 h264bsdFillBlock(pRef, block, x0, y0, width, height, 140 pRef += width * height; 142 x0, y0, width, height, chromaPartWidth + 1, 149 height = chromaPartHeight; 157 ptrA = pRef + (comp * height 108 h264bsdInterpolateChromaHor( u8 *pRef, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 xFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument 204 h264bsdInterpolateChromaVer( u8 *pRef, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 yFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument 300 h264bsdInterpolateChromaHorVer( u8 *ref, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 xFrac, u32 yFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument 426 u32 xFrac, yFrac, width, height, chromaPartWidth, chromaPartHeight; local 489 h264bsdInterpolateVerHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument 607 h264bsdInterpolateVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 verOffset) argument 741 h264bsdInterpolateHorHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument 864 h264bsdInterpolateHorQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horOffset) argument 1002 h264bsdInterpolateHorVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horVerOffset) argument 1208 h264bsdInterpolateMidHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument 1394 h264bsdInterpolateMidVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 verOffset) argument 1598 h264bsdInterpolateMidHorQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horOffset) argument 1832 u32 xFrac, yFrac, width, height; local 1981 u32 width, height; local 2219 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/mpeg2ts/ |
H A D | ESQueue.cpp | 776 unsigned height = local 782 mFormat->setInt32(kKeyHeight, height); 784 ALOGI("found MPEG2 video codec config (%d x %d)", width, height); 889 int32_t width = -1, height = -1; local 932 &width, &height)); 948 mFormat->setInt32(kKeyHeight, height); 951 width, height);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | MyTransmitter.h | 108 int height = 480; local 110 sp<MediaSource> source = new VideoSource(width, height); 115 encMeta->setInt32(kKeyHeight, height); 180 int32_t width, height; local 182 CHECK(meta->findInt32(kKeyHeight, &height)); 190 sdp.append(height); 199 sdp.append(height);
|