/external/deqp/framework/common/ |
H A D | tcuTexVerifierUtil.cpp | 61 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces) argument 77 if (x >= ex) faces[numFaces++] = CUBEFACE_POSITIVE_X; 78 if (x <= ex) faces[numFaces++] = CUBEFACE_NEGATIVE_X; 82 if (y >= ey) faces[numFaces++] = CUBEFACE_POSITIVE_Y; 83 if (y <= ey) faces[numFaces++] = CUBEFACE_NEGATIVE_Y; 87 if (z >= ez) faces[numFaces++] = CUBEFACE_POSITIVE_Z; 88 if (z <= ez) faces[numFaces++] = CUBEFACE_NEGATIVE_Z; 92 // One or more components are equal (or within error bounds). Allow all faces where major axis is not zero. 95 faces[numFaces++] = CUBEFACE_NEGATIVE_X; 96 faces[numFace [all...] |
H A D | tcuTexVerifierUtil.hpp | 97 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces);
|
H A D | tcuTexLookupVerifier.cpp | 1443 static bool isSeamlessLinearSampleResultValid (const ConstPixelBufferAccess (&faces)[CUBEFACE_LAST], 1449 const int size = faces[coords.face].getWidth(); 1460 const TextureChannelClass texClass = getTextureChannelClass(faces[coords.face].getFormat().type); 1490 quad.p00 = lookup<float>(faces[c00.face], sampler, c00.s, c00.t, 0); 1491 quad.p10 = lookup<float>(faces[c10.face], sampler, c10.s, c10.t, 0); 1492 quad.p01 = lookup<float>(faces[c01.face], sampler, c01.s, c01.t, 0); 1493 quad.p11 = lookup<float>(faces[c11.face], sampler, c11.s, c11.t, 0); 1687 ConstPixelBufferAccess faces[CUBEFACE_LAST]; local 1688 getCubeLevelFaces(texture, 0, faces); 1690 if (isCubeLevelSampleResultValid(faces, sample 1736 ConstPixelBufferAccess faces[CUBEFACE_LAST]; local 1745 ConstPixelBufferAccess faces[CUBEFACE_LAST]; local 2039 ConstPixelBufferAccess faces[CUBEFACE_LAST]; local 2088 ConstPixelBufferAccess faces[CUBEFACE_LAST]; local 2097 ConstPixelBufferAccess faces[CUBEFACE_LAST]; local 2492 ConstPixelBufferAccess faces[CUBEFACE_LAST]; local [all...] |
/external/libxcam/xcore/base/ |
H A D | xcam_smart_result.h | 51 XCamFaceInfo faces[0]; member in struct:_XCamFDResult
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | radeon_mipmap_tree.h | 48 radeon_mipmap_image faces[6]; member in struct:_radeon_mipmap_level 70 GLuint faces; /** # of faces: 6 for cubemaps, 1 otherwise */ member in struct:_radeon_mipmap_tree
|
H A D | radeon_mipmap_tree.c | 139 lvl->faces[face].offset = *curOffset; 146 lvl->rowstride, lvl->width, height, lvl->faces[face].offset); 156 for(face = 0; face < mt->faces; face++) { 191 mt->faces = _mesa_num_tex_faces(target); 384 return (mt->levels[level].faces[face].offset); 386 return mt->levels[level].faces[0].offset; 410 dest = mt->bo->ptr + dstlvl->faces[face].offset; 428 image->mt->bo->ptr + srclvl->faces[face].offset, 541 const unsigned faces = _mesa_num_tex_faces(texObj->Target); local 545 for (face = 0; face < faces; [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
H A D | radeon_mipmap_tree.h | 48 radeon_mipmap_image faces[6]; member in struct:_radeon_mipmap_level 70 GLuint faces; /** # of faces: 6 for cubemaps, 1 otherwise */ member in struct:_radeon_mipmap_tree
|
H A D | radeon_mipmap_tree.c | 139 lvl->faces[face].offset = *curOffset; 146 lvl->rowstride, lvl->width, height, lvl->faces[face].offset); 156 for(face = 0; face < mt->faces; face++) { 191 mt->faces = _mesa_num_tex_faces(target); 384 return (mt->levels[level].faces[face].offset); 386 return mt->levels[level].faces[0].offset; 410 dest = mt->bo->ptr + dstlvl->faces[face].offset; 428 image->mt->bo->ptr + srclvl->faces[face].offset, 541 const unsigned faces = _mesa_num_tex_faces(texObj->Target); local 545 for (face = 0; face < faces; [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fFboStateQueryTests.cpp | 187 const GLenum faces[] = local 194 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(faces); ++ndx) 195 glTexImage2D(faces[ndx], 0, GL_RGB, 64, 64, 0, GL_RGB, GL_UNSIGNED_BYTE, DE_NULL); 198 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(faces); ++ndx) 200 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, faces[ndx], textureID, 0); 201 checkColorAttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE, faces[ndx]);
|
/external/skia/tests/ |
H A D | FontObjTest.cpp | 45 static const char* const faces[] = { local 80 for (size_t i = 0; i < SK_ARRAY_COUNT(faces); i++) { 81 paint.setTypeface(SkTypeface::MakeFromName(faces[i], SkFontStyle()));
|
H A D | FontHostTest.cpp | 245 static const char* const faces[] = { local 280 for (size_t i = 0; i < SK_ARRAY_COUNT(faces); i++) { 281 paint.setTypeface(SkTypeface::MakeFromName(faces[i], SkFontStyle())); 302 // faces[i], SkScalarToFloat(width1), SkScalarToFloat(width2));
|
/external/skqp/tests/ |
H A D | FontObjTest.cpp | 45 static const char* const faces[] = { local 80 for (size_t i = 0; i < SK_ARRAY_COUNT(faces); i++) { 81 paint.setTypeface(SkTypeface::MakeFromName(faces[i], SkFontStyle()));
|
H A D | FontHostTest.cpp | 245 static const char* const faces[] = { local 280 for (size_t i = 0; i < SK_ARRAY_COUNT(faces); i++) { 281 paint.setTypeface(SkTypeface::MakeFromName(faces[i], SkFontStyle())); 302 // faces[i], SkScalarToFloat(width1), SkScalarToFloat(width2));
|
/external/vulkan-validation-layers/demos/smoke/ |
H A D | Meshes.cpp | 90 void build(const std::vector<std::array<float, 6>> &vertices, const std::vector<std::array<int, 3>> &faces) { argument 98 faces_.reserve(faces.size()); 99 for (const auto &f : faces) faces_.emplace_back(Face{f[0], f[1], f[2]}); 150 const std::vector<std::array<int, 3>> faces = { local 154 mesh.build(vertices, faces); 248 std::vector<Mesh::Face> faces; local 249 faces.reserve(final_face_count); 266 faces.emplace_back(Mesh::Face{v0, v01, v20}); 267 faces.emplace_back(Mesh::Face{v1, v12, v01}); 268 faces [all...] |
/external/freetype/src/cache/ |
H A D | ftcmanag.h | 104 FTC_MruListRec faces; member in struct:FTC_ManagerRec_
|
H A D | ftcmanag.c | 329 FTC_MRULIST_LOOKUP_CMP( &manager->faces, face_id, ftc_face_node_compare, 333 error = FTC_MruList_Lookup( &manager->faces, face_id, &mrunode ); 395 FTC_MruList_Init( &manager->faces, 443 /* discard faces and sizes */ 445 FTC_MruList_Done( &manager->faces ); 463 FTC_MruList_Reset( &manager->faces ); 682 FTC_MruList_RemoveSelection( &manager->faces,
|
/external/libxcam/modules/ocl/ |
H A D | cl_wire_frame_handler.cpp | 65 _wire_frames [i].pos_x = (uint32_t)(config->faces [i].pos_x / scaler_factor / 2) * 2; 66 _wire_frames [i].pos_y = (uint32_t)(config->faces [i].pos_y / scaler_factor / 2) * 2; 67 _wire_frames [i].width = (uint32_t)(config->faces [i].width / scaler_factor / 2) * 2; 68 _wire_frames [i].height = (uint32_t)(config->faces [i].height / scaler_factor / 2) * 2;
|
/external/mesa3d/src/mesa/swrast/ |
H A D | s_texture.c | 265 const GLuint faces = _mesa_num_tex_faces(texObj->Target); local 268 for (face = 0; face < faces; face++) { 325 const GLuint faces = _mesa_num_tex_faces(texObj->Target); local 328 for (face = 0; face < faces; face++) {
|
/external/deqp/external/openglcts/modules/gles31/ |
H A D | es31cTextureGatherTests.cpp | 586 const GLenum faces[6] = { GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, local 596 glTexImage2D(faces[j], i, internal_format, size, size, 0, GL_RGBA_INTEGER, tex_type, 0); 602 glTexSubImage2D(faces[j], 0, 0, 0, csize, csize, GL_RGBA_INTEGER, tex_type, &pixels[0]); 609 glTexSubImage2D(faces[j], 0, 22, 25, 2, 2, GL_RGBA_INTEGER, tex_type, data); 610 glTexSubImage2D(faces[j], 0, 16, 10, 1, 1, GL_RGBA_INTEGER, tex_type, data + 0); 611 glTexSubImage2D(faces[j], 0, 11, 2, 1, 1, GL_RGBA_INTEGER, tex_type, data + 1); 612 glTexSubImage2D(faces[j], 0, 24, 13, 1, 1, GL_RGBA_INTEGER, tex_type, data + 2); 613 glTexSubImage2D(faces[j], 0, 9, 14, 1, 1, GL_RGBA_INTEGER, tex_type, data + 3); 630 const GLenum faces[6] = { GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, local 641 glTexImage2D(faces[ [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_tex_sample.h | 75 const uint *faces; member in struct:filter_args
|
H A D | sp_tex_sample.c | 915 * per-pixel faces we can actually have multiple corner texels per pixel, 1974 args.face_id = filt_args->faces[j]; 2058 args.face_id = filt_args->faces[j]; 2119 args.face_id = filt_args->faces[j]; 2164 args.face_id = filt_args->faces[j]; 2211 const uint faces[TGSI_QUAD_SIZE], 2292 args.face_id = faces[j]; 2502 args.face_id = filt_args->faces[j]; 2516 s, t, p, filt_args->faces, filt_args->offset, 2570 args.face_id = filt_args->faces[ 2204 img_filter_2d_ewa(const struct sp_sampler_view *sp_sview, const struct sp_sampler *sp_samp, img_filter_func min_filter, img_filter_func mag_filter, const float s[TGSI_QUAD_SIZE], const float t[TGSI_QUAD_SIZE], const float p[TGSI_QUAD_SIZE], const uint faces[TGSI_QUAD_SIZE], const int8_t *offset, unsigned level, const float dudx, const float dvdx, const float dudy, const float dvdy, float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) argument 3101 convert_cube(const struct sp_sampler_view *sp_sview, const struct sp_sampler *sp_samp, const float s[TGSI_QUAD_SIZE], const float t[TGSI_QUAD_SIZE], const float p[TGSI_QUAD_SIZE], const float c0[TGSI_QUAD_SIZE], float ssss[TGSI_QUAD_SIZE], float tttt[TGSI_QUAD_SIZE], float pppp[TGSI_QUAD_SIZE], uint faces[TGSI_QUAD_SIZE]) argument 3604 uint faces[TGSI_QUAD_SIZE]; local [all...] |
/external/opencv/ |
H A D | cvjni.cpp | 455 // Identify all of the faces in the source image and return an array
467 LOGE("Error find faces was not initialized.");
566 LOGE("Error find faces was not initialized.");
629 bool highlightFaces(IplImage *sourceImage, CvSeq *faces, double scale = 1.0) {
argument 630 if (faces == 0 || faces->total <= 0) {
631 LOGV("No faces were highlighted!");
637 for (int i = 0; i < faces->total; i++) {
638 face = (CvRect*)cvGetSeqElem(faces, i);
646 // Highlight the faces tha [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_cmd.c | 69 id->face = s->real_layer; /* faces have the same order */ 221 * the FIFO, and returns pointers to the command's faces and 225 * The faces and mipSizes arrays are initialized to zero. 234 * - Surface may have multiple faces (for cube maps) 262 * Returns pointers to arrays allocated in the FIFO for 'faces' 276 SVGA3dSurfaceFace **faces, // OUT 293 *faces = &cmd->face[0]; 296 memset(*faces, 0, sizeof **faces * SVGA3D_MAX_SURFACE_FACES); 328 SVGA3dSurfaceFace *faces; local 272 SVGA3D_BeginDefineSurface(struct svga_winsys_context *swc, struct svga_winsys_surface *sid, SVGA3dSurfaceFlags flags, SVGA3dSurfaceFormat format, SVGA3dSurfaceFace **faces, SVGA3dSize **mipSizes, uint32 numMipSizes) argument [all...] |
/external/deqp/external/openglcts/modules/gl/ |
H A D | gl4cTextureGatherTests.cpp | 737 const GLenum faces[6] = { GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, local 747 glTexImage2D(faces[j], i, internal_format, size, size, 0, GL_RGBA_INTEGER, GL_INT, 0); 753 glTexSubImage2D(faces[j], 0, 0, 0, csize, csize, GL_RGBA_INTEGER, GL_INT, &pixels[0]); 760 glTexSubImage2D(faces[j], 0, 22, 25, 2, 2, GL_RGBA_INTEGER, GL_INT, data); 761 glTexSubImage2D(faces[j], 0, 16, 10, 1, 1, GL_RGBA_INTEGER, GL_INT, data + 0); 762 glTexSubImage2D(faces[j], 0, 11, 2, 1, 1, GL_RGBA_INTEGER, GL_INT, data + 1); 763 glTexSubImage2D(faces[j], 0, 24, 13, 1, 1, GL_RGBA_INTEGER, GL_INT, data + 2); 764 glTexSubImage2D(faces[j], 0, 9, 14, 1, 1, GL_RGBA_INTEGER, GL_INT, data + 3); 781 const GLenum faces[6] = { GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, local 791 glTexImage2D(faces[ [all...] |
/external/deqp/modules/egl/ |
H A D | teglImageUtil.cpp | 304 // Specify mipmap level 0 for all faces 305 static const GLenum faces[] = local 315 for (int faceNdx = 0; faceNdx < DE_LENGTH_OF_ARRAY(faces); faceNdx++) 316 GLU_CHECK_GLW_CALL(gl, texImage2D(faces[faceNdx], 0, m_internalFormat, IMAGE_WIDTH, IMAGE_HEIGHT, 0, m_format, m_type, DE_NULL));
|