/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
y4menc.c | 13 int y4m_write_file_header(char *buf, size_t len, int width, int height, 21 return snprintf(buf, len, "YUV4MPEG2 W%u H%u F%u:%u I%c %s", width, height,
|
/hardware/intel/img/psb_video/src/ |
psb_surface.c | 40 int width, int height, int fourcc, unsigned int flags, 59 if ((width <= 0) || (width * height > 5120 * 5120) || (height <= 0)) { 92 psb_surface->chroma_offset = psb_surface->stride * height; 93 psb_surface->size = (psb_surface->stride * height * 3) / 2; 101 psb_surface->size = psb_surface->stride * height; 104 if ((width <= 0) || (width * height > 5120 * 5120) || (height <= 0)) { 137 psb_surface->chroma_offset = psb_surface->stride * height; 138 psb_surface->size = psb_surface->stride * height * 2 [all...] |
/packages/apps/Gallery2/jni/filters/ |
negative.c | 19 void JNIFUNCF(ImageFilterNegative, nativeApplyFilter, jobject bitmap, jint width, jint height) 24 int tot_len = height * width * 4;
|
redeye.c | 20 void JNIFUNCF(ImageFilterRedEye, nativeApplyFilter, jobject bitmap, jint width, jint height, jshortArray vrect) 27 filterRedEye(rgb,rgb,width,height,rect);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
ProtoBufUtils.java | 31 int height = glMsg.getFb().getHeight(); local 33 if (width * height == 0) { 38 byte[] uncompressed = new byte[width * height * 4]; 42 assert size == width * height * 4 : "Unexpected image size after decompression."; 50 height, 55 byte[] alpha = new byte[width*height]; 56 for (int i = 0; i < width * height; i++) { 61 imageData = imageData.scaledTo(imageData.width, -imageData.height);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
Gdx2DPixmap.java | 78 int height;
field in class:Gdx2DPixmap 94 height = (int)nativeData[2];
117 height = (int)nativeData[2];
126 public Gdx2DPixmap (int width, int height, int format) throws GdxRuntimeException {
127 pixelPtr = newPixmap(nativeData, width, height, format);
132 this.height = (int)nativeData[2];
140 this.height = (int)nativeData[2];
145 Gdx2DPixmap pixmap = new Gdx2DPixmap(width, height, requestedFormat);
146 pixmap.drawPixmap(this, 0, 0, 0, 0, width, height);
150 this.height = pixmap.height; [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/ |
GLOnlyTextureData.java | 30 /** width and height */ 32 int height = 0; field in class:GLOnlyTextureData 51 public GLOnlyTextureData (int width, int height, int mipMapLevel, int internalFormat, int format, int type) { 53 this.height = height; 78 Gdx.gl.glTexImage2D(target, mipLevel, internalFormat, width, height, 0, format, type, null); 98 return height;
|
HdpiUtils.java | 32 public static void glScissor (int x, int y, int width, int height) { 35 Gdx.gl.glScissor(toBackBufferX(x), toBackBufferY(y), toBackBufferX(width), toBackBufferY(height)); 37 Gdx.gl.glScissor(x, y, width, height); 43 public static void glViewport (int x, int y, int width, int height) { 46 Gdx.gl.glViewport(toBackBufferX(x), toBackBufferY(y), toBackBufferX(width), toBackBufferY(height)); 48 Gdx.gl.glViewport(x, y, width, height);
|
/external/libjpeg-turbo/ |
turbojpeg.h | 55 * image. The width and height of each plane are determined by the image 56 * width, height, and level of chrominance subsampling. The luminance plane 60 * height is the image height padded to the nearest multiple of the vertical 65 * subsampling factor, and the chrominance plane height is equal to the 66 * luminance plane height divided by the vertical subsampling factor. 147 * MCU block height (in pixels) for a given level of chrominance subsampling. 447 * and #tjMCUHeight.) If the image's width or height is not evenly divisible 507 * by the MCU block height (see #tjMCUHeight.) 516 * The height of the cropping region. Setting this to 0 is the equivalent o [all...] |
/external/libvncserver/libvncserver/ |
scale.h | 7 rfbScreenInfoPtr rfbScaledScreenAllocate(rfbClientPtr cl, int width, int height); 8 rfbScreenInfoPtr rfbScalingFind(rfbClientPtr cl, int width, int height); 9 void rfbScalingSetup(rfbClientPtr cl, int width, int height);
|
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
compare.h | 28 uint32 ARGBDetect(const uint8* argb, int stride_argb, int width, int height); 38 int width, int height); 48 int width, int height); 57 int width, int height); 62 int width, int height); 71 int width, int height);
|
/external/libyuv/files/include/libyuv/ |
compare.h | 28 uint32 ARGBDetect(const uint8* argb, int stride_argb, int width, int height); 38 int width, int height); 48 int width, int height); 57 int width, int height); 62 int width, int height); 71 int width, int height);
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
svga_overlay.h | 139 uint32 *height, // IN / OUT 154 *height = (*height + 1) & ~1; 161 *size *= *height; 173 tmp *= (*height >> 1); 191 *size *= *height;
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
api_masks.c | 39 VGint width, VGint height) 43 if (width <=0 || height <= 0) { 57 mask_fill(x, y, width, height, 0.f); 59 mask_fill(x, y, width, height, 1.f); 62 mask_using_image(image, operation, x, y, width, height); 65 mask_using_layer(layer, operation, x, y, width, height); 72 VGint width, VGint height) 77 if (width <= 0 || height <= 0) { 85 x, y, width, height, 94 (x == 0 && y == 0 && width == stfb->width && height == stfb->height)) [all...] |
mask.h | 36 struct vg_mask_layer *mask_layer_create(VGint width, VGint height); 40 VGint width, VGint height, 47 VGint width, VGint height); 56 VGint width, VGint height); 60 VGint width, VGint height); 62 VGint width, VGint height,
|
/external/mesa3d/src/glx/apple/ |
apple_xgl_api.h | 32 void __applegl_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, 34 void __applegl_glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); 41 void __applegl_glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
|
/external/opencv3/3rdparty/include/ffmpeg_/libavutil/ |
imgutils.h | 71 * height height. 80 int av_image_fill_pointers(uint8_t *data[4], enum AVPixelFormat pix_fmt, int height, 98 * That is, copy "height" number of lines of "bytewidth" bytes each. 110 int bytewidth, int height); 120 enum AVPixelFormat pix_fmt, int width, int height); 143 * @param height the height of the image in pixels 150 enum AVPixelFormat pix_fmt, int width, int height, int align); 158 int av_image_get_buffer_size(enum AVPixelFormat pix_fmt, int width, int height, int align) [all...] |
/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfPreviewImageAttribute.cpp | 61 Xdr::write <StreamIO> (os, _value.height()); 63 int numPixels = _value.width() * _value.height(); 80 int width, height; local 83 Xdr::read <StreamIO> (is, height); 85 PreviewImage p (width, height); 87 int numPixels = p.width() * p.height();
|
/external/skia/src/images/ |
SkPageFlipper.cpp | 22 SkPageFlipper::SkPageFlipper(int width, int height) { 24 fHeight = height; 28 fDirty0->setRect(0, 0, width, height); 32 void SkPageFlipper::resize(int width, int height) { 34 fHeight = height; 37 fDirty1->setRect(0, 0, width, height);
|
/external/webrtc/talk/media/base/ |
yuvframegenerator.h | 49 // Constructs a frame-generator that produces frames of size |width|x|height|. 52 // is |true| then |width|x|height| should be at least 160x100; otherwise this 54 YuvFrameGenerator(int width, int height, bool enable_barcode); 72 void GetBarcodeBounds(int* top, int* left, int* width, int* height); 83 int DrawSideGuardBars(int x, int y, int height); 84 int DrawMiddleGuardBars(int x, int y, int height); 85 int DrawEanEncodedDigit(int digit, int x, int y, int height, bool r_code); 90 int height,
|
/external/webrtc/webrtc/test/mac/ |
video_renderer_mac.mm | 26 - (id)initWithTitle:(NSString *)title width:(int)width height:(int)height; 37 - (id)initWithTitle:(NSString *)title width:(int)width height:(int)height { 41 height_ = height; 61 if (nextYOrigin_ + height_ > screenFrame.size.height) { 94 size_t height) { 96 if (!renderer->Init(window_title, width, height)) { 111 bool MacRenderer::Init(const char* window_title, int width, int height) { 115 height:height] [all...] |
/frameworks/base/core/java/android/gesture/ |
OrientedBoundingBox.java | 29 public final float height; field in class:OrientedBoundingBox 39 height = h; 59 point[1] = height / 2; 67 point[1] = -height / 2; 72 point[1] = -height / 2; 77 point[1] = height / 2;
|
/frameworks/base/libs/hwui/ |
RenderBuffer.h | 35 RenderBuffer(GLenum format, uint32_t width, uint32_t height): 36 mFormat(format), mWidth(width), mHeight(height), mAllocated(false) { 92 void resize(uint32_t width, uint32_t height) { 93 if (isAllocated() && (width != mWidth || height != mHeight)) { 94 glRenderbufferStorage(GL_RENDERBUFFER, mFormat, width, height); 98 mHeight = height; 109 * Returns the height of the render buffer in pixels.
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
ShadowGrid2Animation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { 36 for (int y = dp(8); y < (height - dp(58)); y += dp(58)) { 54 sp<RenderNode> createCard(int x, int y, int width, int height) { 55 return TestUtils::createNode(x, y, x + width, y + height, 56 [width, height](RenderProperties& props, TestCanvas& canvas) { 58 props.mutableOutline().setRoundRect(0, 0, width, height, dp(6), 1);
|
ShadowGridAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { 36 for (int y = dp(16); y < (height - dp(116)); y += dp(116)) { 54 sp<RenderNode> createCard(int x, int y, int width, int height) { 55 return TestUtils::createNode(x, y, x + width, y + height, 56 [width, height](RenderProperties& props, TestCanvas& canvas) { 58 props.mutableOutline().setRoundRect(0, 0, width, height, dp(6), 1);
|