/external/libdrm/libkms/ |
api.c | 69 unsigned height = 0; local 82 height = value; 92 if (width == 0 || height == 0) 98 (width != 64 || height != 64)) 101 return kms->bo_create(kms, width, height, type, attr, out);
|
/external/libdrm/tests/planetest/ |
bo.c | 24 uint32_t height, uint8_t a, uint8_t r, uint8_t g, uint8_t b) 26 uint32_t i, j, xmax = x + width, ymax = y + height; 30 if (ymax > bo->height) 31 ymax = bo->height; 41 uint8_t *chroma = bo->map_addr + (i + height) * bo->pitch; 53 draw_rect_yuv(bo, 0, 0, bo->width, bo->height, a, r, g, b); 55 draw_rect(bo, 0, 0, bo->width, bo->height, a, r, g, b); 59 uint32_t height, uint8_t a, uint8_t r, uint8_t g, uint8_t b) 61 uint32_t i, j, xmax = x + width, ymax = y + height; 65 if (ymax > bo->height) [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/ |
FrameBuffer.java | 44 public FrameBuffer (Pixmap.Format format, int width, int height, boolean hasDepth) {
45 this(format, width, height, hasDepth, false);
53 * @param height the height of the framebuffer in pixels
56 public FrameBuffer (Pixmap.Format format, int width, int height, boolean hasDepth, boolean hasStencil) {
57 super(format, width, height, hasDepth, hasStencil);
64 GLOnlyTextureData data = new GLOnlyTextureData(width, height, 0, glFormat, glFormat, glType);
|
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
convert.h | 33 int width, int height); 43 int width, int height); 53 int width, int height); 64 int width, int height); 72 int width, int height); 83 int width, int height); 92 int width, int height); 100 int width, int height); 108 int width, int height); 116 int width, int height); [all...] |
/external/libyuv/files/include/libyuv/ |
convert.h | 31 int width, int height); 41 int width, int height); 51 int width, int height); 62 int width, int height); 70 int width, int height); 81 int width, int height); 90 int width, int height); 98 int width, int height); 106 int width, int height); 114 int width, int height); [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_box.h | 15 box->height = 1; 30 box->height = h; 43 box->height = h; 59 box->height = h; 76 box->height = h;
|
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
test_surface.c | 34 const unsigned int width = 16, height = 16; local 51 height, 71 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context) == Success); 85 /* Test width & height assigned and correct */ 86 assert(surface.width == width && surface.height == height);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/ |
TrackMetaData.java | 29 private double height; field in class:TrackMetaData 92 return height; 95 public void setHeight(double height) { 96 this.height = height;
|
/external/skia/src/core/ |
SkBitmapProvider.cpp | 16 int SkBitmapProvider::height() const { function in class:SkBitmapProvider 17 return fImage ? fImage->height() : fBitmap.height(); 26 if (0 == fBitmap.width() || 0 == fBitmap.height()) { 49 return SkImageInfo::MakeN32(fImage->width(), fImage->height(), at);
|
/external/skia/src/gpu/batches/ |
GrCopySurfaceBatch.cpp | 50 if (clippedSrcRect->fBottom > src->height()) { 51 clippedSrcRect->fBottom = src->height(); 53 if (clippedDstPoint->fY + clippedSrcRect->height() > dst->height()) { 54 clippedSrcRect->fBottom = clippedSrcRect->fTop + dst->height() - clippedDstPoint->fY;
|
/external/skia/src/gpu/text/ |
GrDistanceFieldAdjustTable.cpp | 50 int width, height; local 62 &width, &height); 64 SkASSERT(kExpectedDistanceAdjustTableSize == height); 65 fTable = new SkScalar[height]; 72 for (int row = 0; row < height; ++row) {
|
/external/skia/tests/ |
SkLinearBitmapPipelineTest.cpp | 17 int height = 10; local 18 uint32_t* bitmap = new uint32_t[width * height]; 19 for (int y = 0; y < height; y++) { 25 SkPM4f* FPbuffer = new SkPM4f[width * height]; 34 SkImageInfo::MakeN32Premul(width, height, kLinear_SkColorProfileType);
|
/external/skia/tools/ |
iOSShell.cpp | 38 int h = SkScalarRoundToInt(this->height()); 53 view->setSize(this->width(), this->height()); 80 void get_preferred_size(int* x, int* y, int* width, int* height); 81 void get_preferred_size(int* x, int* y, int* width, int* height) { 85 *height = 480;
|
/external/webrtc/webrtc/tools/frame_analyzer/ |
video_quality_analysis.h | 57 const char* stats_file_name, int width, int height, 68 int height); 91 // Calculates the size of a I420 frame if given the width and height. 92 int GetI420FrameSize(int width, int height); 108 int height, 116 int height,
|
/frameworks/base/core/jni/android/graphics/ |
YuvToJpegEncoder.h | 28 * @param height Height of the Yuv data in terms of pixels. 34 int height, int* offsets, int jpegQuality); 42 int height, int quality); 55 void deinterleaveYuv(uint8_t* yuv, int width, int height, 58 int rowIndex, int width, int height); 71 uint8_t* vRows, int rowIndex, int width, int height);
|
/frameworks/base/media/mca/filterfw/native/core/ |
geometry.h | 72 float x, y, width, height; member in struct:android::filterfw::Rect 76 width = height = 1.0f; 79 Rect(float x, float y, float width, float height) { 83 this->height = height;
|
gl_frame.h | 46 // Initialize a GL frame to the given width, height, format. Also specify 48 bool Init(int width, int height); 54 bool InitWithTexture(GLint texture_id, int width, int height); 57 bool InitWithFbo(GLint fbo_id, int width, int height); 93 bool SetViewport(int x, int y, int width, int height); 130 void InitDimensions(int width, int height); 185 // The width, height and format of the frame
|
/hardware/qcom/display/msm8996/libgralloc1/ |
gr_adreno_info.h | 80 * Function to compute aligned width and aligned height based on 81 * width, height, format and usage flags. 83 * @return aligned width, aligned height 85 void GetAlignedWidthAndHeight(int width, int height, int format, int usage, 90 * Function to compute the adreno aligned width and aligned height 93 * @return aligned width, aligned height 95 void AlignUnCompressedRGB(int width, int height, int format, int tileEnabled, 99 * Function to compute the adreno aligned width and aligned height 102 * @return aligned width, aligned height 104 void AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/ |
SetupStepIndicatorView.java | 54 final int height = getHeight(); local 57 mIndicatorPath.lineTo(xPos + height, height); 58 mIndicatorPath.lineTo(xPos - height, height);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_imageop.py | 25 for height in VALUES: 27 strlen = abs(width * height) 35 arguments = (data, size, width, height) + extra 37 arguments = (data, width, height) + extra 80 image, width, height = getimage('test'+os.extsep+'rgb') 82 # Return the selected part of image, which should by width by height 86 newimage = imageop.crop (image, 4, width, height, 0, 0, 1, 1) 94 scaleimage = imageop.scale(image, 4, width, height, 1, 1) 102 videoimage = imageop.tovideo (image, 4, width, height) 107 greyimage = imageop.rgb2rgb8(image, width, height) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_imageop.py | 25 for height in VALUES: 27 strlen = abs(width * height) 35 arguments = (data, size, width, height) + extra 37 arguments = (data, width, height) + extra 80 image, width, height = getimage('test'+os.extsep+'rgb') 82 # Return the selected part of image, which should by width by height 86 newimage = imageop.crop (image, 4, width, height, 0, 0, 1, 1) 94 scaleimage = imageop.scale(image, 4, width, height, 1, 1) 102 videoimage = imageop.tovideo (image, 4, width, height) 107 greyimage = imageop.rgb2rgb8(image, width, height) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_imageop.py | 25 for height in VALUES: 27 strlen = abs(width * height) 35 arguments = (data, size, width, height) + extra 37 arguments = (data, width, height) + extra 80 image, width, height = getimage('test'+os.extsep+'rgb') 82 # Return the selected part of image, which should by width by height 86 newimage = imageop.crop (image, 4, width, height, 0, 0, 1, 1) 94 scaleimage = imageop.scale(image, 4, width, height, 1, 1) 102 videoimage = imageop.tovideo (image, 4, width, height) 107 greyimage = imageop.rgb2rgb8(image, width, height) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_imageop.py | 25 for height in VALUES: 27 strlen = abs(width * height) 35 arguments = (data, size, width, height) + extra 37 arguments = (data, width, height) + extra 80 image, width, height = getimage('test'+os.extsep+'rgb') 82 # Return the selected part of image, which should by width by height 86 newimage = imageop.crop (image, 4, width, height, 0, 0, 1, 1) 94 scaleimage = imageop.scale(image, 4, width, height, 1, 1) 102 videoimage = imageop.tovideo (image, 4, width, height) 107 greyimage = imageop.rgb2rgb8(image, width, height) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
TexImageTransform.java | 64 * @param height height of the texture 67 GLEnum type, int xOffset, int yOffset, int width, int height) { 76 mHeight = height; 127 * Creates a texture of provided width and height. If the texture data file is provided, 132 * @param height height of texture 135 private String createTexture(File textureDataFile, int width, int height) throws IOException { 138 BufferedImage img = new BufferedImage(width, height, BufferedImage.TYPE_4BYTE_ABGR); 142 img.getRaster().setDataElements(0, 0, width, height, 280 assert sourceData.length == 3 * width * height; \/\/ should have R, G & B channels local 295 assert sourceData.length == width * height; \/\/ should have a single alpha channel local 308 assert sourceData.length == width * height; \/\/ should have a single luminance channel local 326 assert sourceData.length == 2 * width * height; \/\/ should have luminance & alpha channels local [all...] |
/external/webrtc/webrtc/modules/video_coding/utility/ |
quality_scaler_unittest.cc | 34 int height; member in struct:webrtc::QualityScalerTest::Resolution 90 EXPECT_EQ(res.height, scaled_frame.height()); 95 void DoesNotDownscaleFrameDimensions(int width, int height); 123 EXPECT_EQ(input_frame_.height(), res.height); 131 EXPECT_LT(res.height, input_frame_.height()); 139 EXPECT_EQ(res.height, input_frame_.height()); [all...] |