38 #define FT_COMPONENT trace_gxvtrak 73 typedef struct GXV_trak_DataRec_
81 #define GXV_TRAK_DATA( FIELD ) GXV_TABLE_DATA( trak, FIELD ) 113 for ( i = 0; i < nTracks; i ++ )
115 p = table + i * ( 4 + 2 + 2 );
127 for ( j = i; j < nTracks; j ++ )
129 p = table + j * ( 4 + 2 + 2 );
132 GXV_TRACE((
"duplicated entries found for track value 0x%x\n",
167 gxv_trak_trackTable_validate( p,
limit, nTracks, valid );
169 "trackTable", odtect );
172 p = valid->
root->base + sizeTableOffset;
178 if (
limit - p < nTracks * nSizes * 2 )
179 GXV_TRACE((
"too short trackValue array\n" ));
189 "trackValue array", odtect );
228 valid->
root = ftvalid;
234 FT_TRACE3((
"validating `trak' table\n" ));
246 GXV_TRACE((
" (horizOffset = 0x%04x)\n", horizOffset ));
247 GXV_TRACE((
" (vertOffset = 0x%04x)\n", vertOffset ));
248 GXV_TRACE((
" (reserved = 0x%04x)\n", reserved ));
262 if ( reserved != 0x0000 )
266 if ( 0 < horizOffset )
268 gxv_trak_trackData_validate(
table + horizOffset,
limit, valid );
270 "horizJustData", odtect );
273 if ( 0 < vertOffset )
275 gxv_trak_trackData_validate(
table + vertOffset,
limit, valid );
277 "vertJustData", odtect );
#define FT_NEXT_LONG(buffer)
#define FT_INVALID_FORMAT
#define GXV_NAME_ENTER(name)
gxv_trak_validate(FT_Bytes table, FT_Face face, FT_Validator ftvalid)
#define GXV_ODTECT(n, odtect)
GLenum GLuint GLint GLenum face
struct GXV_trak_DataRec_ GXV_trak_DataRec
#define FT_TRACE4(varformat)
gxv_sfntName_validate(FT_UShort name_index, FT_UShort min_index, FT_UShort max_index, GXV_Validator valid)
typedefFT_BEGIN_HEADER struct FT_ValidatorRec_ volatile * FT_Validator
#define GXV_32BIT_ALIGNMENT_VALIDATE(a)
#define GXV_ODTECT_INIT(odtect)
#define GXV_TRAK_DATA(FIELD)
gxv_odtect_validate(GXV_odtect_Range odtect, GXV_Validator valid)
#define FT_NEXT_USHORT(buffer)
#define FT_TRACE3(varformat)
#define FT_NEXT_ULONG(buffer)
gxv_odtect_add_range(FT_Bytes start, FT_ULong length, const FT_String *name, GXV_odtect_Range odtect)
GLenum GLsizei GLenum GLenum const GLvoid * table
struct GXV_trak_DataRec_ * GXV_trak_Data
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
#define GXV_LIMIT_CHECK(_count)