/external/opencv3/modules/video/src/ |
camshift.cpp | 61 if( window.height <= 0 || window.width <= 0 ) 64 window = window & Rect(0, 0, size.width, size.height); 72 cur_rect = cur_rect & Rect(0, 0, size.width, size.height); 75 cur_rect.x = size.width/2; 78 cur_rect.width = std::max(cur_rect.width, 1); 87 int dx = cvRound( m.m10/m.m00 - window.width*0.5 ); 90 int nx = std::min(std::max(cur_rect.x + dx, 0), size.width - cur_rect.width); 132 window.width += 2 * TOLERANCE 167 double width = std::sqrt( rotate_c * inv_m00 ) * 4; local [all...] |
/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/tests/ |
SkLinearBitmapPipelineTest.cpp | 16 int width = 10; local 18 uint32_t* bitmap = new uint32_t[width * height]; 20 for (int x = 0; x < width; x++) { 21 bitmap[y * width + x] = (y << 8) + x + (128<<24); 25 SkPM4f* FPbuffer = new SkPM4f[width * height]; 34 SkImageInfo::MakeN32Premul(width, height, kLinear_SkColorProfileType); 36 SkPixmap srcPixmap{info, bitmap, static_cast<size_t>(4 * width)};
|
/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/bsp/intel/peripheral/libupm/examples/python/ |
make_oled_pic.py | 34 width = 128 variable 42 im = im.convert('L').resize((width, height)) 46 byteblock = [0 for i in range(width)] 52 # we split the list by width * 8, to create data chunks of 8rows 53 datachunks=[data[x:x+(width*8)] for x in range(0, len(data), (width*8))] 59 xcoor = pixcount % width 60 ycoor = int(pixcount/width)
|
/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/opencv3/modules/videoio/src/ |
cap_winrt_bridge.cpp | 79 frontOutputBuffer = ref new WriteableBitmap(width, height); 80 backOutputBuffer = ref new WriteableBitmap(width, height); 84 void VideoioBridge::allocateBuffers(int width, int height) 87 frontInputMat.create(height, width, CV_8UC3); 88 backInputMat.create(height, width, CV_8UC3); 100 allocateBuffers(width, height); 105 Video::getInstance().initGrabber(deviceIndex, width, height); 140 return width; 150 width = _width;
|
cap_ffmpeg_api.hpp | 41 int* step, int* width, int* height, int* cn); 43 int* step, int* width, int* height, int* cn); 47 int fourcc, double fps, int width, int height, int isColor ); 49 int fourcc, double fps, int width, int height, int isColor ); 52 int step, int width, int height, int cn, int origin); 60 int* width, int* height, int* cn ); 65 double fps, int width, int height, int iscolor ); 67 int width, int height, int cn, int origin); 74 OPENCV_FFMPEG_API struct OutputMediaStream_FFMPEG* create_OutputMediaStream_FFMPEG(const char* fileName, int width, int height, double fps); 78 typedef struct OutputMediaStream_FFMPEG* (*Create_OutputMediaStream_FFMPEG_Plugin)(const char* fileName, int width, int height, double fps) [all...] |
/external/webp/src/enc/ |
picture_rescale.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...] |
/device/generic/goldfish/camera/fake-pipeline2/ |
Base.h | 38 uint32_t width, height; member in struct:android::StreamBuffer 49 uint32_t width, height; member in struct:android::Stream 56 uint32_t width, height; member in struct:android::ReprocessStream
|
/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/opencv3/3rdparty/libwebp/utils/ |
filters.c | 29 assert(width > 0); \ 31 assert(stride >= width); 47 int width, int height, int stride, 61 PredictLine(in + 1, preds, out + 1, width - 1, inverse); 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, 91 PredictLine(in + 1, preds, out + 1, width - 1, inverse) [all...] |
filters.h | 34 typedef void (*WebPFilterFunc)(const uint8_t* in, int width, int height, 36 typedef void (*WebPUnfilterFunc)(int width, int height, int stride, 51 int width, int height, int stride);
|
/external/opencv3/modules/core/perf/ |
perf_mat.cpp | 17 Mat diagonalMatrix(size.height, size.width, type); 21 int runs = (size.width <= 640) ? 15 : 5; 38 Mat zeroMatrix(size.height, size.width, type); 42 int runs = (size.width <= 640) ? 15 : 5; 59 Mat source(size.height, size.width, type); 60 Mat destination(size.height, size.width, type);; 82 unsigned int width = size.width; local 84 Mat source(height, width, type); 85 Mat destination(size.height/2, size.width/2, type) [all...] |
/external/skia/include/android/ |
SkBitmapRegionDecoder.h | 73 int width() const { return fWidth; } function in class:SkBitmapRegionDecoder 80 SkBitmapRegionDecoder(int width, int height) 81 : fWidth(width)
|
/external/skia/include/images/ |
SkPageFlipper.h | 27 SkPageFlipper(int width, int height); 29 int width() const { return fWidth; } function in class:SkPageFlipper 32 void resize(int width, int height);
|
/external/skia/src/gpu/ |
GrClip.cpp | 21 void GrClip::getConservativeBounds(int width, int height, SkIRect* devResult, 25 devResult->setLTRB(0, 0, width, height); 40 width,
|
/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);
|
/external/webrtc/webrtc/test/testsupport/metrics/ |
video_metrics.h | 68 int width, 93 int width, 114 int width,
|
/external/webrtc/webrtc/test/ |
video_capturer.cc | 33 size_t width, 37 VcmCapturer* vcm_capturer = VcmCapturer::Create(input, width, height, fps); 45 FrameGeneratorCapturer::Create(input, width, height, fps, clock);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
deringing_chroma.cpp | 25 int width, 47 incr = width - BLKSIZE; 54 for (h_blk = 0; h_blk < width; h_blk += BLKSIZE) 59 FindMaxMin(ptr, &min_blk, &max_blk, width); 69 addr_v = (int32)v_pel * width; 74 pelu = *(ptr - width); 76 pell = *(ptr + width); 81 pelu = *(ptr - width); 83 pell = *(ptr + width); 90 pelu = *(ptr - width); [all...] |
/frameworks/av/media/libstagefright/filters/ |
ColorConvert.h | 29 uint8_t *pY, uint8_t *pUV, int32_t width, int32_t height, 33 uint8_t *pY, uint8_t *pUV, int32_t width, int32_t height, 38 uint8_t *src, int32_t width, int32_t height, uint32_t stride,
|