HomeSort by relevance Sort by last modified time
    Searched refs:height (Results 501 - 525 of 11432) sorted by null

<<21222324252627282930>>

  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
image.h 42 VGint width, height; member in struct:vg_image
53 VGint width, VGint height);
57 VGint x, VGint y, VGint width, VGint height);
64 VGint width, VGint height);
71 VGint width, VGint height);
75 VGint width, VGint height);
79 VGint width, VGint height,
86 VGint width, VGint height);
89 VGint width, VGint height);
102 VGint width, VGint height);
    [all...]
  /external/chromium_org/third_party/skia/src/opts/
SkMorphology_opts_SSE2.cpp 26 int width, int height, int srcStride, int dstStride)
38 for (int y = 0; y < height; ++y) {
60 int width, int height, int srcStride, int dstStride)
62 SkMorph_SSE2<kDilate, kX>(src, dst, radius, width, height, srcStride, dstStride);
66 int width, int height, int srcStride, int dstStride)
68 SkMorph_SSE2<kErode, kX>(src, dst, radius, width, height, srcStride, dstStride);
72 int width, int height, int srcStride, int dstStride)
74 SkMorph_SSE2<kDilate, kY>(src, dst, radius, width, height, srcStride, dstStride);
78 int width, int height, int srcStride, int dstStride)
80 SkMorph_SSE2<kErode, kY>(src, dst, radius, width, height, srcStride, dstStride)
    [all...]
SkMorphology_opts_neon.cpp 29 int width, int height, int srcStride, int dstStride)
41 for (int y = 0; y < height; ++y) {
59 int width, int height, int srcStride, int dstStride)
61 SkMorph_neon<kDilate, kX>(src, dst, radius, width, height, srcStride, dstStride);
65 int width, int height, int srcStride, int dstStride)
67 SkMorph_neon<kErode, kX>(src, dst, radius, width, height, srcStride, dstStride);
71 int width, int height, int srcStride, int dstStride)
73 SkMorph_neon<kDilate, kY>(src, dst, radius, width, height, srcStride, dstStride);
77 int width, int height, int srcStride, int dstStride)
79 SkMorph_neon<kErode, kY>(src, dst, radius, width, height, srcStride, dstStride)
    [all...]
  /external/chromium_org/third_party/skia/src/utils/ios/
SkImageDecoder_iOS.mm 31 const int height = uimage.size.height;
32 bm->setInfo(SkImageInfo::MakeN32(width, height, kPremul_SkAlphaType), 0);
45 CGContextRef cg = CGBitmapContextCreate(bm->getPixels(), width, height,
47 CGContextDrawImage(cg, CGRectMake(0, 0, width, height), uimage.CGImage);
  /external/chromium_org/third_party/webrtc/common_video/libyuv/
webrtc_libyuv.cc 69 int CalcBufferSize(VideoType type, int width, int height) {
78 int half_height = (height + 1) >> 1;
79 buffer_size = width * height + half_width * half_height * 2;
87 buffer_size = width * height * 2;
90 buffer_size = width * height * 3;
94 buffer_size = width * height * 4;
110 int height = (planeNum ? (frame.height() + 1) / 2 : frame.height()); local
113 for (int y = 0; y < height; y++)
140 int height = (plane ? (input_frame.height() + 1) \/ 2 : local
    [all...]
  /external/chromium_org/third_party/webrtc/test/
frame_generator.cc 24 ChromaGenerator(size_t width, size_t height)
25 : angle_(0.0), width_(width), height_(height) {
27 assert(height > 0);
55 YuvFileGenerator(FILE* file, size_t width, size_t height)
56 : file_(file), width_(width), height_(height) {
59 assert(height > 0);
105 FrameGenerator* FrameGenerator::Create(size_t width, size_t height) {
106 return new ChromaGenerator(width, height);
111 size_t height) {
114 return new YuvFileGenerator(file_handle, width, height);
    [all...]
  /external/chromium_org/third_party/webrtc/tools/psnr_ssim_analyzer/
psnr_ssim_analyzer.cc 25 const char* results_file_name, int width, int height) {
34 int size = webrtc::test::GetI420FrameSize(width, height);
44 reference_file_name, width, height, frame_counter, ref_frame):
46 height, frame_counter, ref_frame);
48 height, frame_counter, test_frame);
55 webrtc::test::kPSNR, ref_frame, test_frame, width, height);
57 webrtc::test::kSSIM, ref_frame, test_frame, width, height);
81 * --height=<height_of_frames>
89 "--height=240\n"
92 " - height(int): The height of the reference and test files.
122 int height = strtol((parser.GetFlag("height")).c_str(), NULL, 10); local
    [all...]
  /external/mesa3d/src/gallium/state_trackers/vega/
image.h 42 VGint width, height; member in struct:vg_image
53 VGint width, VGint height);
57 VGint x, VGint y, VGint width, VGint height);
64 VGint width, VGint height);
71 VGint width, VGint height);
75 VGint width, VGint height);
79 VGint width, VGint height,
86 VGint width, VGint height);
89 VGint width, VGint height);
102 VGint width, VGint height);
    [all...]
  /external/skia/src/opts/
