/external/libyuv/files/source/ |
rotate_any.cc | 23 uint8* dst, int dst_stride, int width) { \ 24 int r = width & MASK; \ 25 int n = width - r; \ 49 uint8* dst_b, int dst_stride_b, int width) { \ 50 int r = width & MASK; \ 51 int n = width - r; \
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
svga_overlay.h | 138 uint32 *width, // IN / OUT 146 *width = (*width + 1) & ~1; 155 *size = (*width + 3) & ~3; 167 tmp = ((*width >> 1) + 3) & ~3; 185 *size = *width * 2;
|
/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/mesa/main/ |
lines.c | 34 * Set the line width. 36 * \param width line width in pixels. 41 _mesa_LineWidth( GLfloat width ) 47 _mesa_debug(ctx, "glLineWidth %f\n", width); 49 if (width<=0.0) { 71 if (ctx->Line.Width == width) 75 ctx->Line.Width = width; [all...] |
/external/opencv3/3rdparty/include/ffmpeg_/libavutil/ |
imgutils.h | 53 * Compute the size of an image line with format pix_fmt and width 54 * width for the plane plane. 58 int av_image_get_linesize(enum AVPixelFormat pix_fmt, int width, int plane); 62 * width width. 67 int av_image_fill_linesizes(int linesizes[4], enum AVPixelFormat pix_fmt, int width); 120 enum AVPixelFormat pix_fmt, int width, int height); 142 * @param width the width of the image in pixels 150 enum AVPixelFormat pix_fmt, int width, int height, int align) [all...] |
/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfPreviewImageAttribute.cpp | 60 Xdr::write <StreamIO> (os, _value.width()); 63 int numPixels = _value.width() * _value.height(); 80 int width, height; local 82 Xdr::read <StreamIO> (is, width); 85 PreviewImage p (width, height); 87 int numPixels = p.width() * p.height();
|
/external/skia/src/core/ |
SkAlphaRuns.cpp | 13 void SkAlphaRuns::reset(int width) { 14 SkASSERT(width > 0); 17 sk_memset16((uint16_t*)fRuns, (uint16_t)(-42), width); 19 fRuns[0] = SkToS16(width); 20 fRuns[width] = 0; 23 SkDEBUGCODE(fWidth = width;)
|
/external/skia/src/images/ |
SkPageFlipper.cpp | 22 SkPageFlipper::SkPageFlipper(int width, int height) { 23 fWidth = width; 28 fDirty0->setRect(0, 0, width, height); 32 void SkPageFlipper::resize(int width, int height) { 33 fWidth = width; 37 fDirty1->setRect(0, 0, width, height);
|
/external/webrtc/webrtc/common_video/ |
video_frame.cc | 25 int width, 28 if (memcmp(data1, data2, width) != 0) 59 int VideoFrame::CreateEmptyFrame(int width, 64 const int half_width = (width + 1) / 2; 65 RTC_DCHECK_GT(width, 0); 67 RTC_DCHECK_GE(stride_y, width); 80 width == video_frame_buffer_->width() && 88 width, height, stride_y, stride_u, stride_v); 95 int width, 192 int VideoFrame::width() const { function in class:webrtc::VideoFrame [all...] |
/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 { 40 width_ = width; 54 if (nextXOrigin_ + width_ < screenFrame.size.width) { 93 size_t width, 96 if (!renderer->Init(window_title, width, height)) { 111 bool MacRenderer::Init(const char* window_title, int width, int height) { 114 width:widt [all...] |
/frameworks/base/core/java/android/gesture/ |
OrientedBoundingBox.java | 28 public final float width; field in class:OrientedBoundingBox 38 width = w; 58 point[0] = -width / 2; 66 point[0] = -width / 2; 71 point[0] = width / 2; 76 point[0] = width / 2;
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
PaintTest.java | 171 float width = p.measureText(bidiText, 0, 4); local 173 width += p.measureText(bidiText, 4, 7); 175 width += p.measureText(bidiText, 7, bidiText.length()); 176 assertEquals(width, p.measureText(bidiText), 1.0f); 181 float width = p.measureText(bidiText, 0, 4); local 182 width += p.measureText(bidiText, 4, 7); 183 width += p.measureText(bidiText, 7, bidiText.length()); 184 assertEquals(width, p.measureText(bidiText), 1.0f); 189 float width = p.measureText(bidiText, 0, 4); local 190 width += p.measureText(bidiText, 4, 7) 197 float width = p.measureText(bidiText, 0, 4); local 207 float width = p.measureText(bidiText, 0, 4); local 215 float width = p.measureText(bidiText, 0, 4); local [all...] |
/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); 97 mWidth = width; 102 * Returns the width 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 { 35 for (int x = dp(8); x < (width - dp(58)); x += 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 { 35 for (int x = dp(16); x < (width - dp(116)); x += 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);
|
/frameworks/base/media/mca/filterpacks/native/base/ |
geometry.h | 80 float width() const { return width_; } function in class:android::filterfw::SlantedRect 89 float x, y, width, height; member in struct:android::filterfw::Rect 93 width = height = 1.0f; 96 Rect(float x, float y, float width, float height) { 99 this->width = width;
|
/hardware/intel/common/libva/test/common/ |
va_display_android.cpp | 51 static int create_window(int x, int y, int width, int height) 57 width, height, 70 surface_ctr->setSize(width, height); 88 create_window(dst_rect->x, dst_rect->y, dst_rect->width, dst_rect->height); 92 src_rect->width, src_rect->height, 94 dst_rect->width, dst_rect->height,
|
/hardware/qcom/display/msm8960/libtilerenderer/ |
tilerenderer.cpp | 38 int width = 0; local 43 renderer->getViewport(width, height); 49 right = width; 55 ALOGE("can't tile render; drity region, width, height not available"); 67 if (w > width || h > height) { 68 w = (w > width) ? width : w;
|
/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 91 * based on the width and format. 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 100 * based on the width and format [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
CaptureLayoutHelper.java | 224 public void onNonDecorWindowSizeChanged(int width, int height, int rotation) { 225 mWindowWidth = width; 233 * activity layout width, height and aspect ratio. 235 * @param width width of the main activity layout, excluding system decor such 244 private PositionConfiguration getPositionConfiguration(int width, int height, 246 boolean landscape = width > height; 252 config.mPreviewRect.set(0, 0, width, height); 255 config.mBottomBarRect.set(width - mBottomBarOptimalHeight, 0, width, height) [all...] |
/external/opencv/cv/src/ |
cvderiv.cpp | 53 assert( src && dst && src_size.width > 2 && src_size.height > 2 && 60 dst_width = src_size.width - 2; 67 src_size.width = dst_width; 73 assert( src_step >= src_size.width && dst_step >= dst_width ); 83 src_size.width = 0; 92 for( x = 0; x < src_size.width; x++ ) 384 int width = max_width, trow_sz = 0; local 388 trow_sz = cvAlign( (max_width + ksize.width - 1)*CV_ELEM_SIZE(src_type), ALIGN ); 389 row_sz = cvAlign( width*CV_ELEM_SIZE(work_type), ALIGN ); 495 int i = 0, j, k, width = state->get_width(); 553 int i = 0, k, width = state->get_width(); local 695 int i = 0, k, width = state->get_width(); local [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
DrawableBitmap.java | 35 DrawableBitmap(Texture texture, int width, int height) { 38 mWidth = width; 44 setCrop(0, height, width, height); 55 public void setViewSize(int width, int height) { 57 mViewWidth = width; 68 * @param viewWidth The width of the screen. 111 final float width = mWidth; local 118 if (snappedX + width < 0.0f 139 getPriority(), width * scaleX, height * scaleY); 161 public void resize(int width, int height) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
TiledScreenNail.java | 62 public TiledScreenNail(int width, int height) { 63 setSize(width, height); 75 private void setSize(int width, int height) { 76 if (width == 0 || height == 0) { 77 width = sMaxSide; 80 float scale = Math.min(1, (float) sMaxSide / Math.max(width, height)); 81 mWidth = Math.round(scale * width); 97 // Now both are TiledScreenNail. Move over the information about width, 114 public void updatePlaceholderSize(int width, int height) { 116 if (width == 0 || height == 0) return [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format_zs.c | 117 unsigned width, unsigned height) 121 memcpy(dst_row, src_row, width); 130 unsigned width, unsigned height) 134 memcpy(dst_row, src_row, width); 143 unsigned width, unsigned height) 149 for(x = 0; x < width; ++x) { 164 unsigned width, unsigned height) 170 for(x = 0; x < width; ++x) { 186 unsigned width, unsigned height) 192 for(x = 0; x < width; ++x) [all...] |