HomeSort by relevance Sort by last modified time
    Searched refs:width (Results 176 - 200 of 10732) sorted by null

1 2 3 4 5 6 78 91011>>

  /frameworks/base/graphics/java/android/graphics/
Atlas.java 78 * @param width The width of the atlas in pixels
83 public Atlas(Type type, int width, int height) {
84 this(type, width, height, FLAG_DEFAULTS);
93 * @param width The width of the atlas in pixels
100 public Atlas(Type type, int width, int height, int flags) {
101 mPolicy = findPolicy(type, width, height, flags);
107 * @param width The width of the rectangle to pack in the atla
248 int width; field in class:Atlas.SlicePolicy.Cell
    [all...]
  /external/libyuv/files/source/
rotate.cc 27 int width, int height) {
30 uint8* dst, int dst_stride, int width) = TransposeWx8_C;
39 if (IS_ALIGNED(width, 8)) {
47 if (IS_ALIGNED(width, 16)) {
54 if (IS_ALIGNED(width, 4) &&
65 TransposeWx8(src, src_stride, dst, dst_stride, width);
72 TransposeWxH_C(src, src_stride, dst, dst_stride, width, i);
79 int width, int height) {
85 TransposePlane(src, src_stride, dst, dst_stride, width, height);
91 int width, int height)
    [all...]
  /external/libvpx/libvpx/third_party/libyuv/include/libyuv/
convert_argb.h 37 int width, int height);
45 int width, int height);
53 int width, int height);
61 int width, int height);
69 int width, int height);
75 int width, int height);
81 int width, int height);
91 int width, int height);
98 int width, int height);
104 int width, int height)
    [all...]
rotate_row.h 93 uint8* dst, int dst_stride, int width, int height);
96 uint8* dst, int dst_stride, int width);
98 uint8* dst, int dst_stride, int width);
100 uint8* dst, int dst_stride, int width);
102 uint8* dst, int dst_stride, int width);
104 uint8* dst, int dst_stride, int width);
107 uint8* dst, int dst_stride, int width);
109 uint8* dst, int dst_stride, int width);
111 uint8* dst, int dst_stride, int width);
113 uint8* dst, int dst_stride, int width);
    [all...]
  /external/libvncserver/examples/
