/frameworks/av/cmds/screenrecord/ |
H A D | Overlay.cpp | 142 int width = mEglWindow.getWidth(); local 145 glViewport(0, 0, width, height); 163 mTextRenderer.setScreenSize(width, height); 177 mGlConsumer->setDefaultBufferSize(width, height); 218 int width = mEglWindow.getWidth(); local 222 100, 100, width-200, height-200); 225 0, 0, width, height); 232 100, 100, width-200, height-200); 299 int width = window.getWidth(); local 301 glViewport(0, 0, width, heigh 334 int width = window.getWidth(); local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | chvr_filter.cpp | 25 int width, 51 /* Calculate the width and height of the area in blocks (divide by 8) */ 52 pp_w = (width >> 3); 56 w1 = width; /* Offset to next row in pixels */ 57 w2 = width << 1; /* Offset to two rows in pixels */ 60 incr = width - BLKSIZE; /* Offset to next row after processing block */ 458 DeringAdaptiveSmoothMMX(ptr, width, thres, max_diff); 467 AdaptiveSmooth_NoMMX(rec, v0, h0, v0 + 1, h0 + 1, thres, width, max_diff); 546 AdaptiveSmooth_NoMMX(rec, v0, h0, v0 - 3, h0 - 3, thres, width, max_diff); 23 CombinedHorzVertRingFilter( uint8 *rec, int width, int height, int16 *QP_store, int chr, uint8 *pp_mod) argument
|
H A D | get_pred_adv_b_add.cpp | 33 width = width of the VOP in pixels (x axis); full-pel resolution 85 int width, /* i */ 96 offset = width - B_SIZE; /* offset for prev */ 108 prev += width; 185 int width, /* i */ 198 offset = width - B_SIZE; /* offset for prev */ 514 int width, /* i */ 527 offset = width - B_SIZE; /* offset for prev */ 548 word2 = *((uint32*)(prev + width)); 82 GetPredAdvancedBy0x0( uint8 *prev, uint8 *pred_block, int width, int pred_width_rnd ) argument 182 GetPredAdvancedBy0x1( uint8 *prev, uint8 *pred_block, int width, int pred_width_rnd ) argument 511 GetPredAdvancedBy1x0( uint8 *prev, uint8 *pred_block, int width, int pred_width_rnd ) argument 858 GetPredAdvancedBy1x1( uint8 *prev, uint8 *pred_block, int width, int pred_width_rnd ) argument [all...] |
H A D | idct_vca.cpp | 40 void idctrow1(int16 *blk, uint8 *pred, uint8 *dst, int width) argument 49 width -= 4; 50 dst -= width; 71 *((uint32*)(dst += width)) = dst_word; /* save 4 bytes to dst */ 97 void idctrow2(int16 *blk, uint8 *pred, uint8 *dst, int width) argument 105 width -= 4; 106 dst -= width; 139 *((uint32*)(dst += width)) = dst_word; /* save 4 bytes to dst */ 185 void idctrow3(int16 *blk, uint8 *pred, uint8 *dst, int width) argument 193 width 294 idctrow4(int16 *blk, uint8 *pred, uint8 *dst, int width) argument 419 idctrow1_intra(int16 *blk, PIXEL *comp, int width) argument 448 idctrow2_intra(int16 *blk, PIXEL *comp, int width) argument 505 idctrow3_intra(int16 *blk, PIXEL *comp, int width) argument 578 idctrow4_intra(int16 *blk, PIXEL *comp, int width) argument [all...] |
H A D | 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 >> 176 H263_Deblock(uint8 *rec, int width, int height, int16 *QP_store, uint8 *mode, int chr, int annex_T) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | datapart_encode.cpp | 42 Int width = currVop->width; /* has to be Vop, for multiple of 16 */ local 171 offset += (lx << 4) - width; 219 Int width = currVop->width; /* has to be Vop, for multiple of 16 */ local 436 offset += (lx << 4) - width;
|
H A D | dct.cpp | 38 Void BlockDCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) argument 87 cur += width; 267 Void Block4x4DCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) argument 316 cur += width; 473 Void Block2x2DCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) argument 522 cur += width; 652 Void BlockDCT_AANIntra(Short *out, UChar *cur, UChar *dummy2, Int width) argument 685 cur += width; 863 Void Block4x4DCT_AANIntra(Short *out, UChar *cur, UChar *dummy2, Int width) argument 896 cur += width; 1050 Block2x2DCT_AANIntra(Short *out, UChar *cur, UChar *dummy2, Int width) argument 1210 Block1x1DCTwSub(Short *out, UChar *cur, UChar *pred, Int width) argument 1247 Block1x1DCTIntra(Short *out, UChar *cur, UChar *dummy2, Int width) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/test/ |
H A D | m4v_h263_enc_test.cpp | 49 fprintf(stderr, "Usage %s <input yuv> <output file> <mode> <width> " 52 fprintf(stderr, "Max width %d\n", kMaxWidth); 70 // Read height and width. 71 int32_t width; local 73 width = atoi(argv[4]); 75 if (width > kMaxWidth || height > kMaxHeight || width <= 0 || height <= 0) { 76 fprintf(stderr, "Unsupported dimensions %dx%d\n", width, height); 80 if (width % 16 != 0 || height % 16 != 0) { 82 width, heigh [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
H A D | h264bsd_interpolate_chroma_hor.s | 46 width RN 4 label 82 ;// u32 width, : 0xf8 93 LDR width, [sp, #0xf8] ;// width 99 CMP tmp6, width ;// x0+chromaPartWidth+1 > width 115 STMIA sp,{width,height,tmp8,chrPH,tmp2} 122 STMIA sp,{width,height,tmp8,chrPH,tmp2} 124 MLA ref, height, width, ref ;// ref += width * heigh [all...] |
H A D | h264bsd_interpolate_chroma_hor_ver.s | 47 width RN 4 label 83 ;// u32 width, : 0xf8 96 LDR width, [sp, #0xf8] ;// width 102 CMP tmp1, width ;// x0+chromaPartWidth+1 > width 120 STMIA sp,{width,height,tmp1,tmp2,tmp3} 127 STMIA sp,{width,height,tmp1,tmp2,tmp3} 129 MLA ref, height, width, ref ;// ref += width * heigh [all...] |
H A D | h264bsd_interpolate_chroma_ver.s | 45 width RN 4 label 81 ;// u32 width, : 0xf8 92 LDR width, [sp, #0xf8] ;// width 97 CMP tmp1, width ;// x0+chromaPartWidth > width 114 STMIA sp,{width,height,chrPW,tmp1,tmp2} 121 STMIA sp,{width,height,chrPW,tmp1,tmp2} 123 MLA ref, height, width, ref ;// ref += width * heigh [all...] |
H A D | h264bsd_interpolate_hor_ver_quarter.s | 70 width RN 12 label 101 LDR width, [sp,#0x218] ;// width 104 CMP tmpa, width 105 BHI do_fill ;// (x0+partW)>width 124 LDR width, [sp,#0x218] ;// width 127 STR width, [sp,#0] ;// sp+0 = width 135 STR tmpa, [sp,#0x218] ;// width [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/ |
H A D | h264bsdWriteMacroblock.s | 27 width RN 2 label 93 LDR width, [image, #4] 101 LSL width, width, #4 103 LSR cwidth, width, #1 104 VST1 {qRow0}, [luma@128], width 106 VST1 {qRow1}, [luma@128], width 108 VST1 {qRow2}, [luma@128], width 110 VST1 {qRow3}, [luma@128], width 112 VST1 {qRow4}, [luma@128], width [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/ |
H A D | h264bsdWriteMacroblock.S | 29 #define width r2 define 95 LDR width, [image, #4] 103 LSL width, width, #4 105 LSR cwidth, width, #1 106 VST1.8 {qRow0}, [luma,:128], width 108 VST1.8 {qRow1}, [luma,:128], width 110 VST1.8 {qRow2}, [luma,:128], width 112 VST1.8 {qRow3}, [luma,:128], width 114 VST1.8 {qRow4}, [luma,:128], width [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_conceal.c | 130 u32 width, height; local 142 width = currImage->width; 164 if (col == width) 176 H264SwDecMemset(currImage->data, 128, width*height*384); 178 H264SwDecMemcpy(currImage->data, refData, width*height*384); 191 mb = pStorage->mb + row * width; 198 for (j = col + 1; j < width; j++) 210 for (j = 0; j < width; j++) 213 mb = pStorage->mb + i*width 262 u32 width, height; local [all...] |
H A D | h264bsd_image.c | 86 u32 width; local 97 width = image->width; 110 width *= 4; 121 lum += width-4; 124 width >>= 1; 131 cb += width-2; 140 cr += width-2; 193 ASSERT(mbNum < image->width * image->height); 197 picWidth = image->width; [all...] |
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | VideoFormats.h | 40 size_t width, height, framesPerSecond; member in struct:android::VideoFormats::config_t 91 size_t *width, size_t *height, size_t *framesPerSecond,
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3OutputStream.h | 43 uint32_t width; member in struct:android::camera3::StreamInfo 61 width(w), 83 uint32_t width, uint32_t height, int format, 94 uint32_t width, uint32_t height, size_t maxSize, int format, 103 Camera3OutputStream(int id, uint32_t width, uint32_t height, int format, 177 uint32_t width, uint32_t height, int format,
|
H A D | Camera3SharedOutputStream.cpp | 25 uint32_t width, uint32_t height, int format, 29 Camera3OutputStream(id, CAMERA3_STREAM_OUTPUT, width, height, 23 Camera3SharedOutputStream(int id, const std::vector<sp<Surface>>& surfaces, uint32_t width, uint32_t height, int format, uint32_t consumerUsage, android_dataspace dataSpace, camera3_stream_rotation_t rotation, nsecs_t timestampOffset, int setId) argument
|
/frameworks/base/apct-tests/perftests/core/src/android/view/ |
H A D | ViewShowHidePerfTest.java | 139 void run(BenchmarkState state, int width, int height, ViewGroup parent, View child); argument 149 final int width = 1000; 151 layout(width, height, parent); 153 callback.run(state, width, height, parent, mChild); 162 private void layout(int width, int height, View view) { argument 164 MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), 166 view.layout(0, 0, height, width); 171 testParentWithChild((state, width, height, parent, child) -> { 176 layout(width, height, child); 187 testParentWithChild((state, width, heigh [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | Gesture.java | 142 public Path toPath(int width, int height, int edge, int numSample) { argument 143 return toPath(null, width, height, edge, numSample); 146 public Path toPath(Path path, int width, int height, int edge, int numSample) { argument 153 path.addPath(strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample)); 178 * @param width width of the target bitmap 185 public Bitmap toBitmap(int width, int height, int edge, int numSample, int color) { argument 186 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 204 Path path = strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample); 214 * @param width 220 toBitmap(int width, int height, int inset, int color) argument [all...] |
H A D | GestureStroke.java | 154 * @param width the width of the bounding box of the target path 160 public Path toPath(float width, float height, int numSample) { argument 166 float sx = width / rect.width();
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | MeteringRectangle.java | 29 * An immutable class to represent a rectangle {@code (x, y, width, height)} with an additional 38 * {@code (android.sensor.info.activeArraySize.width - 1, 85 * @param width width >= 0 91 public MeteringRectangle(int x, int y, int width, int height, int meteringWeight) { argument 94 mWidth = checkArgumentNonnegative(width, "width must be nonnegative"); 106 * @param dimensions a non-{@code null} {@link android.util.Size Size} with width, height >= 0 118 mWidth = checkArgumentNonnegative(dimensions.getWidth(), "width must be nonnegative"); 139 mWidth = checkArgumentNonnegative(rect.width(), "rec [all...] |
/frameworks/base/core/java/android/text/ |
H A D | MeasuredText.java | 179 float width = 0; 181 width = paint.getTextRunAdvances(mChars, p, len, p, len, isRtl, widths, p); 186 width = mBuilder.addStyleRun(paint, p, p + len, isRtl); 188 return width; 264 int breakText(int limit, boolean forwards, float width) { argument 269 width -= w[i]; 270 if (width < 0.0f) break; 278 width -= w[i]; 279 if (width < 0.0f) break; 290 float width [all...] |
H A D | PackedIntVector.java | 43 * Creates a new PackedIntVector with the specified width and 46 * @param columns the width of the PackedIntVector. 69 * (column < 0 || column >= width()). 100 * (column < 0 || column >= width()). 151 * is out of range (column < 0 || column >= width()). 155 (column >= width())) { 178 * values array is too small (values.length < width()). 185 if ((values != null) && (values.length < width())) { 245 * Returns the width of the PackedIntVector. This number is set 250 public int width() { method in class:PackedIntVector [all...] |