HomeSort by relevance Sort by last modified time
    Searched refs:height (Results 351 - 375 of 9596) sorted by null

<<11121314151617181920>>

  /external/skia/src/svg/parser/
SkSVGSVG.cpp 17 SVG_ATTRIBUTE(height),
37 SkScalar height, width; local
39 const char* hSuffix = SkParse::FindScalar(f_height.c_str(), &height);
41 height = SkScalarMulDiv(height, SK_Scalar1 * 72, SK_Scalar1 * 96);
46 SkRect box = SkRect::MakeLTRB(viewBox[0] / width, viewBox[1] / height,
47 viewBox[2] / width, viewBox[3] / height);
  /hardware/intel/common/libva/test/common/
va_display_x11.c 60 ensure_window(unsigned int width, unsigned int height)
70 XResizeWindow(x11_display, x11_window, width, height);
82 0, 0, width, height,
101 rect->height > 0);
122 win_height = dst_rect->y + dst_rect->height;
127 src_rect->width, src_rect->height,
129 dst_rect->width, dst_rect->height,
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
i420_video_source.h 25 unsigned int width, unsigned int height,
39 SetSize(width, height);
83 void SetSize(unsigned int width, unsigned int height) {
84 if (width != width_ || height != height_) {
86 img_ = vpx_img_alloc(NULL, VPX_IMG_FMT_I420, width, height, 1);
89 height_ = height;
90 raw_sz_ = width * height * 3 / 2;
  /pdk/apps/TestingCamera2/src/com/android/testingcamera2/
FixedAspectSurfaceView.java 31 * requested aspect ratio. This can happen if both the width and the height are exactly
32 * determined by the layout. To avoid this, ensure that either the height or the width is
41 * Desired width/height ratio
60 * @param aspect the desired width/height ratio in the current UI orientation. Must be a
77 int height = MeasureSpec.getSize(heightMeasureSpec); local
91 // Width is fixed, heightMode either AT_MOST or UNSPECIFIED, so adjust height
94 // Height is fixed, widthMode either AT_MOST or UNSPECIFIED, so adjust width
97 // Need to fit into box <= [width, height] in size.
100 float boxAspectRatio = width / (float) height;
112 // Maximize height, widthSpec is UNSPECIFIE
    [all...]
  /external/webrtc/webrtc/modules/video_render/ios/
open_gles20.mm 83 bool OpenGles20::Setup(int32_t width, int32_t height) {
117 glViewport(0, 0, width, height);
156 texture_height_ != (GLsizei)frame.height()) {
245 static void InitializeTexture(int name, int id, int width, int height) {
257 height,
266 const GLsizei height = frame.height();
272 InitializeTexture(GL_TEXTURE0, texture_ids_[0], width, height);
273 InitializeTexture(GL_TEXTURE1, texture_ids_[1], width / 2, height / 2);
274 InitializeTexture(GL_TEXTURE2, texture_ids_[2], width / 2, height / 2)
    [all...]
  /external/opencv3/3rdparty/libwebp/utils/
filters.c 30 assert(height > 0); \
47 int width, int height, int stride,
54 for (h = 0; h < height; ++h) {
68 static void HorizontalFilter(const uint8_t* data, int width, int height,
70 DoHorizontalFilter(data, width, height, stride, 0, filtered_data);
73 static void HorizontalUnfilter(int width, int height, int stride,
75 DoHorizontalFilter(data, width, height, stride, 1, data);
82 int width, int height, int stride,
94 for (h = 1; h < height; ++h) {
102 static void VerticalFilter(const uint8_t* data, int width, int height,
    [all...]
  /external/webp/src/dsp/
filters.c 26 assert(height > 0); \
28 assert(row >= 0 && num_rows > 0 && row + num_rows <= height); \
29 (void)height; // Silence unused warning.
45 int width, int height, int stride,
82 int width, int height, int stride,
125 int width, int height, int stride,
168 static void HorizontalFilter(const uint8_t* data, int width, int height,
170 DoHorizontalFilter(data, width, height, stride, 0, height, 0, filtered_data);
173 static void VerticalFilter(const uint8_t* data, int width, int height,
    [all...]
  /external/opencv3/modules/cudaoptflow/src/cuda/
farneback.cu 68 const int height, const int width, const PtrStepf src, PtrStepf dst)
73 if (y < height)
86 float t1 = src(::min(y + k, height - 1), xWarped);
113 dst(height + y, xWarped) = b2*c_ig11;
114 dst(2*height + y, xWarped) = b1*c_ig03 + b5*c_ig33;
115 dst(3*height + y, xWarped) = b1*c_ig03 + b4*c_ig33;
116 dst(4*height + y, xWarped) = b6*c_ig55;
157 const int height, const int width, const PtrStepf flowx, const PtrStepf flowy,
163 if (y < height && x < width)
176 if (x1 >= 0 && y1 >= 0 && x1 < width - 1 && y1 < height - 1
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
ResourceModifier.java 99 final float height = bitmap.getHeight() / 8.0f; local
103 0.0f, height, width, height, width * 2, height, width * 4, height,
104 0.0f, height * 2, width, height * 2, width * 2, height * 2, width * 3, height * 2,
105 0.0f, height * 4, width, height * 4, width * 2, height * 4, width * 4, height * 4
    [all...]
  /external/webrtc/webrtc/modules/desktop_capture/
desktop_geometry.h 54 DesktopSize(int32_t width, int32_t height)
55 : width_(width), height_(height) {
59 int32_t height() const { return height_; } function in class:webrtc::DesktopSize
67 void set(int32_t width, int32_t height) {
69 height_ = height;
81 return DesktopRect(0, 0, size.width(), size.height());
83 static DesktopRect MakeWH(int32_t width, int32_t height) {
84 return DesktopRect(0, 0, width, height);
87 int32_t width, int32_t height) {
88 return DesktopRect(x, y, x + width, y + height);
106 int32_t height() const { return bottom_ - top_; } function in class:webrtc::DesktopRect
    [all...]
  /external/webrtc/webrtc/modules/video_processing/
video_processing_impl.cc 23 int GetSubSamplingFactor(int width, int height) {
24 if (width * height >= 640 * 480) {
26 } else if (width * height >= 352 * 288) {
28 } else if (width * height >= 176 * 144) {
51 int height = frame.height(); local
52 stats->sub_sampling_factor = GetSubSamplingFactor(width, height);
56 for (int i = 0; i < height; i += (1 << stats->sub_sampling_factor)) {
64 stats->num_pixels = (width * height) / ((1 << stats->sub_sampling_factor) *
91 RTC_DCHECK(frame->height() > 0)
    [all...]
  /packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
Mosaic.cpp 56 int Mosaic::initialize(int blendingType, int stripType, int width, int height, int nframes, bool quarter_res, float thresh_still)
69 this->height = height;
82 frames[i] = new MosaicFrame(this->width,this->height,false); // Do no allocate memory for YUV data
95 LOGV("Initialize %d %d", width, height);
96 LOGV("Frame width %d,%d", width, height);
100 aligner->initialize(width, height,quarter_res,thresh_still);
107 blender->initialize(blendingType, stripType, width, height);
123 imageYVU = ImageUtils::allocateImage(this->width, this->height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS);
124 ImageUtils::rgb2yvu(imageYVU, imageRGB, width, height);
    [all...]
  /external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/
d3d11x11main.cpp 8 unsigned width, height; variable
30 height = 512;
31 Window win = XCreateWindow(dpy, RootWindow(dpy, DefaultScreen(dpy)), 0, 0, width, height, 0, CopyFromParent, InputOutput, visual, CWBorderPixel | CWColormap| CWEventMask, &swa);
39 swap_chain_desc.BufferDesc.Height = height;
89 height = event.xconfigure.height;
90 swap_chain->ResizeBuffers(3, width, height, format, 0);
94 else if(width && height)
103 app->draw(ctx, rtv, width, height, ctime)
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/intel/
intel_pixel_read.c 72 GLint x, GLint y, GLsizei width, GLsizei height,
125 dst_offset += _mesa_image_offset(2, pack, width, height,
131 &width, &height)) {
139 all = (width * height * src->cpp == dst->Base.Size &&
150 y = ctx->ReadBuffer->Height - (y + height);
158 width, height,
170 GLint x, GLint y, GLsizei width, GLsizei height,
182 (ctx, x, y, width, height, format, type, pack, pixels))
201 _mesa_readpixels(ctx, x, y, width, height, format, type, pack, pixels)
    [all...]
  /external/opencv3/modules/cudalegacy/test/
TestIntegralImageSquared.cpp 52 height(height_)
60 strOut << "height=" << height << std::endl;
77 Ncv32u heightSII = this->height + 1;
79 NCVMatrixAlloc<Ncv8u> d_img(*this->allocatorGPU.get(), this->width, this->height);
81 NCVMatrixAlloc<Ncv8u> h_img(*this->allocatorCPU.get(), this->width, this->height);
91 ncvStat = nppiStSqrIntegralGetSize_8u64u(NcvSize32u(this->width, this->height), &bufSize, this->devProp);
106 NcvSize32u(this->width, this->height),
115 NcvSize32u(this->width, this->height));
124 for (Ncv32u i=0; bLoopVirgin && i < h_img.height() + 1; i++
    [all...]
  /external/opencv3/modules/videoio/src/
cap_winrt_capture.cpp 100 int height = bridge.getHeight(); local
102 Video::getInstance().initGrabber(device, width, height);
159 int width, height; local
161 height = outArray.size().height;
163 if (height == 0) height = 480;
166 VideoioBridge::getInstance().setHeight(height);
191 size.height = (int)value;
  /external/skia/gm/
anisotropic.cpp 68 int height = SkScalarFloorToInt(fBM.height() * gScales[i]); variable
72 yOff = kSpacer + i * (fBM.height() + kSpacer);
75 yOff = (SK_ARRAY_COUNT(gScales) - i) * (fBM.height() + kSpacer) - height;
78 this->draw(canvas, kSpacer, yOff, fBM.width(), height);
88 yOff = kSpacer + i * (fBM.height() + kSpacer);
92 yOff = kSpacer + (SK_ARRAY_COUNT(gScales) - i - 1) * (fBM.height() + kSpacer);
95 this->draw(canvas, xOff, yOff, width, fBM.height());
  /external/webrtc/talk/media/devices/
gtkvideorenderer.cc 79 bool GtkVideoRenderer::SetSize(int width, int height, int reserved) {
83 if (width_ == width && height_ == height) {
88 if ((!window_ && !Initialize(width, height)) || IsClosed()) {
92 image_.reset(new uint8_t[width * height * 4]);
93 gtk_widget_set_size_request(draw_area_, width, height);
96 height_ = height;
140 bool GtkVideoRenderer::Initialize(int width, int height) {
151 gtk_widget_set_size_request(draw_area_, width, height);
156 image_.reset(new uint8_t[width * height * 4]);
  /frameworks/base/graphics/java/android/graphics/
YuvImage.java 28 * region by left, top, width and height.
61 * The height of the the image.
72 * @param height The height of the YuvImage.
76 * @throws IllegalArgumentException if format is not support; width or height <= 0; or yuv is
79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) {
87 if (width <= 0 || height <= 0) {
89 "width and height must large than 0");
105 mHeight = height;
142 rectangle.height(), offsets, mStrides, quality, stream
216 int height = rect.height(); local
    [all...]
  /frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
Size.java 71 flatSizes.add(s.height());
87 int height = Integer.parseInt(flatSizes[i + 1]); local
88 list.add(new Size(width,height));
98 public Size(int width, int height) {
99 val = new Point(width, height);
109 val = new Point(other.width(), other.height());
122 val = new Point(other.width, other.height);
156 public int height() { method in class:Size
176 return "Size: (" + this.width() + " x " + this.height() + ")";
  /packages/apps/Camera2/jni/
jpegutilnative.cpp 30 * The Y plane is assumed to have the same width and height of the entire image.
32 * dimensions (floor(width / 2), floor(height / 2)).
40 * (width, height) is a no-op.
49 * @param height the height of the image to compress
72 jint width, jint height,
93 return Compress(width, height, //
110 * @param height the height of the output image
119 JNIEnv* env, jclass clazz, jint width, jint height, jobject planeBuf
    [all...]
  /packages/apps/Camera2/src/com/android/camera/data/
PhotoDataFactory.java 44 int height = c.getInt(PhotoDataQuery.COL_HEIGHT); local
47 // If the width or height is unknown, attempt to decode it from
49 if (width <= 0 || height <= 0) {
52 + filePath + ":" + width + "x" + height);
62 dimensions = new Size(width, height);
91 int height; local
100 height = opts.outHeight;
112 height = b.getHeight();
113 if (width == 0 || height == 0) {
119 return new Size(width, height);
    [all...]
  /packages/apps/Camera2/src/com/android/camera/util/
AspectRatio.java 41 * @param height The height of the aspect ratio, after simplification.
43 private AspectRatio(int width, int height) {
45 mHeight = height;
48 public static AspectRatio of(int width, int height) {
49 int gcd = BigInteger.valueOf(width).gcd(BigInteger.valueOf(height)).intValue();
51 int simplifiedHeight = height / gcd;
56 return of(size.width(), size.height());
178 int cropTop = (area.height() - cropHeight) / 2;
185 int cropWidth = area.height() * mWidth / mHeight
    [all...]
  /device/generic/goldfish/camera/
JpegStub.cpp 37 int width, int height, int quality)
42 offsets[1] = width * height;
48 if (encoder->encode(stream, pY, width, height, offsets, quality)) {
50 __FUNCTION__, (width * height * 12) / 8,
51 width, height, stream->getOffset());
  /external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
image_util_bitmap_impl.py 16 def Height(bitmap):
17 return bitmap.height
28 def FromRGBPixels(width, height, pixels, bpp):
29 return _bitmap.Bitmap(bpp, width, height, pixels)
46 def Crop(bitmap, left, top, width, height):
47 return bitmap.Crop(left, top, width, height)

Completed in 3032 milliseconds

<<11121314151617181920>>