Searched defs:width (Results 251 - 275 of 400) sorted by relevance

<<111213141516

/frameworks/av/media/libstagefright/
H A DCameraSource.cpp122 size.width = -1;
167 mVideoSize.width = -1;
209 * Check to see whether the requested video width and height is one
211 * @param width the video frame width in pixels
214 * @return true if the dimension (width and height) is supported.
217 int32_t width, int32_t height,
222 if (width == supportedSizes[i].width &&
280 * (width an
216 isVideoSizeSupported( int32_t width, int32_t height, const Vector<Size>& supportedSizes) argument
293 configureCamera( CameraParameters* params, int32_t width, int32_t height, int32_t frameRate) argument
369 checkVideoSize( const CameraParameters& params, int32_t width, int32_t height) argument
[all...]
H A DMediaCodec.cpp615 int32_t width, height; local
616 CHECK(msg->findInt32("width", &width));
624 meta->setInt32(kKeyWidth, width);
H A Davc_utils.cpp44 const sp<ABuffer> &seqParamSet, int32_t *width, int32_t *height) {
93 *width = pic_width_in_mbs_minus1 * 16 + 16;
127 *width -=
256 int32_t width, height; local
257 FindAVCDimensions(seqParamSet, &width, &height);
301 meta->setInt32(kKeyWidth, width);
305 width, height, AVCProfileToString(profile), level / 10, level % 10);
402 const uint8_t *data, size_t size, int32_t *width, int32_t *height) {
475 *width = video_object_layer_width;
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/src/
H A Ddeblock.cpp78 int pitch = video->currPic->pitch, pitch_c, width; local
85 width = video->currPic->width;
98 SrcY += ((pitch << 4) - width);
99 SrcU += ((pitch_c << 3) - (width >> 1));
100 SrcV += ((pitch_c << 3) - (width >> 1));
206 if (x_pos) /* find the width */
/frameworks/av/media/libstagefright/codecs/avc/enc/
H A DSoftAVCEncoder.cpp106 int32_t width, int32_t height) {
108 int32_t outYsize = width * height;
119 for (int32_t j = width >> 2; j > 0; --j) {
264 mEncParams->width = mVideoWidth;
104 ConvertYUV420SemiPlanarToYUV420Planar( uint8_t *inyuv, uint8_t* outyuv, int32_t width, int32_t height) argument
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Davcenc_api.h99 int width; /* width of an input frame in pixel */ member in struct:tagAVCEncParam
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpvdec_api.cpp68 int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode)
238 /* Set max width and height. In H.263 mode, we use */
239 /* volbuf_size[0] to pass in width and volbuf_size[1] */
250 video->size = (int32)width * height;
252 video->displayWidth = video->width = width;
268 status = PVAllocVideoData(decCtrl, width, height, nLayers);
282 Bool PVAllocVideoData(VideoDecControls *decCtrl, int width, int height, int nLayers) argument
292 video->displayWidth = video->width = width;
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
1602 int width = video->width; local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmotion_comp.cpp38 Int width, Int height, Int rnd1);
40 void Copy_MB_from_Vop(UChar *comp, Int yChan[][NCOEFF_BLOCK], Int width);
41 void Copy_B_from_Vop(UChar *comp, Int cChan[], Int width);
42 void Copy_MB_into_Vop(UChar *comp, Int yChan[][NCOEFF_BLOCK], Int width);
43 void Copy_B_into_Vop(UChar *comp, Int cChan[], Int width);
158 pitch_uv, (currVop->width) >> 1, height_uv, round1);
182 pitch_uv, (currVop->width) >> 1, height_uv, round1);
1521 Int width, Int height, Int rnd1)
1528 lx = width + 16; /* only works for chroma */
1593 else if ((xpos >> 1) < (width
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 Dh264bsd_deblocking.c594 ASSERT(image->width);
597 picWidthInMbs = image->width;
946 u32 width)
983 data += width;
1021 i32 width)
1040 p1 = data[-width*2]; p0 = data[-width];
1041 q0 = data[0]; q1 = data[width];
1050 data[-width] = p0;
1069 i32 width)
942 FilterVerChromaEdge( u8 *data, u32 bS, edgeThreshold_t *thresholds, u32 width) argument
1017 FilterHorChromaEdge( u8 *data, u32 bS, edgeThreshold_t *thresholds, i32 width) argument
1065 FilterHorChroma( u8 *data, u32 bS, edgeThreshold_t *thresholds, i32 width) argument
1542 FilterLuma( u8 *data, bS_t *bS, edgeThreshold_t *thresholds, u32 width) argument
1624 FilterChroma( u8 *dataCb, u8 *dataCr, bS_t *bS, edgeThreshold_t *thresholds, u32 width) argument
[all...]
H A Dh264bsd_intra_prediction.c207 u32 width, u32 constrainedIntraPred)
235 (ptr - width),
236 (ptr - width-1),
238 (i32)width,
263 u8 *ptr, u32 width,
328 a = ptr - width + x;
333 l = ptr + y * width -1;
337 width = 16;
341 al = l-width;
349 (i32)width,
206 h264bsdIntra16x16Prediction(mbStorage_t *pMb, u8 *data, u8 *ptr, u32 width, u32 constrainedIntraPred) argument
261 h264bsdIntra4x4Prediction(mbStorage_t *pMb, u8 *data, macroblockLayer_t *mbLayer, u8 *ptr, u32 width, u32 constrainedIntraPred, u32 block) argument
381 u32 width; local
546 u32 width, picSize; local
929 u32 width; local
[all...]
H A Dh264bsd_reconstruct.c98 width width of the reference frame chrominance in pixels
101 chromaPartWidth width of the predicted part in pixels
113 u32 width,
135 if ((x0 < 0) || ((u32)x0+chromaPartWidth+1 > width) ||
138 h264bsdFillBlock(pRef, block, x0, y0, width, height,
140 pRef += width * height;
142 x0, y0, width, height, chromaPartWidth + 1,
148 width = chromaPartWidth+1;
157 ptrA = pRef + (comp * height + (u32)y0) * width
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 DESQueue.cpp684 unsigned width = local
692 mFormat->setInt32(kKeyWidth, width);
695 ALOGI("found MPEG2 video codec config (%d x %d)", width, height);
800 int32_t width = -1, height = -1; local
843 &width, &height));
858 mFormat->setInt32(kKeyWidth, width);
862 width, height);
/frameworks/av/media/libstagefright/rtsp/
H A DMyTransmitter.h107 int width = 640; local
110 sp<MediaSource> source = new VideoSource(width, height);
114 encMeta->setInt32(kKeyWidth, width);
180 int32_t width, height; local
181 CHECK(meta->findInt32(kKeyWidth, &width));
192 sdp.append(width);
197 sdp.append(width);
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp352 void oneBufferPass(int width, int height );
353 void oneBufferPassNoFill(int width, int height );
392 int outputFormat, int videoEncoder, int width, int height, int fps);
469 int outputFormat, int videoEncoder, int width, int height, int fps) {
475 mr->setVideoSize(width, height);
510 void SurfaceMediaSourceTest::oneBufferPass(int width, int height ) { argument
521 SurfaceMediaSourceTest::fillYV12Buffer(img, width, height, buf->getStride());
528 void SurfaceMediaSourceTest::oneBufferPassNoFill(int width, int height ) { argument
468 setUpMediaRecorder(int fd, int videoSource, int outputFormat, int videoEncoder, int width, int height, int fps) argument
/frameworks/av/media/libstagefright/yuv/
H A DYUVImage.cpp26 YUVImage::YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height) { argument
28 mWidth = width;
31 size_t numberOfBytes = bufferSize(yuvFormat, width, height);
39 YUVImage::YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height, uint8_t *buffer) { argument
41 mWidth = width;
50 size_t YUVImage::bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height) { argument
51 int32_t numberOfPixels = width*height;
204 int32_t width = srcRect.width(); local
236 size_t numberOfYBytesPerRow = (size_t) width;
286 int32_t width = srcRect.width(); local
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DFakeCamera.cpp283 static void convert_rgb16_to_yuv420(uint8_t *rgb, uint8_t *yuv, int width, int height) argument
293 param[0] = (uint32_t) width;
295 param[2] = (uint32_t) width;
297 param[4] = (uint32_t) width;
312 FakeCamera::FakeCamera(int width, int height) argument
315 setSize(width, height);
323 void FakeCamera::setSize(int width, int height) argument
325 mWidth = width;
427 snprintf(buffer, 255, " width x height (%d x %d), counter (%d), check x-y coordinate(%d, %d)\n", mWidth, mHeight, mCounter, mCheckX, mCheckY);
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp114 const int w = bitmap.width();
173 const int w = bitmap.width();
334 glScissor(updateRect.left, mHeight - updateRect.bottom, updateRect.width(),
414 int fps, width, height, count, pause; local
417 if (sscanf(l, "%d %d %d", &width, &height, &fps) == 3) {
418 //LOGD("> w=%d, h=%d, fps=%d", width, height, fps);
419 animation.width = width;
486 const int xc = (mWidth - animation.width) / 2;
492 clearReg.subtractSelf(Rect(xc, yc, xc+animation.width, y
[all...]
/frameworks/base/core/java/android/app/
H A DActionBar.java940 public LayoutParams(int width, int height) { argument
941 super(width, height);
945 public LayoutParams(int width, int height, int gravity) { argument
946 super(width, height);
H A DNativeActivity.java101 int format, int width, int height);
295 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
298 onSurfaceChangedNative(mNativeHandle, holder.getSurface(), format, width, height);
100 onSurfaceChangedNative(int handle, Surface surface, int format, int width, int height) argument
H A DWallpaperManager.java272 int width = params.getInt("width", 0);
279 return generateBitmap(bm, width, height);
301 int width = mService.getWidthHint();
307 return generateBitmap(bm, width, height);
591 * Returns the desired minimum width for the wallpaper. Callers of
595 * minimum width.
597 * If the returned value is <= 0, the caller should use the width of
600 * @return The desired minimum width for the wallpaper. This value should
660 * @param minimumWidth Desired minimum width
771 generateBitmap(Bitmap bm, int width, int height) argument
[all...]
/frameworks/base/core/java/android/text/
H A DDynamicLayout.java46 int width, Alignment align,
49 this(base, base, paint, width, align, spacingmult, spacingadd,
60 int width, Alignment align,
63 this(base, display, paint, width, align, spacingmult, spacingadd,
76 int width, Alignment align,
80 this(base, display, paint, width, align, TextDirectionHeuristics.FIRSTSTRONG_LTR,
95 int width, Alignment align, TextDirectionHeuristic textDir,
104 paint, width, align, textDir, spacingmult, spacingadd);
115 mEllipsizedWidth = width;
44 DynamicLayout(CharSequence base, TextPaint paint, int width, Alignment align, float spacingmult, float spacingadd, boolean includepad) argument
58 DynamicLayout(CharSequence base, CharSequence display, TextPaint paint, int width, Alignment align, float spacingmult, float spacingadd, boolean includepad) argument
74 DynamicLayout(CharSequence base, CharSequence display, TextPaint paint, int width, Alignment align, float spacingmult, float spacingadd, boolean includepad, TextUtils.TruncateAt ellipsize, int ellipsizedWidth) argument
93 DynamicLayout(CharSequence base, CharSequence display, TextPaint paint, int width, Alignment align, TextDirectionHeuristic textDir, float spacingmult, float spacingadd, boolean includepad, TextUtils.TruncateAt ellipsize, int ellipsizedWidth) argument
H A DStaticLayout.java45 int width,
48 this(source, 0, source.length(), paint, width, align,
56 int width, Alignment align, TextDirectionHeuristic textDir,
59 this(source, 0, source.length(), paint, width, align, textDir,
246 int width = firstWidth;
258 // fit is a character offset such that the [here, fit[ range fits in the allowed width.
343 if (w <= width) {
399 // If it is a space that makes the length exceed width, cut here
443 width = restWidth;
44 StaticLayout(CharSequence source, TextPaint paint, int width, Alignment align, float spacingmult, float spacingadd, boolean includepad) argument
55 StaticLayout(CharSequence source, TextPaint paint, int width, Alignment align, TextDirectionHeuristic textDir, float spacingmult, float spacingadd, boolean includepad) argument
/frameworks/base/core/java/android/view/
H A DGLES20RecordingCanvas.java130 public void drawBitmap(int[] colors, int offset, int stride, float x, float y, int width, argument
132 super.drawBitmap(colors, offset, stride, x, y, width, height, hasAlpha, paint);
137 public void drawBitmap(int[] colors, int offset, int stride, int x, int y, int width, argument
139 super.drawBitmap(colors, offset, stride, x, y, width, height, hasAlpha, paint);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuPresenter.java96 int width = mWidthLimit;
103 width -= mOverflowButton.getMeasuredWidth();
108 mActionItemWidthLimit = width;
126 public void setWidthLimit(int width, boolean strict) { argument
127 mWidthLimit = width;
426 // can break the max actions rule, but not the width limit.
464 // We broke the width limit. Demote the whole group, they all overflow now.
H A DIconMenuView.java157 // Make sure to have some width for the divider
179 * @param width The available width for the icon menu.
181 private void layoutItems(int width) { argument
322 * @param menuWidth The width of this menu to assume for positioning
371 // Increment by item width
382 // Increment by divider width (even if we're not computing
417 // Maximum possible width and desired height
655 * @param width The available width o
657 calculateItemFittingMetadata(int width) argument
757 LayoutParams(int width, int height) argument
[all...]

Completed in 333 milliseconds

<<111213141516