SkMorphology_opts_SSE2.cpp 26 int width, int height, int srcStride, int dstStride)
38 for (int y = 0; y < height; ++y) {
60 int width, int height, int srcStride, int dstStride)
62 SkMorph_SSE2<kDilate, kX>(src, dst, radius, width, height, srcStride, dstStride);
66 int width, int height, int srcStride, int dstStride)
68 SkMorph_SSE2<kErode, kX>(src, dst, radius, width, height, srcStride, dstStride);
72 int width, int height, int srcStride, int dstStride)
74 SkMorph_SSE2<kDilate, kY>(src, dst, radius, width, height, srcStride, dstStride);
78 int width, int height, int srcStride, int dstStride)
80 SkMorph_SSE2<kErode, kY>(src, dst, radius, width, height, srcStride, dstStride)
    [all...]
SkMorphology_opts_neon.cpp 29 int width, int height, int srcStride, int dstStride)
41 for (int y = 0; y < height; ++y) {
59 int width, int height, int srcStride, int dstStride)
61 SkMorph_neon<kDilate, kX>(src, dst, radius, width, height, srcStride, dstStride);
65 int width, int height, int srcStride, int dstStride)
67 SkMorph_neon<kErode, kX>(src, dst, radius, width, height, srcStride, dstStride);
71 int width, int height, int srcStride, int dstStride)
73 SkMorph_neon<kDilate, kY>(src, dst, radius, width, height, srcStride, dstStride);
77 int width, int height, int srcStride, int dstStride)
79 SkMorph_neon<kErode, kY>(src, dst, radius, width, height, srcStride, dstStride)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/canvas/
WebGLTexture.cpp 147 void WebGLTexture::setLevelInfo(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLenum type)
151 // We assume level, internalFormat, width, height, and type have all been
156 m_info[index][level].setInfo(internalFormat, width, height, type);
170 GLsizei height = info0.height; local
171 GLint levelCount = computeLevelCount(width, height);
174 height = std::max(1, height >> 1);
176 info.setInfo(info0.internalFormat, width, height, info0.type);
213 return info->height;
347 GLsizei height = info0.height; local
    [all...]
  /external/chromium_org/third_party/webrtc/modules/desktop_capture/win/
