HomeSort by relevance Sort by last modified time
    Searched refs:width (Results 451 - 475 of 10732) sorted by null

<<11121314151617181920>>

  /frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
post_filter.cpp 43 int width, height; local
50 width = video->width;
52 size = (int32)width * height;
75 CombinedHorzVertRingFilter(output, width, height, QP_store, 0, pp_mod);
83 CombinedHorzVertFilter(output, width, height,
88 CombinedHorzVertFilter_NoSoftDeblocking(output, width, height,
94 Deringing_Luma(output, width, height, QP_store,
107 CombinedHorzVertRingFilter(output, (int)(width >> 1), (int)(height >> 1), QP_store, (int) 1, pp_mod);
115 CombinedHorzVertFilter(output, (int)(width >> 1)
    [all...]
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/
ColorBleedEffect.java 36 int width = image.getWidth(); local
39 BufferedImage processedImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB);
40 int[] rgb = image.getRGB(0, 0, width, height, null, 0, width);
47 executeIteration(rgb, mask, width, height);
51 processedImage.setRGB(0, 0, width, height, rgb, 0, width);
55 private void executeIteration (int[] rgb, Mask mask, int width, int height) {
59 int x = pixelIndex % width;
60 int y = pixelIndex / width;
    [all...]
  /external/libvncserver/examples/
pnmshow.c 19 int i,j,k,l,width,height,paddedWidth; local
53 /* get width & height */
54 sscanf(buffer,"%d %d",&width,&height);
55 rfbLog("Got width %d and height %d.\n",width,height);
59 width=1+((width-1)|7);
62 paddedWidth = width;
63 if(width&3)
64 paddedWidth+=4-(width&3)
    [all...]
  /external/libvncserver/libvncclient/
cursor.c 46 rfbBool HandleCursorShape(rfbClient* client,int xhot, int yhot, int width, int height, uint32_t enc)
57 bytesPerRow = (width + 7) / 8;
60 if (width * height == 0)
67 client->rcSource = malloc(width * height * bytesPerPixel);
102 for (x = 0; x < width / 8; x++) {
108 for (b = 7; b > 7 - width % 8; b--) {
117 for (x = 0; x < width * height; x++)
121 for (x = 0; x < width * height; x++)
125 for (x = 0; x < width * height; x++)
132 if (!ReadFromRFBServer(client, (char *)client->rcSource, width * height * bytesPerPixel))
    [all...]
  /external/mesa3d/src/mesa/swrast/
s_copypix.c 52 GLint width, GLint height,
57 if (srcx >= dstx + width || (srcx + width <= dstx)) {
72 if (srcx > (dstx + ((zoomX > 0.0F) ? (width * zoomX + 1.0F) : 0.0F))) {
76 else if (srcx + width + 1.0F < dstx + ((zoomX > 0.0F) ? 0.0F : (width * zoomX))) {
100 GLint width, GLint height, GLint destx, GLint desty)
115 overlapping = regions_overlap(srcx, srcy, destx, desty, width, height,
142 tmpImage = (GLfloat *) malloc(width * height * sizeof(GLfloat) * 4);
151 width, srcx, sy + row, p )
    [all...]
  /external/toybox/lib/
linestack.c 79 // Show width many columns, negative means from right edge.
83 // Returns width in columns, moves *str to end of data consumed.
84 int crunch_str(char **str, int width, FILE *out,
97 if (width-columns<col) break;
99 } else if (!escout || 0>(col = escout(out, width-columns, &end))) {
111 if (width-columns<col) buf[col = width-columns] = 0;
123 // Write width chars at start of string to strdout with standard escapes
125 int draw_str(char *start, int width)
127 return crunch_str(&start, width, stdout, 0)
    [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) {
50 int width = frame.width(); local
52 stats->sub_sampling_factor = GetSubSamplingFactor(width, height);
57 int k = i * width;
58 for (int j = 0; j < width; j += (1 << stats->sub_sampling_factor)) {
64 stats->num_pixels = (width * height) / ((1 << stats->sub_sampling_factor)
    [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;
78 const float dx = width * (ratio / current_ratio - 1.0f);
80 width += dx;
90 if (width <= 0.0f || height <= 0.0f || length <= 0.0f) {
94 const float current_length = width > height ? width : height;
96 const float dx = width * (length / current_length - 1.0f);
98 width += dx;
107 if (width <= 0.0f || height <= 0.0f || factor <= 0.0f)
    [all...]
  /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)
76 for(x = 0; x < width; x += 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/opencv3/samples/cpp/
polar_transforms.cpp 54 log_polar_img = cvCreateImage( cvSize(frame->width,frame->height), IPL_DEPTH_8U, frame->nChannels );
55 lin_polar_img = cvCreateImage( cvSize(frame->width,frame->height), IPL_DEPTH_8U, frame->nChannels );
56 recovered_img = cvCreateImage( cvSize(frame->width,frame->height), IPL_DEPTH_8U, frame->nChannels );
59 cvLogPolar(frame,log_polar_img,cvPoint2D32f(frame->width >> 1,frame->height >> 1),70, CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS);
60 cvLinearPolar(frame,lin_polar_img,cvPoint2D32f(frame->width >> 1,frame->height >> 1),70, CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS);
63 cvLogPolar(log_polar_img,recovered_img,cvPoint2D32f(frame->width >> 1,frame->height >> 1),70, CV_WARP_INVERSE_MAP+CV_INTER_LINEAR);
65 cvLinearPolar(lin_polar_img,recovered_img,cvPoint2D32f(frame->width >> 1,frame->height >> 1),70, CV_WARP_INVERSE_MAP+CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS);
  /external/skia/src/svg/parser/
SkSVGSVG.cpp 19 SVG_ATTRIBUTE(width),
37 SkScalar height, width; local
42 const char* wSuffix = SkParse::FindScalar(f_width.c_str(), &width);
44 width = SkScalarMulDiv(width, SK_Scalar1 * 72, SK_Scalar1 * 96);
46 SkRect box = SkRect::MakeLTRB(viewBox[0] / width, viewBox[1] / height,
47 viewBox[2] / width, viewBox[3] / height);
  /external/skia/tests/
BlitMaskClip.cpp 19 void blitH(int x, int y, int width) override {
23 int right = x + width;
37 for (int width = 1; width <= 32; width++) {
39 int rowBytes = (width + 7) >> 3;
43 SkIRect b = {originX, originY, originX + width, originY + 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,
100 rect->width > 0 &&
121 win_width = dst_rect->x + dst_rect->width;
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);
88 width_ = width;
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
76 int width = MeasureSpec.getSize(widthMeasureSpec); 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;
109 // Maximize width, heightSpec is UNSPECIFIE
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
GraphicsUtilitiesTest.java 45 assertEquals(baseData.width + 2, result.width);
49 for (int x = 0; x < result.width; x++) {
65 assertEquals(0x0, result.getPixel(result.width - 1, y) & MASK_ALPHA);
85 for (int x = 0; x < baseData.width; x++) {
106 assertEquals(baseData.width, copiedData.width);
113 final int[] baseColors = new int[baseData.width];
114 final byte[] baseAlpha = new byte[baseData.width];
116 final int[] copiedColors = new int[copiedData.width];
307 int width = baseData.width; local
    [all...]
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
BitmapFontAlignmentTest.java 97 float width = logoSprite.getWidth(); local
101 x += width / 2 - layout.width / 2;
111 float width = logoSprite.getWidth(); local
118 x += width / 2 - layout.width / 2;
129 float width = logoSprite.getWidth(); local
132 layout.setText(font, text, Color.WHITE, width, Align.left, true);
133 x += width / 2 - layout.width / 2;
149 float width = logoSprite.getWidth(); local
169 float width = logoSprite.getWidth(); local
187 float width = logoSprite.getWidth(); local
    [all...]
  /external/libvpx/libvpx/third_party/libyuv/source/
row_neon.cc 174 int width) {
190 "+r"(width) // %4
204 int width) {
220 "+r"(width) // %4
234 int width) {
250 "+r"(width) // %4
264 int width) {
281 "+r"(width) // %4
295 int width) {
312 "+r"(width) // %
    [all...]
row_neon64.cc 175 int width) {
190 "+r"(width) // %4
204 int width) {
219 "+r"(width) // %4
233 int width) {
248 "+r"(width) // %4
262 int width) {
277 "+r"(width) // %4
291 int width) {
306 "+r"(width) // %
    [all...]
  /external/mesa3d/src/glx/
indirect_texture_compression.c 56 image_bytes = reply.width;
78 GLsizei width, GLsizei height,
104 __GLX_PUT_LONG(16, width);
121 __GLX_PUT_LONG(20, width);
139 GLsizei width, GLsizei height,
164 __GLX_PUT_LONG(20, width);
182 __GLX_PUT_LONG(24, width);
195 GLenum internal_format, GLsizei width,
199 CompressedTexImage1D2D(target, level, internal_format, width, 0,
208 GLsizei width, GLsizei height
    [all...]
  /external/opencv/otherlibs/highgui/
image.cpp 82 if( !m_img || Bpp() != bpp || m_img->width != w || m_img->height != h )
122 if( Create( size.width, size.height,
148 if( r.width < 0 || r.height < 0 ) return false;
154 if( r.width == 0 || r.height == 0 )
156 r.width = img->width;
161 if( r.x > img->width || r.y > img->height ||
162 r.x + r.width < 0 || r.y + r.height < 0 )
171 r.width += r.x;
180 if( r.x + r.width > img->width
    [all...]
  /hardware/qcom/display/msm8084/libcopybit/
software_converter.cpp 49 // stride - horiz_padding is the actual width
52 unsigned int width = src->w - src->horiz_padding; local
57 unsigned int chromaPadding = c_width - width/2;
94 // The width/2 checks are to avoid copying
100 if(j == width) {
105 if (j+1 == width) {
106 newChroma[r2*width + j] = oldChroma[r1*c_width+i];
108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size];
111 newChroma[r2*width + j] = oldChroma[r1*c_width+i];
112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]
127 int width; member in struct:copyInfo
148 int width = info.width; local
    [all...]
  /hardware/qcom/display/msm8226/libcopybit/
software_converter.cpp 49 // stride - horiz_padding is the actual width
52 unsigned int width = src->w - src->horiz_padding; local
57 unsigned int chromaPadding = c_width - width/2;
94 // The width/2 checks are to avoid copying
100 if(j == width) {
105 if (j+1 == width) {
106 newChroma[r2*width + j] = oldChroma[r1*c_width+i];
108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size];
111 newChroma[r2*width + j] = oldChroma[r1*c_width+i];
112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]
127 int width; member in struct:copyInfo
148 int width = info.width; local
    [all...]
  /hardware/qcom/display/msm8909/libcopybit/
software_converter.cpp 49 // stride - horiz_padding is the actual width
52 unsigned int width = src->w - src->horiz_padding; local
57 unsigned int chromaPadding = c_width - width/2;
94 // The width/2 checks are to avoid copying
100 if(j == width) {
105 if (j+1 == width) {
106 newChroma[r2*width + j] = oldChroma[r1*c_width+i];
108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size];
111 newChroma[r2*width + j] = oldChroma[r1*c_width+i];
112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]
127 int width; member in struct:copyInfo
148 int width = info.width; local
    [all...]
  /hardware/qcom/display/msm8960/libcopybit/
software_converter.cpp 49 // stride - horiz_padding is the actual width
52 unsigned int width = src->w - src->horiz_padding; local
57 unsigned int chromaPadding = c_width - width/2;
94 // The width/2 checks are to avoid copying
100 if(j == width) {
105 if (j+1 == width) {
106 newChroma[r2*width + j] = oldChroma[r1*c_width+i];
108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size];
111 newChroma[r2*width + j] = oldChroma[r1*c_width+i];
112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]
127 int width; member in struct:copyInfo
147 int width = info.width; local
    [all...]

Completed in 656 milliseconds

<<11121314151617181920>>