/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_format_tests.h | 43 * A (packed, unpacked) color pair. 55 uint8_t packed[UTIL_FORMAT_MAX_PACKED_BYTES]; member in struct:util_format_test_case
|
H A D | u_pack_color.h | 30 * Functions to produce packed colors/Z from floats. 161 * Unpack RGBA from a packed pixel, returning values as ubytes in [0,255]. 477 uint32_t packed = util_pack_mask_z(format, z); local 481 packed |= (uint32_t)s << 24; 484 packed |= s; 487 packed |= s; 493 return packed; 500 uint64_t packed; local 504 packed = util_pack64_mask_z(format, z); 505 packed | 583 uint32_t packed = util_pack_z(format, z); local 606 uint64_t packed; local [all...] |
H A D | u_tile.c | 462 void *packed; local 468 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); 469 if (!packed) { 477 pipe_get_tile_raw(pipe, pt, x, y, w, h, packed, 0); 479 pipe_tile_raw_to_rgba(format, packed, w, h, p, dst_stride); 481 FREE(packed); 503 void *packed; local 508 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); 510 if (!packed) 515 /*z16_put_tile_rgba((ushort *) packed, 554 void *packed; local 582 void *packed; local 877 void *packed; local 908 void *packed; local [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_format_tests.h | 43 * A (packed, unpacked) color pair. 55 uint8_t packed[UTIL_FORMAT_MAX_PACKED_BYTES]; member in struct:util_format_test_case
|
H A D | u_pack_color.h | 30 * Functions to produce packed colors/Z from floats. 161 * Unpack RGBA from a packed pixel, returning values as ubytes in [0,255]. 477 uint32_t packed = util_pack_mask_z(format, z); local 481 packed |= (uint32_t)s << 24; 484 packed |= s; 487 packed |= s; 493 return packed; 500 uint64_t packed; local 504 packed = util_pack64_mask_z(format, z); 505 packed | 583 uint32_t packed = util_pack_z(format, z); local 606 uint64_t packed; local [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkFloatBits.cpp | 27 static inline int unpack_exp(uint32_t packed) { argument 28 return (packed << 1 >> 24); 33 static inline int unpack_matissa(uint32_t packed) { 35 return (packed & ~0xFF000000) | MATISSA_MAGIC_BIG; 40 static inline int unpack_matissa_dirty(uint32_t packed) { argument 41 return packed & ~0xFF000000; 45 int32_t SkFloatBits_toIntCast(int32_t packed) { argument 46 int exp = unpack_exp(packed) - EXP_BIAS; 47 int value = unpack_matissa_dirty(packed) | MATISSA_MAGIC_BIG; 62 return SkApplySign(value, SkExtractSign(packed)); 66 SkFloatBits_toIntFloor(int32_t packed) argument 96 SkFloatBits_toIntRound(int32_t packed) argument 126 SkFloatBits_toIntCeil(int32_t packed) argument [all...] |
H A D | SkFloat.cpp | 15 static int get_unsigned_exp(uint32_t packed) argument 17 return (packed << 1 >> 24); 20 static unsigned get_unsigned_value(uint32_t packed) argument 22 return (packed << 9 >> 9) | (1 << 23); 25 static int get_signed_value(int32_t packed) argument 27 return SkApplySign(get_unsigned_value(packed), SkExtractSign(packed)); 32 int SkFloat::GetShift(int32_t packed, int shift) argument 34 if (packed == 0) 37 int exp = get_unsigned_exp(packed) 96 int32_t packed = sign << 31; // set the sign-bit local 116 Neg(int32_t packed) argument 184 MulInt(int32_t packed, int n) argument 205 DivInt(int32_t packed, int n) argument 210 Invert(int32_t packed) argument 215 Sqrt(int32_t packed) argument 237 CubeRoot(int32_t packed) argument [all...] |
H A D | SkFloat.h | 93 static int GetShift(int32_t packed, int shift); 96 static int32_t Abs(int32_t packed) { return (uint32_t)(packed << 1) >> 1; } argument
|
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrTextStrike_impl.h | 96 GrGlyph* GrTextStrike::getGlyph(GrGlyph::PackedID packed, argument 98 GrGlyph* glyph = fCache.find(packed); 100 glyph = this->generateGlyph(packed, scaler);
|
H A D | GrTextContext.cpp | 119 void GrTextContext::drawPackedGlyph(GrGlyph::PackedID packed, argument 129 GrGlyph* glyph = fStrike->getGlyph(packed, scaler);
|
H A D | GrTextStrike.cpp | 204 GrGlyph* GrTextStrike::generateGlyph(GrGlyph::PackedID packed, argument 207 if (!scaler->getPackedGlyphBounds(packed, &bounds)) { 212 glyph->init(packed, bounds); 213 fCache.insert(packed, glyph);
|
H A D | SkGrFontScaler.cpp | 103 bool SkGrFontScaler::getPackedGlyphBounds(GrGlyph::PackedID packed, argument 105 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), 106 GrGlyph::UnpackFixedX(packed), 107 GrGlyph::UnpackFixedY(packed)); 139 bool SkGrFontScaler::getPackedGlyphImage(GrGlyph::PackedID packed, argument 142 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), 143 GrGlyph::UnpackFixedX(packed), 144 GrGlyph::UnpackFixedY(packed));
|
/external/clang/test/SemaCXX/ |
H A D | cxx11-gnu-attrs.cpp | 54 struct [[gnu::packed]] packed { char c; int n; }; struct 55 static_assert(sizeof(packed) == sizeof(char) + sizeof(int), "not packed");
|
/external/skia/src/core/ |
H A D | SkFloatBits.cpp | 27 static inline int unpack_exp(uint32_t packed) { argument 28 return (packed << 1 >> 24); 33 static inline int unpack_matissa(uint32_t packed) { 35 return (packed & ~0xFF000000) | MATISSA_MAGIC_BIG; 40 static inline int unpack_matissa_dirty(uint32_t packed) { argument 41 return packed & ~0xFF000000; 45 int32_t SkFloatBits_toIntCast(int32_t packed) { argument 46 int exp = unpack_exp(packed) - EXP_BIAS; 47 int value = unpack_matissa_dirty(packed) | MATISSA_MAGIC_BIG; 62 return SkApplySign(value, SkExtractSign(packed)); 66 SkFloatBits_toIntFloor(int32_t packed) argument 96 SkFloatBits_toIntRound(int32_t packed) argument 126 SkFloatBits_toIntCeil(int32_t packed) argument [all...] |
/external/skia/src/gpu/ |
H A D | GrTextStrike_impl.h | 96 GrGlyph* GrTextStrike::getGlyph(GrGlyph::PackedID packed, argument 98 GrGlyph* glyph = fCache.find(packed); 100 glyph = this->generateGlyph(packed, scaler);
|
H A D | GrTextContext.cpp | 119 void GrTextContext::drawPackedGlyph(GrGlyph::PackedID packed, argument 129 GrGlyph* glyph = fStrike->getGlyph(packed, scaler);
|
H A D | GrTextStrike.cpp | 204 GrGlyph* GrTextStrike::generateGlyph(GrGlyph::PackedID packed, argument 207 if (!scaler->getPackedGlyphBounds(packed, &bounds)) { 212 glyph->init(packed, bounds); 213 fCache.insert(packed, glyph);
|
/external/chromium_org/third_party/skia/include/gpu/ |
H A D | GrGlyph.h | 31 void init(GrGlyph::PackedID packed, const SkIRect& bounds) { argument 34 fPackedID = packed; 64 static inline GrFixed UnpackFixedX(PackedID packed) { argument 65 return ((packed >> 18) & 3) << 14; 68 static inline GrFixed UnpackFixedY(PackedID packed) { argument 69 return ((packed >> 16) & 3) << 14; 72 static inline uint16_t UnpackID(PackedID packed) { argument 73 return (uint16_t)packed;
|
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
H A D | SwitchData.java | 29 * in either a "packed" or "sparse" form. 47 /** whether the output table will be packed (vs. sparse) */ 48 private final boolean packed; field in class:SwitchData 90 this.packed = shouldPack(cases); 96 return packed ? (int) packedCodeSize(cases) : 107 if (packed) { 153 * Returns whether or not this instance's data will be output as packed. 155 * @return {@code true} iff the data is to be packed 158 return packed; 184 sb.append(packed [all...] |
/external/skia/include/gpu/ |
H A D | GrGlyph.h | 31 void init(GrGlyph::PackedID packed, const SkIRect& bounds) { argument 34 fPackedID = packed; 64 static inline GrFixed UnpackFixedX(PackedID packed) { argument 65 return ((packed >> 18) & 3) << 14; 68 static inline GrFixed UnpackFixedY(PackedID packed) { argument 69 return ((packed >> 16) & 3) << 14; 72 static inline uint16_t UnpackID(PackedID packed) { argument 73 return (uint16_t)packed;
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_format_aos.c | 143 * @param desc the pixel format for the packed pixel value 144 * @param packed integer pixel in a format such as PIPE_FORMAT_B8G8R8A8_UNORM 151 LLVMValueRef packed) 172 assert (LLVMTypeOf(packed) == LLVMInt32TypeInContext(gallivm->context)); 174 /* Broadcast the packed value to all four channels 175 * before: packed = BGRA 176 * after: packed = {BGRA, BGRA, BGRA, BGRA} 178 packed = LLVMBuildInsertElement(builder, 180 packed, 183 packed 149 lp_build_unpack_arith_rgba_aos(struct gallivm_state *gallivm, const struct util_format_description *desc, LLVMValueRef packed) argument 269 LLVMValueRef packed = NULL; local 398 LLVMValueRef packed; local 442 LLVMValueRef packed; local [all...] |
H A D | lp_bld_format_soa.c | 79 * It takes a vector of packed pixels: 81 * packed = {P0, P1, P2, P3, ..., Pn} 90 * It requires that a packed pixel fits into an element of the output 94 * \param format_desc the format of the 'packed' incoming pixel vector 96 * \param packed the incoming vector of packed pixels 103 LLVMValueRef packed, 129 input = packed; 260 LLVMValueRef packed, 267 packed 100 lp_build_unpack_rgba_soa(struct gallivm_state *gallivm, const struct util_format_description *format_desc, struct lp_type type, LLVMValueRef packed, LLVMValueRef rgba_out[4]) argument 258 lp_build_rgba8_to_f32_soa(struct gallivm_state *gallivm, struct lp_type dst_type, LLVMValueRef packed, LLVMValueRef *rgba) argument 335 LLVMValueRef packed; local [all...] |
H A D | lp_bld_format_yuv.c | 50 * Extract Y, U, V channels from packed UYVY. 51 * @param packed is a <n x i32> vector with the packed UYVY blocks 57 LLVMValueRef packed, 71 assert(lp_check_value(type, packed)); 93 tmp = LLVMBuildLShr(builder, packed, lp_build_const_int_vec(gallivm, type, 8), ""); 103 *y = LLVMBuildLShr(builder, packed, shift, ""); 106 *u = packed; 107 *v = LLVMBuildLShr(builder, packed, lp_build_const_int_vec(gallivm, type, 16), ""); 118 * Extract Y, U, V channels from packed YUY 55 uyvy_to_yuv_soa(struct gallivm_state *gallivm, unsigned n, LLVMValueRef packed, LLVMValueRef i, LLVMValueRef *y, LLVMValueRef *u, LLVMValueRef *v) argument 123 yuyv_to_yuv_soa(struct gallivm_state *gallivm, unsigned n, LLVMValueRef packed, LLVMValueRef i, LLVMValueRef *y, LLVMValueRef *u, LLVMValueRef *v) argument 326 uyvy_to_rgba_aos(struct gallivm_state *gallivm, unsigned n, LLVMValueRef packed, LLVMValueRef i) argument 347 yuyv_to_rgba_aos(struct gallivm_state *gallivm, unsigned n, LLVMValueRef packed, LLVMValueRef i) argument 368 rgbg_to_rgba_aos(struct gallivm_state *gallivm, unsigned n, LLVMValueRef packed, LLVMValueRef i) argument 387 grgb_to_rgba_aos(struct gallivm_state *gallivm, unsigned n, LLVMValueRef packed, LLVMValueRef i) argument 405 grbr_to_rgba_aos(struct gallivm_state *gallivm, unsigned n, LLVMValueRef packed, LLVMValueRef i) argument 424 rgrb_to_rgba_aos(struct gallivm_state *gallivm, unsigned n, LLVMValueRef packed, LLVMValueRef i) argument 453 LLVMValueRef packed; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/ |
H A D | u_format_test.c | 58 const uint8_t *packed, 66 printf("%s%02x", sep, packed[i]); 214 format_desc->fetch_rgba_float(unpacked[i][j], test->packed, j, i); 241 test->packed, 0, 269 uint8_t packed[UTIL_FORMAT_MAX_PACKED_BYTES]; local 275 * Skip S3TC as packed representation is not canonical. 282 memset(packed, 0, sizeof packed); 291 format_desc->pack_rgba_float(packed, 0, 297 if ((test->packed[ 56 print_packed(const struct util_format_description *format_desc, const char *prefix, const uint8_t *packed, const char *suffix) argument 382 uint8_t packed[UTIL_FORMAT_MAX_PACKED_BYTES]; local 469 uint8_t packed[UTIL_FORMAT_MAX_PACKED_BYTES]; local 543 uint8_t packed[UTIL_FORMAT_MAX_PACKED_BYTES]; local 618 uint8_t packed[UTIL_FORMAT_MAX_PACKED_BYTES]; local [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_format_aos.c | 143 * @param desc the pixel format for the packed pixel value 144 * @param packed integer pixel in a format such as PIPE_FORMAT_B8G8R8A8_UNORM 151 LLVMValueRef packed) 172 assert (LLVMTypeOf(packed) == LLVMInt32TypeInContext(gallivm->context)); 174 /* Broadcast the packed value to all four channels 175 * before: packed = BGRA 176 * after: packed = {BGRA, BGRA, BGRA, BGRA} 178 packed = LLVMBuildInsertElement(builder, 180 packed, 183 packed 149 lp_build_unpack_arith_rgba_aos(struct gallivm_state *gallivm, const struct util_format_description *desc, LLVMValueRef packed) argument 269 LLVMValueRef packed = NULL; local 398 LLVMValueRef packed; local 442 LLVMValueRef packed; local [all...] |