/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
chv_filter.cpp | 149 int width, 156 width : width of decoded frame. 178 int width, 198 pp_w = (width >> 3); 232 jVal0 = *(ptr - width); /* C */ 241 *(ptr - width) = (uint8)(jVal0); /* C */ 244 jVal0 = *(ptr - (width << 1)); /* B */ 245 jVal1 = *(ptr + width); /* E */ 252 *(ptr - (width << 1)) = (uint8)jVal0; /* store B * [all...] |
/external/webrtc/webrtc/modules/video_coding/utility/ |
quality_scaler_unittest.cc | 33 int width; member in struct:webrtc::QualityScalerTest::Resolution 56 int initial_width = qs_.GetScaledResolution().width; 73 if (qs_.GetScaledResolution().width != initial_width) 89 EXPECT_EQ(res.width, scaled_frame.width()); 95 void DoesNotDownscaleFrameDimensions(int width, int height); 122 EXPECT_EQ(input_frame_.width(), res.width); 130 EXPECT_LT(res.width, input_frame_.width()); [all...] |
/external/webrtc/webrtc/modules/video_processing/test/ |
readYUV420file.m | 1 function [Y,U,V] = readYUV420file(filename, width, height) 2 % [Y,U,V] = readYUVfile(filename, width, height) 10 nPx=width*height; 23 Y=uint8(zeros(height,width,numFrames)); 24 U=uint8(zeros(height/2,width/2,numFrames)); 25 V=uint8(zeros(height/2,width/2,numFrames)); 32 Y(:,:,k)=uint8(reshape(X(1:nPx), width, height).'); 35 U(:,:,k)=uint8(reshape(X(nPx + (1:nPx/4)), width/2, height/2).'); 38 V(:,:,k)=uint8(reshape(X(nPx + nPx/4 + (1:nPx/4)), width/2, height/2).');
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
svga_overlay.h | 138 uint32 *width, /* IN / OUT */ 146 *width = (*width + 1) & ~1; 155 *size = (*width) * (*height); 158 pitches[0] = *width; 165 tmp = *width >> 1; 183 *size = *width * 2;
|
/external/mesa3d/src/mesa/main/ |
lines.c | 34 * Set the line width. 36 * \param width line width in pixels. 41 _mesa_LineWidth( GLfloat width ) 46 _mesa_debug(ctx, "glLineWidth %f\n", width); 48 /* If width is unchanged, there can't be an error */ 49 if (ctx->Line.Width == width) 52 if (width <= 0.0F) { 70 && width > 1.0F) [all...] |
drawpix.h | 33 _mesa_DrawPixels( GLsizei width, GLsizei height, 36 _mesa_CopyPixels( GLint srcx, GLint srcy, GLsizei width, GLsizei height, 39 _mesa_Bitmap( GLsizei width, GLsizei height,
|
/external/mesa3d/src/mesa/state_tracker/ |
st_copytex.c | 40 * \param fbWidth width of the source framebuffer 53 GLint readFBOSave, readBufSave, width, height; local 69 GL_TEXTURE_WIDTH, &width); 70 if (width == fbWidth) { 88 GL_TEXTURE_WIDTH, &width); 91 if (width == fbWidth && height == fbHeight) { 112 GL_TEXTURE_WIDTH, &width); 115 if (width == fbWidth && height == fbHeight) {
|
/external/openssh/regress/unittests/utf8/ |
tests.c | 22 int len, width; local 24 width = 1; 26 len = snmprintf(buf, sizeof(buf), &width, "\377"); 29 ASSERT_INT_EQ(width, 0); 34 one(int utf8, const char *name, const char *mbs, int width, 46 wp = wantwidth == -2 ? NULL : &width; 50 ASSERT_INT_EQ(width, wantwidth);
|
/external/proguard/src/proguard/gui/splash/ |
RectangleSprite.java | 36 private final VariableInt width; field in class:RectangleSprite 48 * @param width the variable width of the rectangle. 55 VariableInt width, 58 this(filled, color, x, y, width, height, new ConstantInt(0), new ConstantInt(0)); 68 * @param width the variable width of the rectangle. 70 * @param arcWidth the variable width of the corner arcs. 77 VariableInt width, 86 this.width = width [all...] |
/external/skia/include/gpu/ |
GrBackendSurface.h | 24 GrBackendTexture(int width, 30 GrBackendTexture(int width, 35 GrBackendTexture(int width, 40 int width() const { return fWidth; } function in class:GrBackendTexture 69 int fWidth; //<! width in pixels 85 GrBackendRenderTarget(int width, 93 GrBackendRenderTarget(int width, 100 int width() const { return fWidth; } function in class:GrBackendRenderTarget 124 int fWidth; //<! width in pixels
|
/external/swiftshader/src/Main/ |
FrameBufferWin.cpp | 19 FrameBufferWin::FrameBufferWin(HWND windowHandle, int width, int height, bool fullscreen, bool topLeftOrigin) : FrameBuffer(width, height, fullscreen, topLeftOrigin), windowHandle(windowHandle) 58 sw::FrameBufferWin *createFrameBufferWin(HWND windowHandle, int width, int height, bool fullscreen, bool topLeftOrigin) 65 return new sw::FrameBufferDD(windowHandle, width, height, fullscreen, topLeftOrigin); 69 return new sw::FrameBufferGDI(windowHandle, width, height, fullscreen, topLeftOrigin); 75 sw::FrameBuffer *createFrameBuffer(void *display, HWND window, int width, int height) 77 return createFrameBufferWin(window, width, height, false, false);
|
/external/toybox/toys/example/ |
test_scankey.c | 24 unsigned width, height, tick; local 42 if (t[0] != t[1]) terminal_probesize(&width, &height); 44 key = scan_key_getsize(scratch, -1*!!t[0], &width, &height); 51 while (0<(key = scan_key_getsize(scratch, 0, &width, &height))) 55 printf("x=%d y=%d width=%d height=%d\033[K", x, y, width, height); 76 if (x>=width) x = width-1;
|
/external/webrtc/webrtc/modules/video_processing/ |
spatial_resampler.cc | 23 int32_t VPMSimpleSpatialResampler::SetTargetFrameSize(int32_t width, 28 if (width < 1 || height < 1) 31 target_width_ = width; 54 } else if ((inFrame.width() == target_width_) && 63 ret_val = scaler_.Set(inFrame.width(), inFrame.height(), target_width_, 89 bool VPMSimpleSpatialResampler::ApplyResample(int32_t width, int32_t height) { 90 if ((width == target_width_ && height == target_height_) ||
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
omxVCM4P10_InterpolateChroma.c | 50 * roi.width. 55 * roi -Dimension of the interpolation region; the parameters roi.width and 60 * pDst -Pointer to the destination frame buffer if roi.width==2, 2-byte 61 * alignment required if roi.width==4, 4-byte alignment required 62 * if roi.width==8, 8-byte alignment required 71 * roi.width or roi.height is out of range {2,4,8}. 72 * roi.width is equal to 2, but pDst is not 2-byte aligned. 73 * roi.width is equal to 4, but pDst is not 4-byte aligned. 74 * roi.width is equal to 8, but pDst is not 8 byte aligned. 98 armRetArgErrIf((roi.width != 2) && (roi.width != 4) && (roi.width != 8), OMX_Sts_BadArgErr [all...] |
/hardware/qcom/display/sdm845/libgralloc1/ |
gr_adreno_info.h | 77 * Function to compute aligned width and aligned height based on 78 * width, height, format and usage flags. 80 * @return aligned width, aligned height 82 void GetAlignedWidthAndHeight(int width, int height, int format, int usage, 87 * Function to compute the adreno aligned width and aligned height 88 * based on the width and format. 90 * @return aligned width, aligned height 92 void AlignUnCompressedRGB(int width, int height, int format, int tileEnabled, 96 * Function to compute the adreno aligned width and aligned height 97 * based on the width and format [all...] |
/external/deqp/framework/opengl/simplereference/ |
sglrContext.cpp | 37 int width = src.getWidth(); local 39 texImage2D(target, level, internalFormat, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, src.getAccess().getDataPtr()); 42 void Context::texImage2D (deUint32 target, int level, deUint32 internalFormat, int width, int height) 67 texImage2D(target, level, internalFormat, width, height, 0, format, dataType, DE_NULL); 72 int width = src.getWidth(); local 74 texSubImage2D(target, level, xoffset, yoffset, width, height, GL_RGBA, GL_UNSIGNED_BYTE, src.getAccess().getDataPtr()); 77 void Context::readPixels (tcu::Surface& dst, int x, int y, int width, int height) 79 dst.setSize(width, height); 80 readPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, dst.getAccess().getDataPtr());
|
/external/webp/src/enc/ |
picture_rescale_enc.c | 23 // Grab the 'specs' (writer, *opaque, width, height...) from 'src' and copy them 46 int width, int height) { 49 if (width <= 0 || height <= 0) return 0; 50 if ((*left) + width > pic->width) return 0; 64 dst->y, dst->y_stride, dst->width, dst->height); 66 HALVE(dst->width), HALVE(dst->height)); 68 HALVE(dst->width), HALVE(dst->height)); 71 dst->a, dst->a_stride, dst->width, dst->height); 76 4 * dst->width, dst->height) [all...] |
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
BitmapUtils.java | 32 * @param width The desired width. 36 public static Bitmap scaleBitmap(Bitmap bm, int width, int height) { 37 if (bm == null || (bm.getHeight() == height && bm.getWidth() == width)) { 46 if (bm.getWidth() > width) { 47 widthScale = (float) width / bm.getWidth(); 76 * @param width the width to crop to. 80 public static Bitmap cropBitmap(Bitmap bm, int width, int height) { 84 if (bm.getHeight() < height || bm.getWidth() < width) { [all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/ |
BitmapAsserter.java | 58 int width = bitmap1.getWidth(); local 61 if (width != bitmap2.getWidth() || height != bitmap2.getHeight()) { 65 int[] pixels1 = new int[width * height]; 66 int[] pixels2 = new int[width * height]; 67 bitmap1.getPixels(pixels1, 0, width, 0, 0, width, height); 68 bitmap2.getPixels(pixels2, 0, width, 0, 0, width, height); 69 success = comparer.verifySame(pixels1, pixels2, 0, width, width, height) 84 int width = bitmap.getWidth(); local [all...] |
/device/generic/goldfish/camera/fake-pipeline2/ |
Base.h | 37 uint32_t width, height; member in struct:android::StreamBuffer 48 uint32_t width, height; member in struct:android::Stream 55 uint32_t width, height; member in struct:android::ReprocessStream
|
/external/libcups/cups/ |
snprintf.c | 36 sign, /* Sign of format width */ 39 int width, /* Width of field */ local 83 * Get width from argument... 87 width = va_arg(ap, int); 89 snprintf(tptr, sizeof(tformat) - (tptr - tformat), "%d", width); 94 width = 0; 101 width = width * 10 + *format++ - '0'; 176 if ((width + 2) > sizeof(temp) [all...] |
/external/libvpx/libvpx/vp9/common/ |
vp9_alloccommon.h | 26 int vp9_alloc_context_buffers(struct VP9Common *cm, int width, int height); 33 int vp9_alloc_state_buffers(struct VP9Common *cm, int width, int height); 36 void vp9_set_mb_mi(struct VP9Common *cm, int width, int height);
|
/external/swiftshader/src/OpenGL/libGL/ |
Image.hpp | 32 Image(Texture *parentTexture, GLsizei width, GLsizei height, GLenum format, GLenum type); 33 Image(Texture *parentTexture, GLsizei width, GLsizei height, sw::Format internalFormat, int multiSampleDepth, bool lockable, bool renderTarget); 35 void loadImageData(GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint unpackAlignment, const void *input); 36 void loadCompressedData(GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei imageSize, const void *pixels); 61 void loadAlphaImageData(GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, int inputPitch, const void *input, void *buffer) const; 62 void loadAlphaFloatImageData(GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, int inputPitch, const void *input, void *buffer) const; 63 void loadAlphaHalfFloatImageData(GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, int inputPitch, const void *input, void *buffer) const; 64 void loadLuminanceImageData(GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, int inputPitch, const void *input, void *buffer) const; 65 void loadLuminanceFloatImageData(GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, int inputPitch, const void *input, void *buffer) const; 66 void loadLuminanceHalfFloatImageData(GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, int inputPitch, const void *input, void *buffer) const 86 const GLsizei width; member in class:gl::Image [all...] |
/external/webrtc/webrtc/modules/desktop_capture/ |
differ.h | 29 // Create a differ that operates on bitmaps with the specified width, height 31 Differ(int width, int height, int bytes_per_pixel, int stride); 34 int width() { return width_; } function in class:webrtc::Differ 57 // of the portion to check is specified by the |width| and |height| values. 58 // Note that if we force the capturer to always return images whose width and 63 int width, int height);
|
/external/webrtc/webrtc/test/linux/ |
glx_renderer.h | 25 static GlxRenderer* Create(const char* window_title, size_t width, 33 GlxRenderer(size_t width, size_t height); 36 void Resize(size_t width, size_t height);
|