/external/webrtc/webrtc/common_video/include/ |
video_frame_buffer.h | 38 virtual int width() const = 0; 67 I420Buffer(int width, int height); 68 I420Buffer(int width, int height, int stride_y, int stride_u, int stride_v); 70 int width() const override; 98 NativeHandleBuffer(void* native_handle, int width, int height); 100 int width() const override; 114 WrappedI420Buffer(int width, 123 int width() const override;
|
/external/webrtc/webrtc/modules/video_coding/utility/ |
quality_scaler.cc | 19 // Note that this is the same for width and height to permit 120x90 in both 66 res_.width = frame.width(); 105 shift > 0 && (res_.width / 2 >= min_width_) && 108 res_.width /= 2; 123 if (res.width == frame.width()) 126 scaler_.Set(frame.width(), frame.height(), res.width, res.height, kI420,
|
/external/webrtc/webrtc/test/ |
frame_generator.h | 33 static FrameGenerator* CreateChromaGenerator(size_t width, size_t height); 39 size_t width,
|
vcm_capturer.h | 25 size_t width, 39 bool Init(size_t width, size_t height, size_t target_fps);
|
/external/webrtc/webrtc/test/gl/ |
gl_renderer.cc | 43 void GlRenderer::ResizeViewport(size_t width, size_t height) { 45 glViewport(0, 0, width, height); 54 void GlRenderer::ResizeVideo(size_t width, size_t height) { 56 width_ = width; 59 buffer_size_ = width * height * 4; // BGRA 68 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, width, height, 0, GL_BGRA, 76 if (static_cast<size_t>(frame.width()) != width_ || 78 ResizeVideo(frame.width(), frame.height());
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
AccessibilityNodeInfoHelper.java | 31 * @param width pixel width of the display 35 static Rect getVisibleBoundsInScreen(AccessibilityNodeInfo node, int width, int height) { 46 displayRect.right = width;
|
/frameworks/base/core/jni/android/graphics/ |
Picture.h | 41 Canvas* beginRecording(int width, int height); 45 int width() const;
|
/frameworks/base/libs/hwui/renderstate/ |
OffscreenBufferPool.cpp | 43 uint32_t width = computeIdealDimension(viewportWidth); local 45 ATRACE_FORMAT("Allocate %ux%u HW Layer", width, height); 47 texture.resize(width, height, GL_RGBA); 54 const float texX = 1.0f / static_cast<float>(texture.width()); 76 const float texX = 1.0f / float(texture.width()); 106 ATRACE_FORMAT("Destroy %ux%u HW Layer", texture.width(), texture.height()); 126 int deltaInt = int(lhs.width) - int(rhs.width); 141 const uint32_t width, const uint32_t height) { 144 Entry entry(width, height) [all...] |
/frameworks/base/libs/hwui/utils/ |
Blur.h | 39 uint8_t* dest, int32_t width, int32_t height); 41 uint8_t* dest, int32_t width, int32_t height);
|
/frameworks/base/opengl/java/android/opengl/ |
ETC1Util.java | 74 int width = texture.getWidth(); local 79 GLES10.glCompressedTexImage2D(target, level, ETC1.ETC1_RGB8_OES, width, height, 84 int stride = pixelSize * width; 87 ETC1.decodeImage(data, decodedData, width, height, pixelSize, stride); 88 GLES10.glTexImage2D(target, level, fallbackFormat, width, height, border, 117 public ETC1Texture(int width, int height, ByteBuffer data) { 118 mWidth = width; 124 * Get the width of the texture in pixels. 125 * @return the width of the texture in pixels. 131 * @return the width of the texture in pixels 153 int width = 0; local 210 int width = texture.getWidth(); local [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
BitmapMutateActivity.java | 87 int width = mBitmap1.getWidth(); local 90 canvas.translate((getWidth() - width) / 2, 0); 92 for (int x = 0; x < width; x++) { 98 mPixels[y * width + x] = color; 102 mBitmap1.setPixels(mPixels, 0, width, 0, 0, width, height); 107 canvas.drawBitmap(mPixels, 0, width, 0.0f, 0.0f, width, height, false, mBitmapPaint);
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
OverlayDisplayWindow.java | 62 int width, int height, int gravity) { 65 mWidth = width; 71 int width, int height, int gravity) { 73 return new JellybeanMr1Impl(context, name, width, height, gravity); 75 return new LegacyImpl(context, name, width, height, gravity); 91 public abstract void updateAspectRatio(int width, int height); 112 int width, int height, int gravity) { 113 super(context, name, width, height, gravity); 137 int width = (int)(display.getWidth() * INITIAL_SCALE); local 140 height = mHeight * width / mWidth 335 int width = (int)(mWidth * scale); local [all...] |
/hardware/intel/img/psb_video/src/android/ |
psb_gralloc.cpp | 56 int usage, int left, int top, int width, int height, 70 left, top, width, height, 78 if (width <= 512) 80 else if (width <= 1024) 82 else if (width <= 1280) 84 else if (width <= 2048) 89 LOGD("width is %d, dst_stride is %d, dsth is %d.\n", 90 width, dst_stride, dsth); 95 LOGE("access page failed, width is %d, dst_stride is %d, dsth is %d.\n", 96 width, dst_stride, dsth) [all...] |
/hardware/qcom/display/msm8084/libgralloc/ |
alloc_controller.cpp | 129 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, 132 aligned_w = width; 136 aligned_w = ALIGN(width, 32); 161 // the function below computes aligned width and aligned height 164 LINK_adreno_compute_aligned_width_and_height(width, 171 aligned_w = LINK_adreno_compute_padding(width, bpp, 186 aligned_w = ALIGN(width, 32); 189 aligned_w = ALIGN(width, 16); 192 aligned_w = ALIGN(width * 10 /8, 16); 195 aligned_w = ALIGN(width, 128) [all...] |
/hardware/qcom/display/msm8960/libgralloc/ |
alloc_controller.cpp | 105 int AdrenoMemInfo::getStride(int width, int format) 107 int stride = ALIGN(width, 32); 125 // the function below expects the width to be a multiple of 126 // 32 pixels, hence we pass stride instead of width. 135 stride = ALIGN(width, 32); 138 stride = ALIGN(width, 128); 148 stride = ALIGN(width, 16); 151 stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, width); 154 stride = width; 256 size_t getBufferSizeAndDimensions(int width, int height, int format [all...] |
/hardware/qcom/display/msm8994/libgralloc/ |
gr.h | 51 unsigned int getBufferSizeAndDimensions(int width, int height, int format, 53 unsigned int getBufferSizeAndDimensions(int width, int height, int format, 57 // Attributes include aligned width, aligned height, tileEnabled and size of the buffer 58 void getBufferAttributes(int width, int height, int format, int usage, 69 // Allocate buffer from width, height, format into a private_handle_t 116 * Function to compute aligned width and aligned height based on 117 * width, height, format and usage flags. 119 * @return aligned width, aligned height 121 void getAlignedWidthAndHeight(int width, int height, int format, 125 * Function to compute the adreno aligned width and aligned heigh [all...] |
/hardware/qcom/display/msm8996/libgralloc/ |
gr.h | 51 unsigned int getBufferSizeAndDimensions(int width, int height, int format, 53 unsigned int getBufferSizeAndDimensions(int width, int height, int format, 57 // Attributes include aligned width, aligned height, tileEnabled and size of the buffer 58 void getBufferAttributes(int width, int height, int format, int usage, 69 // Allocate buffer from width, height, format into a private_handle_t 117 * Function to compute aligned width and aligned height based on 118 * width, height, format and usage flags. 120 * @return aligned width, aligned height 122 void getAlignedWidthAndHeight(int width, int height, int format, 126 * Function to compute aligned width and aligned height based o [all...] |
/libcore/ojluni/src/main/java/sun/util/calendar/ |
CalendarUtils.java | 154 * Mimics sprintf(buf, "%0*d", decaimal, width). 156 public static final StringBuilder sprintf0d(StringBuilder sb, int value, int width) { 161 --width; 164 for (int i = 2; i < width; i++) { 167 for (int i = 1; i < width && d < n; i++) { 175 public static final StringBuffer sprintf0d(StringBuffer sb, int value, int width) { 180 --width; 183 for (int i = 2; i < width; i++) { 186 for (int i = 1; i < width && d < n; i++) {
|
/packages/apps/Gallery2/jni/filters/ |
exposure.c | 19 void JNIFUNCF(ImageFilterExposure, nativeApplyFilter, jobject bitmap, jint width, jint height, jfloat bright) 25 int len = width * height * 4;
|
highlight.c | 21 jint width, jint height, jfloatArray luminanceMap){ 26 int len = width * height * 4;
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
AlignFeatures.h | 61 int initialize(int width, int height, bool quarter_res, float thresh_still); 85 int width,height; member in class:Align
|
/packages/services/Car/car-support-lib/src/android/support/car/app/menu/ |
Utils.java | 26 int width = drawable.getIntrinsicWidth(); local 28 Bitmap bitmap = Bitmap.createBitmap(metrics, width, height, Bitmap.Config.ARGB_8888);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/ |
Xprotostr.h | 66 CARD16 width B16, height B16; 73 CARD16 width B16, height B16;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/ |
Xprotostr.h | 66 CARD16 width B16, height B16; 73 CARD16 width B16, height B16;
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-arm/ |
ifunc-10.s | 21 .macro test_relocs,name,width 23 b\width \name 24 beq\width \name 33 .macro test_relocs2,name,type,width 34 test_relocs a\type\name,\width 35 test_relocs t\type\name,\width 36 test_relocs ab\name,\width 37 test_relocs tb\name,\width
|