cursor.cc 58 void AddCursorOutline(int width, int height, uint32_t* data) {
59 for (int y = 0; y < height; y++) {
67 (y < height - 1 && data[width] == kPixelRgbaBlack) ||
80 void AlphaMul(uint32_t* data, int width, int height) {
84 for (uint32_t* data_end = data + width * height; data != data_end; ++data) {
98 bool HasAlphaChannel(const uint32_t* data, int stride, int width, int height) {
100 for (int y = 0; y < height; ++y) {
139 int height = bitmap_info.bmHeight; local
140 scoped_ptr<uint32_t[]> mask_data(new uint32_t[width * height]);
147 bmi.bV5Height = -height; // request a top-down bitmap
    [all...]
  /external/chromium_org/third_party/skia/include/core/
SkImageInfo.h 162 static SkImageInfo Make(int width, int height, SkColorType ct, SkAlphaType at) {
163 return SkImageInfo(width, height, ct, at);
169 static SkImageInfo MakeN32(int width, int height, SkAlphaType at) {
170 return SkImageInfo(width, height, kN32_SkColorType, at);
176 static SkImageInfo MakeN32Premul(int width, int height) {
177 return SkImageInfo(width, height, kN32_SkColorType, kPremul_SkAlphaType);
184 return MakeN32Premul(size.width(), size.height());
187 static SkImageInfo MakeA8(int width, int height) {
188 return SkImageInfo(width, height, kAlpha_8_SkColorType, kPremul_SkAlphaType);
191 static SkImageInfo MakeUnknown(int width, int height) {
200 int height() const { return fHeight; } function in struct:SkImageInfo
    [all...]
  /frameworks/base/media/mca/filterpacks/native/base/
geometry.cpp 72 if (width <= 0.0f || height <= 0.0f || ratio <= 0.0f) {
76 const float current_ratio = width / height;
82 const float dy = height * (current_ratio / ratio - 1.0f);
84 height += dy;
90 if (width <= 0.0f || height <= 0.0f || length <= 0.0f) {
94 const float current_length = width > height ? width : height;
99 const float dy = height * (length / current_length - 1.0f);
101 height += dy;
107 if (width <= 0.0f || height <= 0.0f || factor <= 0.0f)
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/media/devices/
gtkvideorenderer.cc 71 bool GtkVideoRenderer::SetSize(int width, int height, int reserved) {
75 if ((!window_ && !Initialize(width, height)) || IsClosed()) {
79 image_.reset(new uint8[width * height * 4]);
80 gtk_widget_set_size_request(draw_area_, width, height);
117 bool GtkVideoRenderer::Initialize(int width, int height) {
128 gtk_widget_set_size_request(draw_area_, width, height);
133 image_.reset(new uint8[width * height * 4]);
  /external/chromium_org/third_party/libvpx/source/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;
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
u_format_latc.c 56 util_format_latc1_unorm_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height)
58 util_format_rgtc1_unorm_unpack_rgba_8unorm(dst_row, dst_stride, src_row, src_stride, width, height);
63 unsigned src_stride, unsigned width, unsigned height)
65 util_format_rgtc1_unorm_pack_rgba_8unorm(dst_row, dst_stride, src_row, src_stride, width, height);
69 util_format_latc1_unorm_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height)
74 for(y = 0; y < height; y += 4) {
95 util_format_latc1_unorm_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height)
97 util_format_rgtc1_unorm_pack_rgba_float(dst_row, dst_stride, src_row, src_stride, width, height);
119 util_format_latc1_snorm_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height)
125 util_format_latc1_snorm_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height)
    [all...]
  /external/chromium_org/third_party/skia/src/gpu/
GrRenderTarget.cpp 16 bool GrRenderTarget::readPixels(int left, int top, int width, int height,
27 left, top, width, height,
32 void GrRenderTarget::writePixels(int left, int top, int width, int height,
43 left, top, width, height,
84 if (!fResolveRect.intersect(0, 0, this->width(), this->height())) {
88 fResolveRect.setLTRB(0, 0, this->width(), this->height());
98 if (!fResolveRect.intersect(0, 0, this->width(), this->height())) {
  /external/libvpx/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;
  /external/mesa3d/src/gallium/auxiliary/util/
u_format_latc.c 56 util_format_latc1_unorm_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height)
58 util_format_rgtc1_unorm_unpack_rgba_8unorm(dst_row, dst_stride, src_row, src_stride, width, height);
63 unsigned src_stride, unsigned width, unsigned height)
65 util_format_rgtc1_unorm_pack_rgba_8unorm(dst_row, dst_stride, src_row, src_stride, width, height);
69 util_format_latc1_unorm_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height)
74 for(y = 0; y < height; y += 4) {
95 util_format_latc1_unorm_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height)
97 util_format_rgtc1_unorm_pack_rgba_float(dst_row, dst_stride, src_row, src_stride, width, height);
119 util_format_latc1_snorm_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height)
125 util_format_latc1_snorm_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height)
    [all...]
  /external/skia/src/core/
SkPictureRecorder.cpp 28 SkCanvas* SkPictureRecorder::beginRecording(int width, int height,
33 fHeight = height;
35 const SkISize size = SkISize::Make(width, height);
38 SkAutoTUnref<SkBBoxHierarchy> tree((*bbhFactory)(width, height));
49 SkCanvas* SkPictureRecorder::EXPERIMENTAL_beginRecording(int width, int height,
53 fHeight = height;
57 fRecorder = SkNEW_ARGS(SkRecorder, (fRecord, width, height));
  /external/skia/src/gpu/
GrRenderTarget.cpp 16 bool GrRenderTarget::readPixels(int left, int top, int width, int height,
27 left, top, width, height,
32 void GrRenderTarget::writePixels(int left, int top, int width, int height,
43 left, top, width, height,
84 if (!fResolveRect.intersect(0, 0, this->width(), this->height())) {
88 fResolveRect.setLTRB(0, 0, this->width(), this->height());
98 if (!fResolveRect.intersect(0, 0, this->width(), this->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...]

Completed in 543 milliseconds

<<21222324252627282930>>