Home
last modified time | relevance | path

Searched refs:srcType (Results 1 – 25 of 48) sorted by relevance

12

/external/mesa3d/src/mesa/main/
Dtexstore.c105 GLenum srcFormat, GLenum srcType, in _mesa_memcpy_texture() argument
110 srcFormat, srcType); in _mesa_memcpy_texture()
112 srcWidth, srcHeight, srcFormat, srcType); in _mesa_memcpy_texture()
114 srcPacking, srcAddr, srcWidth, srcHeight, srcFormat, srcType, 0, 0, 0); in _mesa_memcpy_texture()
170 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_z32()
173 depthScale, srcType, src, srcPacking); in _mesa_texstore_z32()
200 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_x8_z24()
203 depthScale, srcType, src, srcPacking); in _mesa_texstore_x8_z24()
230 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_z24_x8()
235 depthScale, srcType, src, srcPacking); in _mesa_texstore_z24_x8()
[all …]
Dtexcompress_s3tc.c61 srcType != GL_UNSIGNED_BYTE || in _mesa_texstore_rgb_dxt1()
63 …_mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType) != srccomps * srcWidth * sizeof(G… in _mesa_texstore_rgb_dxt1()
78 srcFormat, srcType, srcAddr, in _mesa_texstore_rgb_dxt1()
86 srcFormat, srcType, 0, 0); in _mesa_texstore_rgb_dxt1()
115 srcType != GL_UNSIGNED_BYTE || in _mesa_texstore_rgba_dxt1()
117 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType) != rgbaRowStride || in _mesa_texstore_rgba_dxt1()
135 srcFormat, srcType, srcAddr, in _mesa_texstore_rgba_dxt1()
142 srcFormat, srcType, 0, 0); in _mesa_texstore_rgba_dxt1()
170 srcType != GL_UNSIGNED_BYTE || in _mesa_texstore_rgba_dxt3()
172 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType) != rgbaRowStride || in _mesa_texstore_rgba_dxt3()
[all …]
Dtexcompress_bptc.c133 srcType != GL_UNSIGNED_BYTE || in _mesa_texstore_bptc_rgba_unorm()
152 srcFormat, srcType, srcAddr, in _mesa_texstore_bptc_rgba_unorm()
159 srcFormat, srcType, 0, 0); in _mesa_texstore_bptc_rgba_unorm()
161 srcFormat, srcType); in _mesa_texstore_bptc_rgba_unorm()
182 srcType != GL_FLOAT || in texstore_bptc_rgb_float()
197 srcFormat, srcType, srcAddr, in texstore_bptc_rgb_float()
204 srcFormat, srcType, 0, 0); in texstore_bptc_rgb_float()
206 srcFormat, srcType); in texstore_bptc_rgb_float()
227 srcFormat, srcType, in _mesa_texstore_bptc_rgb_signed_float()
240 srcFormat, srcType, in _mesa_texstore_bptc_rgb_unsigned_float()
Dpack.c258 GLenum srcFormat, GLenum srcType, const GLvoid *src, in extract_uint_indexes() argument
263 assert(srcType == GL_BITMAP || in extract_uint_indexes()
264 srcType == GL_UNSIGNED_BYTE || in extract_uint_indexes()
265 srcType == GL_BYTE || in extract_uint_indexes()
266 srcType == GL_UNSIGNED_SHORT || in extract_uint_indexes()
267 srcType == GL_SHORT || in extract_uint_indexes()
268 srcType == GL_UNSIGNED_INT || in extract_uint_indexes()
269 srcType == GL_INT || in extract_uint_indexes()
270 srcType == GL_UNSIGNED_INT_24_8_EXT || in extract_uint_indexes()
271 srcType == GL_HALF_FLOAT_ARB || in extract_uint_indexes()
[all …]
Dtexcompress_fxt1.c58 srcType != GL_UNSIGNED_BYTE || in _mesa_texstore_fxt1()
73 srcFormat, srcType, srcAddr, in _mesa_texstore_fxt1()
81 srcFormat, srcType, 0, 0); in _mesa_texstore_fxt1()
84 srcType) / sizeof(uint8_t); in _mesa_texstore_fxt1()
Dpack.h54 GLenum srcType, const GLvoid *source,
67 GLenum srcType, const GLvoid *source,
102 const void *src, GLenum srcFormat, GLenum srcType,
109 const void *src, GLenum srcFormat, GLenum srcType,
Dtexstore.h68 GLenum srcFormat, GLenum srcType, \
83 UNUSED GLenum srcFormat, UNUSED GLenum srcType, \
102 GLenum srcFormat, GLenum srcType,
109 GLenum srcFormat, GLenum srcType,
Dblit.c114 GLenum srcType = _mesa_get_format_datatype(srcFormat); in compatible_color_datatypes() local
117 if (srcType != GL_INT && srcType != GL_UNSIGNED_INT) { in compatible_color_datatypes()
118 assert(srcType == GL_UNSIGNED_NORMALIZED || in compatible_color_datatypes()
119 srcType == GL_SIGNED_NORMALIZED || in compatible_color_datatypes()
120 srcType == GL_FLOAT); in compatible_color_datatypes()
122 srcType = GL_FLOAT; in compatible_color_datatypes()
133 return srcType == dstType; in compatible_color_datatypes()
Dtexcompress_rgtc.c104 srcFormat, srcType, srcAddr, in _mesa_texstore_red_rgtc1()
157 srcFormat, srcType, srcAddr, in _mesa_texstore_signed_red_rgtc1()
216 srcFormat, srcType, srcAddr, in _mesa_texstore_rg_rgtc2()
281 srcFormat, srcType, srcAddr, in _mesa_texstore_signed_rg_rgtc2()
/external/angle/src/libANGLE/renderer/d3d/
DIndexDataManager.cpp90 gl::DrawElementsType srcType, in StreamInIndexBuffer() argument
107 ConvertIndices(srcType, dstType, data, count, output, usePrimitiveRestartFixedIndex); in StreamInIndexBuffer()
136 gl::DrawElementsType srcType, in prepareIndexData() argument
143 GLuint srcTypeBytes = gl::GetDrawElementsTypeSize(srcType); in prepareIndexData()
144 GLuint srcTypeShift = gl::GetDrawElementsTypeShift(srcType); in prepareIndexData()
152 translated->srcIndexData.srcIndexType = srcType; in prepareIndexData()
163 return streamIndexData(context, indices, count, srcType, dstType, in prepareIndexData()
171 bool offsetAligned = IsOffsetAligned(srcType, offset); in prepareIndexData()
174 if (offsetAligned && buffer->supportsDirectBinding() && dstType == srcType) in prepareIndexData()
205 ANGLE_TRY(streamIndexData(context, bufferData + offset, count, srcType, dstType, in prepareIndexData()
[all …]
DIndexDataManager.h73 gl::DrawElementsType srcType,
84 gl::DrawElementsType srcType,
/external/OpenCL-CTS/test_conformance/basic/
Dtest_explicit_s2v.cpp110 …ExplicitType srcType, unsigned int count, ExplicitType destType, unsigned int vecSize, void *input… in test_explicit_s2v_function() argument
128 if (srcType == kDouble || destType == kDouble) { in test_explicit_s2v_function()
136 paramSize = get_explicit_type_size( srcType ); in test_explicit_s2v_function()
182 …convert_explicit_value( (void *)inPtr, (void *)convertedData, srcType, false, kDefaultRoundingType… in test_explicit_s2v_function()
205 …nction_set(cl_device_id deviceID, cl_context context, cl_command_queue queue, ExplicitType srcType, in test_explicit_s2v_function_set() argument
222 if( dstType != srcType ) in test_explicit_s2v_function_set()
224 if( strchr( get_explicit_type_name( (ExplicitType)srcType ), ' ' ) != NULL || in test_explicit_s2v_function_set()
228 …xplicit_s2v_function( deviceID, context, queue, kernel_explicit_s2v_set[ srcType ][ dstType ][ i ], in test_explicit_s2v_function_set()
229srcType, count, (ExplicitType)dstType, sizes[ i ], inputData ) != 0 ) in test_explicit_s2v_function_set()
232 …get_explicit_type_name(srcType), get_explicit_type_name((ExplicitType)dstType), sizes[i], get_expl… in test_explicit_s2v_function_set()
/external/gson/extras/src/main/java/com/google/gson/typeadapters/
DRuntimeTypeAdapterFactory.java263 Class<?> srcType = value.getClass(); in create() local
264 String label = subtypeToLabel.get(srcType); in create()
266 TypeAdapter<R> delegate = (TypeAdapter<R>) subtypeToDelegate.get(srcType); in create()
268 throw new JsonParseException("cannot serialize " + srcType.getName() in create()
281 throw new JsonParseException("cannot serialize " + srcType.getName() in create()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/
DTypeFactory.java1321 protected JavaType _fromAny(ClassStack context, Type srcType, TypeBindings bindings) in _fromAny() argument
1326 if (srcType instanceof Class<?>) { in _fromAny()
1328 resultType = _fromClass(context, (Class<?>) srcType, EMPTY_BINDINGS); in _fromAny()
1331 else if (srcType instanceof ParameterizedType) { in _fromAny()
1332 resultType = _fromParamType(context, (ParameterizedType) srcType, bindings); in _fromAny()
1334 else if (srcType instanceof JavaType) { // [databind#116] in _fromAny()
1336 return (JavaType) srcType; in _fromAny()
1338 else if (srcType instanceof GenericArrayType) { in _fromAny()
1339 resultType = _fromArrayType(context, (GenericArrayType) srcType, bindings); in _fromAny()
1341 else if (srcType instanceof TypeVariable<?>) { in _fromAny()
[all …]
/external/ow2-asm/asm/src/main/java/org/objectweb/asm/
DFrame.java1285 int srcType = sourceType; in merge() local
1290 srcType = NULL; in merge()
1294 dstTypes[dstIndex] = srcType; in merge()
1300 if (srcType == NULL) { in merge()
1303 } else if ((srcType & (DIM_MASK | KIND_MASK)) == (dstType & (DIM_MASK | KIND_MASK))) { in merge()
1309 (srcType & DIM_MASK) in merge()
1311 | symbolTable.addMergedType(srcType & VALUE_MASK, dstType & VALUE_MASK); in merge()
1315 int mergedDim = ELEMENT_OF + (srcType & DIM_MASK); in merge()
1318 } else if ((srcType & DIM_MASK) != 0 || (srcType & KIND_MASK) == REFERENCE_KIND) { in merge()
1323 int srcDim = srcType & DIM_MASK; in merge()
[all …]
/external/pytorch/torch/csrc/
Dcopy_utils.h12 PyTypeObject* srcType; // Python type of src tensor/storage member
27 PyType_IsSubtype(Py_TYPE(src), i.srcType)) { in tryTHPCopy()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonLocation.java178 Class<?> srcType = (srcRef instanceof Class<?>) ? in _appendSourceDesc() local
180 String tn = srcType.getName(); in _appendSourceDesc()
183 tn = srcType.getSimpleName(); in _appendSourceDesc()
/external/gson/gson/src/test/java/com/google/gson/functional/
DRuntimeTypeAdapterFactoryFunctionalTest.java182 Class<?> srcType = value.getClass(); in create() local
183 String label = subtypeToLabel.get(srcType); in create()
185 TypeAdapter<R> delegate = (TypeAdapter<R>) subtypeToDelegate.get(srcType); in create()
187 throw new JsonParseException("cannot serialize " + srcType.getName() in create()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/seq/
DReadValuesTest.java55 Source srcType) throws IOException in _iterator() argument
57 switch (srcType) { in _iterator()
83 private void _testRootBeans(Source srcType) throws Exception in _testRootBeans() argument
88 JSON, srcType); in _testRootBeans()
100 it = _iterator(MAPPER.readerFor(Bean.class), JSON, srcType); in _testRootBeans()
105 it = _iterator(MAPPER.readerFor(Bean.class), "{\"a\":3}{\"a\":3}", srcType); in _testRootBeans()
/external/angle/third_party/glslang/src/glslang/MachineIndependent/
DConstant.cpp498 ConvType srcType = CONV_UINT, dstType = CONV_UINT; in fold() local
508 srcType = CONV_FLOAT; in fold()
512 srcType = CONV_INT; in fold()
516 srcType = CONV_INT; in fold()
520 srcType = CONV_INT; in fold()
524 srcType = CONV_INT; in fold()
528 srcType = CONV_UINT; in fold()
532 srcType = CONV_UINT; in fold()
536 srcType = CONV_UINT; in fold()
540 srcType = CONV_UINT; in fold()
[all …]
/external/deqp-deps/glslang/glslang/MachineIndependent/
DConstant.cpp498 ConvType srcType = CONV_UINT, dstType = CONV_UINT; in fold() local
508 srcType = CONV_FLOAT; in fold()
512 srcType = CONV_INT; in fold()
516 srcType = CONV_INT; in fold()
520 srcType = CONV_INT; in fold()
524 srcType = CONV_INT; in fold()
528 srcType = CONV_UINT; in fold()
532 srcType = CONV_UINT; in fold()
536 srcType = CONV_UINT; in fold()
540 srcType = CONV_UINT; in fold()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DExpressionTranslator.java356 private JavaExpression infix(Type destType, Type srcType, String infix, PExpression leftNode, in infix() argument
358 JavaExpression left = cast(srcType, leftNode); in infix()
359 JavaExpression right = cast(srcType, rightNode); in infix()
363 private JavaExpression prefix(Type destType, Type srcType, String prefix, PExpression node) { in prefix() argument
364 return JavaExpression.prefix(destType, prefix, cast(srcType, node)); in prefix()
/external/angle/src/libANGLE/renderer/metal/
Dmtl_render_utils.h133 gl::DrawElementsType srcType; member
145 gl::DrawElementsType srcType; member
420 gl::DrawElementsType srcType,
426 gl::DrawElementsType srcType,
442 gl::DrawElementsType srcType,
455 gl::DrawElementsType srcType,
/external/javassist/src/main/javassist/compiler/
DCodeGen.java946 private boolean invalidDim(int srcType, int srcDim, String srcClass, in invalidDim() argument
951 if (srcType == NULL) in invalidDim()
956 else if (isCast && srcDim == 0 && srcType == CLASS in invalidDim()
1427 int srcType = exprType; in atCastExpr() local
1432 atNumCastExpr(srcType, exprType); // built-in type in atCastExpr()
1454 int srcType = exprType; in checkCastExpr() local
1456 if (invalidDim(srcType, arrayDim, className, type, dim, name, true) in checkCastExpr()
1457 || srcType == VOID || type == VOID) in checkCastExpr()
1461 if (!isRefType(srcType) && srcDim == 0) in checkCastExpr()
1473 void atNumCastExpr(int srcType, int destType) in atNumCastExpr() argument
[all …]
/external/intel-media-driver/media_driver/agnostic/common/cm/
Dcm_mov_inst.h587 const char *dstType, *srcType; in emit() local
591 srcType = GetTypeStr( GetSrcType() ); in emit()
600 GetSrcRegNum(), srcSubregNum, srcVStride, srcWidth, srcHStride, srcType ); in emit()

12