Home
last modified time | relevance | path

Searched defs:w (Results 1 – 25 of 977) sorted by relevance

12345678910>>...40

/aosp12/hardware/google/gchips/gralloc3/src/
H A Dlocal_mfc_macros.h28 #define SBWC_8B_STRIDE(w) (128 * (((w) + 31) / 32)) argument
29 #define SBWC_10B_STRIDE(w) (160 * (((w) + 31) / 32)) argument
30 #define SBWC_HEADER_STRIDE(w) ((((((w) + 63) / 64) + 15) / 16) * 16) argument
35 #define SBWC_8B_Y_SIZE(w, h) ((SBWC_8B_STRIDE(w) * ((__ALIGN_UP((h), 16) + 3) / 4)) + 64) argument
37 #define SBWC_8B_CBCR_SIZE(w, h) ((SBWC_8B_STRIDE(w) * (((__ALIGN_UP((h), 16) / 2) + 3) / 4)) + 6… argument
40 #define SBWC_10B_Y_SIZE(w, h) ((SBWC_10B_STRIDE(w) * ((__ALIGN_UP((h), 16) + 3) / 4)) + 64) argument
46 #define SBWCL_8B_STRIDE(w, r) (((128 * (r)) / 100) * (((w) + 31) / 32)) argument
47 #define SBWCL_10B_STRIDE(w, r) (((160 * (r)) / 100) * (((w) + 31) / 32)) argument
49 #define SBWCL_8B_Y_SIZE(w, h, r) ((SBWCL_8B_STRIDE(w, r) * ((__ALIGN_UP((h), 8) + 3) / 4)) + 64) argument
55 #define SBWCL_8B_CBCR_BASE(base, w, h, r) ((base) + SBWCL_8B_Y_SIZE(w, h, r)) argument
[all …]
H A Dgralloc_helper.h65 #define PLANE_SIZE(w, h, ext_size) ((w) * (h) + ext_size) argument
67 #define P010_PLANE_SIZE(w, h, ext_size) ((((w) * 2) * (h)) + ext_size) argument
70 #define NV12N_S8B_LUMA_SIZE(w, h, ext_size) PLANE_SIZE(w, h, ext_size) argument
71 #define NV12N_S8B_CHROMA_SIZE(w, h, ext_size) (GRALLOC_ALIGN(((w) * (h)) + ext_size… argument
72 #define NV12N_S2B_SIZE(w, h) ((GRALLOC_ALIGN((w) / 4, 16) * (h)) +… argument
73 #define NV12M_S8B_SIZE(w, h, ext_size) PLANE_SIZE(w, h, ext_size) argument
76 #define NV12M_S2B_LUMA_SIZE(w, h, ext_size) ((GRALLOC_ALIGN((w) / 4, 16) * (GRALL… argument
77 #define NV12M_S2B_CHROMA_SIZE(w, h, ext_size) ((GRALLOC_ALIGN((w) / 4, 16) * (GRALL… argument
79 #define NV12M_S2B_LUMA_SIZE(w, h, ext_size) ((GRALLOC_ALIGN((w) / 4, 16) * (h)) +… argument
80 #define NV12M_S2B_CHROMA_SIZE(w, h, ext_size) ((GRALLOC_ALIGN((w) / 4, 16) * (h / 2… argument
/aosp12/hardware/google/gchips/gralloc4/src/core/
H A Dmfc_macros_local.h30 #define SBWC_8B_STRIDE(w) (128 * (((w) + 31) / 32)) argument
31 #define SBWC_10B_STRIDE(w) (160 * (((w) + 31) / 32)) argument
32 #define SBWC_HEADER_STRIDE(w) ((((((w) + 63) / 64) + 15) / 16) * 16) argument
37 #define SBWC_8B_Y_SIZE(w, h) ((SBWC_8B_STRIDE(w) * ((__ALIGN_UP((h), 16) + 3) / 4)) + 64) argument
39 #define SBWC_8B_CBCR_SIZE(w, h) ((SBWC_8B_STRIDE(w) * (((__ALIGN_UP((h), 16) / 2) + 3) / 4)) + 6… argument
42 #define SBWC_10B_Y_SIZE(w, h) ((SBWC_10B_STRIDE(w) * ((__ALIGN_UP((h), 16) + 3) / 4)) + 64) argument
48 #define SBWCL_8B_STRIDE(w, r) (((128 * (r)) / 100) * (((w) + 31) / 32)) argument
49 #define SBWCL_10B_STRIDE(w, r) (((160 * (r)) / 100) * (((w) + 31) / 32)) argument
51 #define SBWCL_8B_Y_SIZE(w, h, r) ((SBWCL_8B_STRIDE(w, r) * ((__ALIGN_UP((h), 8) + 3) / 4)) + 64) argument
57 #define SBWCL_8B_CBCR_BASE(base, w, h, r) ((base) + SBWCL_8B_Y_SIZE(w, h, r)) argument
[all …]
H A Dexynos_format_allocation.h25 #define PLANE_SIZE(w, h) ((w) * (h)) argument
26 #define S2B_PLANE_SIZE(w, h) (GRALLOC_ALIGN((w) / 4, 16) * (GRALLOC_ALIGN(h, 16))) argument
34 static std::pair<size_t, size_t> sbwc_sizes(int w, int h) { in sbwc_sizes()
59 int setup_sbwc_420_sp(int w, int h, int fd_count, plane_info_t *plane) in setup_sbwc_420_sp()
86 int setup_sbwc_420_sp_10bit(int w, int h, int fd_count, plane_info_t *plane) in setup_sbwc_420_sp_10bit()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DRefreshRatePolicy.java91 int getPreferredModeId(WindowState w) { in getPreferredModeId()
109 int calculatePriority(WindowState w) { in calculatePriority()
125 float getPreferredRefreshRate(WindowState w) { in getPreferredRefreshRate()
160 float getPreferredMinRefreshRate(WindowState w) { in getPreferredMinRefreshRate()
170 float getPreferredMaxRefreshRate(WindowState w) { in getPreferredMaxRefreshRate()
/aosp12/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
H A Ddb_utilities.cpp23 float** db_SetupImageReferences_f(float *im,int w,int h) in db_SetupImageReferences_f()
36 unsigned char** db_SetupImageReferences_u(unsigned char *im,int w,int h) in db_SetupImageReferences_u()
50 float** db_AllocImage_f(int w,int h,int over_allocation) in db_AllocImage_f()
60 unsigned char** db_AllocImage_u(int w,int h,int over_allocation) in db_AllocImage_u()
89 void db_CopyImage_u(unsigned char **d,const unsigned char * const *s, int w, int h, int over_alloca… in db_CopyImage_u()
102 inline void db_WarpImageLutFast_u(const unsigned char * const * src, unsigned char ** dst, int w, i… in db_WarpImageLutFast_u()
123 …id db_WarpImageLutBilinear_u(const unsigned char * const * src, unsigned char ** dst, int w, int h, in db_WarpImageLutBilinear_u()
143 void db_WarpImageLut_u(const unsigned char * const * src, unsigned char ** dst, int w, int h, in db_WarpImageLut_u()
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DTaskPositionerTests.java303 final int w = mMinVisibleWidth; in testLandscapePreservedWindowResizingDragTopLeft() local
340 final int w = mMinVisibleWidth; in testLandscapePreservedWindowResizingDragLeft() local
382 int w = Math.max(r.right - r.left, Math.round(h * MIN_ASPECT)); in testLandscapePreservedWindowResizingDragTop() local
419 final int w = Math.max(mMinVisibleWidth, Math.round(mMinVisibleHeight / MIN_ASPECT)); in testPortraitPreservedWindowResizingDragTopLeft() local
441 int w = r.right - MOUSE_DELTA_X; in testPortraitPreservedWindowResizingDragLeft() local
495 int w = Math.min(r.width(), Math.round(h / MIN_ASPECT)); in testPortraitPreservedWindowResizingDragTop() local
H A DWindowFrameTests.java80 private void assertFrame(WindowState w, Rect frame) { in assertFrame()
84 private void assertFrame(WindowState w, int left, int top, int right, int bottom) { in assertFrame()
88 private void assertRelFrame(WindowState w, int left, int top, int right, int bottom) { in assertRelFrame()
95 WindowState w = createWindow(); in testLayoutInFullscreenTask() local
184 WindowState w = createWindow(); in testLayoutNonfullscreenTask() local
229 WindowState w = createWindow(); in testLayoutLetterboxedWindow() local
263 WindowState w = createWindow(); in testFreeformContentInsets() local
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DKernelCpuProcStringReaderTest.java106 try (BufferedWriter w = Files.newBufferedWriter(mTestFile.toPath())) { in testReadErrorsLimit()
120 try (BufferedWriter w = Files.newBufferedWriter(mTestFile.toPath())) { in testReadErrorsLimit()
141 try (BufferedWriter w = Files.newBufferedWriter(mTestFile.toPath())) { in testReadLine()
175 try (BufferedWriter w = Files.newBufferedWriter(mTestFile.toPath())) { in testMultipleRead()
192 try (BufferedWriter w = Files.newBufferedWriter(mTestFile.toPath())) { in testReadLineToArray()
230 try (BufferedWriter w = Files.newBufferedWriter(mTestFile.toPath())) { in testReadOverLimit()
248 try (BufferedWriter w = Files.newBufferedWriter(mTestFile.toPath())) { in testConcurrent()
/aosp12/frameworks/base/services/core/java/com/android/server/net/
H A DDelayedDiskWrite.java40 public void write(final String filePath, final Writer w) { in write()
44 public void write(final String filePath, final Writer w, final boolean open) { in write()
66 private void doWrite(String filePath, Writer w, boolean open) { in doWrite()
/aosp12/bionic/libc/upstream-netbsd/common/lib/libc/hash/sha1/
H A Dsha1.c67 #define R0(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk0(i)+0x5A827999+rol(v,5);w=rol(w,30); argument
68 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30); argument
69 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30); argument
70 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30); argument
71 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30); argument
100 #define nR0(v,w,x,y,z,i) R0(*v,*w,*x,*y,*z,i) argument
101 #define nR1(v,w,x,y,z,i) R1(*v,*w,*x,*y,*z,i) argument
102 #define nR2(v,w,x,y,z,i) R2(*v,*w,*x,*y,*z,i) argument
103 #define nR3(v,w,x,y,z,i) R3(*v,*w,*x,*y,*z,i) argument
104 #define nR4(v,w,x,y,z,i) R4(*v,*w,*x,*y,*z,i) argument
/aosp12/frameworks/base/core/jni/
H A Dandroid_backup_BackupDataOutput.cpp40 dtor_native(JNIEnv* env, jobject clazz, jlong w) in dtor_native()
46 writeEntityHeader_native(JNIEnv* env, jobject clazz, jlong w, jstring key, jint dataSize) in writeEntityHeader_native()
63 writeEntityData_native(JNIEnv* env, jobject clazz, jlong w, jbyteArray data, jint size) in writeEntityData_native()
86 setKeyPrefix_native(JNIEnv* env, jobject clazz, jlong w, jstring keyPrefixObj) in setKeyPrefix_native()
/aosp12/packages/services/Mms/src/com/android/mms/service/
H A DLogUtil.java67 public static void w(final String requestId, final String message, final Throwable t) { in w() method in LogUtil
71 public static void w(final String message, final Throwable t) { in w() method in LogUtil
75 public static void w(final String requestId, final String message) { in w() method in LogUtil
79 public static void w(final String message) { in w() method in LogUtil
/aosp12/frameworks/native/libs/math/include/math/
H A Dquat.h66 struct { T x, y, z, w; }; member
106 constexpr TQuaternion(A w) : x(0), y(0), z(0), w(w) { in TQuaternion()
112 …constexpr TQuaternion(A w, B x, C y, D z) : x(static_cast<T>(x)), y(static_cast<T>(y)), z(static_c… in TQuaternion()
116 constexpr TQuaternion(const TVec3<A>& v, B w) : x(v.x), y(v.y), z(v.z), w(w) { } in TQuaternion()
/aosp12/system/bt/test/mock/
H A Dmock_stack_crypto_toolbox.cc60 Octet16 h6(const Octet16& w, std::array<uint8_t, 4> keyid) { in h6()
64 Octet16 h7(const Octet16& salt, const Octet16& w) { in h7()
72 void f5(const uint8_t* w, const Octet16& n1, const Octet16& n2, uint8_t* a1, in f5()
77 Octet16 f6(const Octet16& w, const Octet16& n1, const Octet16& n2, in f6()
/aosp12/hardware/qcom/display/msm8909w_3100/libgralloc1/
H A Dgr_buf_descriptor.h41 BufferDescriptor(int w, int h, int f) in BufferDescriptor()
49 BufferDescriptor(int w, int h, int f, gralloc1_producer_usage_t prod_usage, in BufferDescriptor()
62 void SetDimensions(int w, int h) { in SetDimensions()
/aosp12/hardware/qcom/display/msm8996/libgralloc1/
H A Dgr_buf_descriptor.h40 BufferDescriptor(int w, int h, int f) in BufferDescriptor()
48 BufferDescriptor(int w, int h, int f, gralloc1_producer_usage_t prod_usage, in BufferDescriptor()
61 void SetDimensions(int w, int h) { in SetDimensions()
/aosp12/hardware/qcom/display/msm8998/libgralloc1/
H A Dgr_buf_descriptor.h40 BufferDescriptor(int w, int h, int f) in BufferDescriptor()
48 BufferDescriptor(int w, int h, int f, gralloc1_producer_usage_t prod_usage, in BufferDescriptor()
61 void SetDimensions(int w, int h) { in SetDimensions()
/aosp12/hardware/qcom/display/msm8909/gralloc/
H A Dgr_buf_descriptor.h41 BufferDescriptor(int w, int h, int f) in BufferDescriptor()
49 BufferDescriptor(int w, int h, int f, gralloc1_producer_usage_t prod_usage, in BufferDescriptor()
62 void SetDimensions(int w, int h) { in SetDimensions()
/aosp12/frameworks/rs/cpp/
H A DAllocation.cpp282 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) { in validate2DRange()
292 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom()
312 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom()
321 void Allocation::copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeTo()
341 void Allocation::copy2DStridedFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DStridedFrom()
353 void Allocation::copy2DStridedTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DStridedTo()
365 void Allocation::validate3DRange(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, in validate3DRange()
376 void Allocation::copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, in copy3DRangeFrom()
396 void Allocation::copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, uint32_t … in copy3DRangeFrom()
404 void Allocation::copy3DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, in copy3DRangeTo()
/aosp12/frameworks/layoutlib/bridge/src/android/util/imagepool/
H A DImagePoolImpl.java54 public Image acquire(int w, int h, int type) { in acquire()
58 /* package private */ Image acquire(int w, int h, int type, in acquire()
133 private Image defaultImageImpl(int w, int h, int type, in defaultImageImpl()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DImageFilterContrast.java45 native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, float strength); in nativeApplyFilter()
52 int w = bitmap.getWidth(); in apply() local
H A DImageFilterNegative.java26 native protected void nativeApplyFilter(Bitmap bitmap, int w, int h); in nativeApplyFilter()
35 int w = bitmap.getWidth(); in apply() local
H A DImageFilterShadows.java44 native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, float factor); in nativeApplyFilter()
51 int w = bitmap.getWidth(); in apply() local
H A DImageFilterVibrance.java43 native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, float bright); in nativeApplyFilter()
50 int w = bitmap.getWidth(); in apply() local

12345678910>>...40