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

<<11121314151617181920>>

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Ddatapart_decode.cpp626 int width = video->width; local
715 offset = (int32)(y_pos << 4) * width + (x_pos << 4);
731 BlockIDCT(c_comp + (comp&2)*(width << 2) + 8*(comp&1), mblock->pred_block + (comp&2)*64 + 8*(comp&1), mblock->block[comp], width, ncoeffs[comp],
755 BlockIDCT(video->currVop->uChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 256, mblock->block[4], width >> 1, ncoeffs[4],
775 BlockIDCT(video->currVop->vChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 264, mblock->block[5], width >> 1, ncoeffs[5],
H A Dmb_motion_comp.cpp140 int height, width, pred_width; local
168 /* width of luminance data in pixels (y axis) */
169 width = video->width;
184 /* ypos*width -> row, +x -> column */
185 offset = (int32)ypos * width + xpos;
251 video->mblock->pred_block, width, height,
267 pred_width = width;
271 if (xpred >= 0 && xpred <= ((width << 1) - (2*B_SIZE)) &&
277 GetPredAdvBTable[ypred&1][xpred&1](c_prev + (xpred >> 1) + ((ypred >> 1)*width),
558 int width, width_uv; local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dcombined_encode.cpp43 Int width = currVop->width; /* has to be Vop, for multiple of 16 */ local
210 offset += (lx << 4) - width;
271 Int width = currVop->width; /* has to be Vop, for multiple of 16 */ local
524 offset += (lx << 4) - width;
539 offset += (lx << 4) - width;
H A Dfastcodemb.cpp78 Int width = currVop->width; local
131 if (lx != width) input -= (ind_y << 9); /* non-padded offset */
151 dctMode = ((width << 3) - 8);
163 if (lx != width) input -= (ind_y << 7);
165 width >>= 1;
168 sad = getBlockSum(input, width);
178 sad = Sad8x8(input, pred, width);
184 if (lx != width) input -= (ind_y << 7);
187 sad = getBlockSum(input, width);
309 Int width = currVop->width; local
533 Sad8x8(UChar *cur, UChar *prev, Int width) argument
599 getBlockSum(UChar *cur, Int width) argument
[all...]
H A Dfindhalfpel.cpp34 void GenerateSearchRegion(UChar *searchPadding, UChar *ref, Int width, Int height,
80 Int width = video->currVop->width; /* padding */ local
102 else if (imin >= width - 1)
113 else if (imin >= width - 16)
195 Int width = video->currVop->width; /* , padding */ local
222 else if (imin >= width - 1)
231 cur8 = cur + ((comp & 1) << 3) + ((comp & 2) << 2) * width ;
H A Dme_utils.cpp103 Input/Output: Center of the search, Half-pel memory, width
159 Input/Output: Center of the search, Half-pel memory, width
222 Int pitch, width, height; local
225 width = refVop->width;
233 temp2 = src[width-1]; /* top-right corner */
246 M4VENC_MEMCPY(dst, src, width);
248 *((ULong*)(dst += width)) = temp2;
253 dst = dst - width - 16;
269 temp2 = src[width
[all...]
H A Dsad.cpp322 Int width = (lx - 32); local
344 kk += (width >> 2);
H A Dsad_halfpel.cpp19 Int HalfPel1_SAD_MB(UChar *ref,UChar *blk,Int dmin,Int width,Int ih,Int jh)
20 Int HalfPel2_SAD_MB(UChar *ref,UChar *blk,Int dmin,Int width)
21 Int HalfPel1_SAD_Blk(UChar *ref,UChar *blk,Int dmin,Int width,Int ih,Int jh)
22 Int HalfPel2_SAD_Blk(UChar *ref,UChar *blk,Int dmin,Int width)
24 Int SAD_MB_HalfPel_C(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info)
25 Int SAD_MB_HP_HTFM_Collect(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info)
26 Int SAD_MB_HP_HTFM(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info)
27 Int SAD_Blk_HalfPel_C(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info)
64 Int HalfPel1_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) argument
75 else p2 = ref + width;
96 HalfPel2_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width) argument
138 HalfPel1_SAD_Blk(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) argument
170 HalfPel2_SAD_Blk(UChar *ref, UChar *blk, Int dmin, Int width) argument
780 SAD_Blk_HalfPel_C(UChar *ref, UChar *blk, Int dmin, Int width, Int rx, Int xh, Int yh, void *extra_info) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/dec/
H A DSoftVPX.cpp47 320 /* width */, 240 /* height */, callbacks, appData, component),
145 uint32_t width = mImg->d_w; local
150 handlePortSettingsChange(portWillReset, width, height);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_decoder.c627 Get width of the picture in macroblocks
636 picture width
671 picture width
831 width width of the image after cropping is stored here
841 u32 *leftOffset, u32 *width, u32 *topOffset, u32 *height)
854 *width = 16 * pStorage->activeSps->picWidthInMbs -
866 *width = 0;
885 sarHeight sample aspect ratio width
840 h264bsdCroppingParams(storage_t *pStorage, u32 *croppingFlag, u32 *leftOffset, u32 *width, u32 *topOffset, u32 *height) argument
/frameworks/av/media/libstagefright/rtsp/
H A DASessionDescription.cpp227 int32_t *width, int32_t *height) const {
228 *width = 0;
240 *width = strtoul(s, &end, 10);
225 getDimensions( size_t index, unsigned long PT, int32_t *width, int32_t *height) const 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,
283 if (config->width == 0) {
287 if (width) {
288 *width = config->width;
270 GetConfiguration( ResolutionType type, size_t index, size_t *width, size_t *height, size_t *framesPerSecond, bool *interlaced) argument
494 size_t width, height, framesPerSecond; local
[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) {
103 AImage::getWidth(int32_t* width) const {
104 if (width == nullptr) {
107 *width = -1;
112 *width = mWidth;
247 *rowStride = mBuffer->width;
271 // Single plane 16bpp bayer data. even width/height,
308 uint32_t width = mBuffer->width; local
32 AImage(AImageReader* reader, int32_t format, CpuConsumer::LockedBuffer* buffer, int64_t timestamp, int32_t width, int32_t height, int32_t numPlanes) argument
516 AImage_getWidth(const AImage* image, int32_t* width) argument
557 int32_t width = -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) {
463 *width = w;
490 int32_t width, height; local
491 res = getSmallestSurfaceSize(info, &width, &height);
495 res = initializeSurface(device, width, height);
786 int32_t *width, int32_
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.h82 int width; 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);
508 * @param width The width 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/text/
H A DBoringLayout.java195 mMax = metrics.width;
199 * width because the width that was passed in was for the
216 * Returns null if not boring; the width, ascent, and descent if boring.
224 * Returns null if not boring; the width, ascent, and descent if boring.
234 * Returns null if not boring; the width, ascent, and descent in the
243 * Returns null if not boring; the width, ascent, and descent in the
310 fm.width = (int) Math.ceil(line.metrics(fm));
428 public int width; field in class:BoringLayout.Metrics
431 return super.toString() + " width
[all...]
/frameworks/base/core/java/android/view/
H A DGraphicBuffer.java72 * @param width The width 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
91 mWidth = width;
99 * Returns the width of this buffer in pixels.
270 int width = in.readInt();
276 return new GraphicBuffer(width, heigh
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);
281 mFromX = resolveScale(mFromX, mFromXType, mFromXData, width, parentWidth);
282 mToX = resolveScale(mToX, mToXType, mToXData, width, parentWidth);
286 mPivotX = resolveSize(mPivotXType, mPivotXValue, width, parentWidth);
/frameworks/base/core/java/android/widget/
H A DEdgeEffect.java134 * @param width Effect width in pixels
137 public void setSize(int width, int height) { argument
138 final float r = width * 0.75f / SIN;
148 mBounds.set(mBounds.left, mBounds.top, width, (int) Math.min(height, h));
312 * width of X=0 to X=width, beginning from Y=0 and extending to some factor <
330 float translateX = mBounds.width() * displacement / 2;
H A DFrameLayout.java140 * Returns a set of layout parameters with a width of
193 if (lp.width == LayoutParams.MATCH_PARENT ||
205 // Check against our minimum height and width
209 // Check against our foreground's minimum height and width
227 if (lp.width == LayoutParams.MATCH_PARENT) {
228 final int width = Math.max(0, getMeasuredWidth()
232 width, MeasureSpec.EXACTLY);
237 lp.width);
278 final int width = child.getMeasuredWidth();
295 childLeft = parentLeft + (parentRight - parentLeft - width) /
445 LayoutParams(int width, int height) argument
461 LayoutParams(int width, int height, int gravity) argument
[all...]

Completed in 759 milliseconds

<<11121314151617181920>>