pnmshow24.c 25 int j,width,height,paddedWidth; local
48 /* get width & height */
49 sscanf(buffer,"%d %d",&width,&height);
50 rfbLog("Got width %d and height %d.\n",width,height);
54 paddedWidth = width;
56 /* if your vncviewer doesn't have problems with a width
58 if(width&3)
59 paddedWidth+=4-(width&3);
77 fread(rfbScreen->frameBuffer,width*3,height,in)
    [all...]
  /external/libvncserver/test/
copyrecttest.c 11 for(i=0;i<server->width;i++)
13 server->frameBuffer[(j*server->width+i)*4+0]=i&0xff;
14 server->frameBuffer[(j*server->width+i)*4+1]=j&0xff;
15 server->frameBuffer[(j*server->width+i)*4+2]=(i*j)&0xff;
21 int width=400,height=300,w=20,x,y; local
24 rfbScreenInfoPtr server=rfbGetScreen(&argc,argv,width,height,8,3,4);
27 server->frameBuffer=(char*)malloc(width*height*4);
36 rfbMarkRectAsModified(server,0,0,width,height);
45 x=width*(0.5+cos(phi)*r);
47 if(x>=0 && y>=0 && x+w<=width && y+w<=height)
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_format_yuv.h 127 unsigned width, unsigned height);
132 unsigned width, unsigned height);
137 unsigned width, unsigned height);
142 unsigned width, unsigned height);
151 unsigned width, unsigned height);
156 unsigned width, unsigned height);
161 unsigned width, unsigned height);
166 unsigned width, unsigned height);
176 unsigned width, unsigned height);
180 unsigned width, unsigned height)
    [all...]
u_format_s3tc.h 52 int width, int height,
73 util_format_dxt1_rgb_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height);
76 util_format_dxt1_rgb_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height);
82 util_format_dxt1_rgba_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height);
85 util_format_dxt1_rgba_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height);
91 util_format_dxt3_rgba_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height);
94 util_format_dxt3_rgba_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height);
100 util_format_dxt5_rgba_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height);
103 util_format_dxt5_rgba_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height);
109 util_format_dxt1_srgb_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height)
    [all...]
  /external/webrtc/talk/app/webrtc/java/src/org/webrtc/
VideoRenderer.java 44 public final int width; field in class:VideoRenderer.I420Frame
65 I420Frame(int width, int height, int rotationDegree, int[] yuvStrides, ByteBuffer[] yuvPlanes,
67 this.width = width;
91 I420Frame(int width, int height, int rotationDegree, int textureId, float[] samplingMatrix,
93 this.width = width;
108 return (rotationDegree % 180 == 0) ? width : height;
112 return (rotationDegree % 180 == 0) ? height : width;
117 return width + "x" + height + ":" + yuvStrides[0] + ":" + yuvStrides[1]
    [all...]
  /frameworks/base/libs/hwui/renderstate/
Scissor.cpp 46 bool Scissor::set(GLint x, GLint y, GLint width, GLint height) {
48 || width != mScissorWidth || height != mScissorHeight)) {
51 width += x;
58 if (width < 0) {
59 width = 0;
64 glScissor(x, y, width, height);
68 mScissorWidth = width;
80 GLint width = std::max(0, ((int)clip.right) - x); local
85 || width != mScissorWidth
87 glScissor(x, y, width, height)
    [all...]
  /external/webrtc/webrtc/common_video/libyuv/
webrtc_libyuv.cc 64 void Calc16ByteAlignedStride(int width, int* stride_y, int* stride_uv) {
65 *stride_y = AlignInt(width, k16ByteAlignment);
66 *stride_uv = AlignInt((width + 1) / 2, k16ByteAlignment);
69 size_t CalcBufferSize(VideoType type, int width, int height) {
70 assert(width >= 0);
79 int half_width = (width + 1) >> 1;
81 buffer_size = width * height + half_width * half_height * 2;
89 buffer_size = width * height * 2;
92 buffer_size = width * height * 3;
96 buffer_size = width * height * 4
111 int width = (planeNum ? (frame.width() + 1) \/ 2 : frame.width()); local
140 int width = (plane ? (input_frame.width() + 1) \/ 2 : local
    [all...]
  /external/autotest/client/virt/
ppm_utils.py 58 @return: A 3 element tuple containing the width, height and data of the
72 def image_write_to_ppm_file(filename, width, height, data):
74 Write a PPM image with the given width, height and data.
77 @param width: PPM file width (pixels)
82 fout.write("%d %d\n" % (width, height))
88 def image_crop(width, height, data, x1, y1, dx, dy):
92 @param width: Original image width
97 @param dx: Desired width of the cropped regio
    [all...]
  /external/skia/src/utils/
SkTextureCompressor.cpp 25 int width, int height, size_t rowBytes) {
27 return 0 == etc1_encode_image(src, width, height, 2, SkToInt(rowBytes), dst);
74 int GetCompressedDataSize(Format fmt, int width, int height) {
111 if(((width % dimX) == 0) && ((height % dimY) == 0)) {
112 const int blocksX = width / dimX;
122 int width, int height, size_t rowBytes, Format format) {
124 if (proc && proc(dst, src, width, height, rowBytes)) {
140 if (proc && proc(dst, src, width, height, rowBytes)) {
148 int compressedDataSize = GetCompressedDataSize(format, pixmap.width(), pixmap.height());
157 pixmap.width(), pixmap.height(), pixmap.rowBytes(), format))
    [all...]
  /external/libyuv/files/include/libyuv/
planar_functions.h 29 int width, int height);
34 int width, int height);
39 int width, int height,
46 int width, int height);
59 int width, int height);
70 int width, int height);
78 int width, int height);
86 int width, int height);
92 int width, int height);
98 int width, int height)
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
AllocationCopy2DRangeTest.java 32 int width = random.nextInt(512); local
35 int[] inArray = new int[width * height];
36 int[] outArray = new int[width * height];
38 for (int i = 0; i < width * height; i++) {
44 typeBuilder.setX(width).setY(height);
47 mInAllocation.copy2DRangeFrom(0, 0, width, height, inArray);
50 mScript.set_width(width);
57 compareTwoArrays(inArray, outArray, width*height));
  /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
InvertVerifier.java 29 public boolean verify(int[] bitmap, int offset, int stride, int width, int height) {
30 boolean success = mBitmapVerifier.verify(bitmap, offset, stride, width, height);
  /dalvik/dx/tests/030-minimal-jasmin/
run 18 dx --debug --dump --width=200 blort.class | grep ' 000.:'
  /dalvik/dx/tests/031-bb-dead-code/
run 18 dx --debug --dump --basic-blocks --width=200 blort.class
  /dalvik/dx/tests/032-bb-live-code/
run 18 dx --debug --dump --basic-blocks --width=200 blort.class
  /dalvik/dx/tests/086-ssa-edge-split/
run 18 dx --dump --width=1000 --ssa-blocks --ssa-step=edge-split Blort.class
  /dalvik/dx/tests/088-ssa-combine-blocks/
run 18 dx --dump --width=1000 --optimize --rop-blocks Blort.class
  /developers/build/prebuilts/gradle/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/
AutoFitTextureView.java 48 * @param width Relative horizontal size
51 public void setAspectRatio(int width, int height) {
52 if (width < 0 || height < 0) {
55 mRatioWidth = width;
63 int width = MeasureSpec.getSize(widthMeasureSpec); local
66 setMeasuredDimension(width, height);
68 if (width < height * mRatioWidth / mRatioHeight) {
69 setMeasuredDimension(width, width * mRatioHeight / mRatioWidth);
  /developers/build/prebuilts/gradle/Camera2Video/Application/src/main/java/com/example/android/camera2video/
AutoFitTextureView.java 48 * @param width Relative horizontal size
51 public void setAspectRatio(int width, int height) {
52 if (width < 0 || height < 0) {
55 mRatioWidth = width;
63 int width = MeasureSpec.getSize(widthMeasureSpec); local
66 setMeasuredDimension(width, height);
68 if (width < height * mRatioWidth / mRatioHeight) {
69 setMeasuredDimension(width, width * mRatioHeight / mRatioWidth);
  /developers/samples/android/media/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/
AutoFitTextureView.java 48 * @param width Relative horizontal size
51 public void setAspectRatio(int width, int height) {
52 if (width < 0 || height < 0) {
55 mRatioWidth = width;
63 int width = MeasureSpec.getSize(widthMeasureSpec); local
66 setMeasuredDimension(width, height);
68 if (width < height * mRatioWidth / mRatioHeight) {
69 setMeasuredDimension(width, width * mRatioHeight / mRatioWidth);
  /developers/samples/android/media/Camera2Video/Application/src/main/java/com/example/android/camera2video/
AutoFitTextureView.java 48 * @param width Relative horizontal size
51 public void setAspectRatio(int width, int height) {
52 if (width < 0 || height < 0) {
55 mRatioWidth = width;
63 int width = MeasureSpec.getSize(widthMeasureSpec); local
66 setMeasuredDimension(width, height);
68 if (width < height * mRatioWidth / mRatioHeight) {
69 setMeasuredDimension(width, width * mRatioHeight / mRatioWidth);

Completed in 531 milliseconds

1 2 3 4 5 6 78 91011>>