Searched refs:bswap_le32 (Results 1 – 8 of 8) sorted by relevance
38 if(bswap_le32(header->fourcc) != FOURCC_DXBC) in dxbc_parse()40 unsigned num_chunks = bswap_le32(header->chunk_count); in dxbc_parse()43 unsigned offset = bswap_le32(chunk_offsets[i]); in dxbc_parse()45 unsigned fourcc = bswap_le32(chunk->fourcc); in dxbc_parse()56 if(bswap_le32(header->fourcc) != FOURCC_DXBC) in dxbc_find_chunk()58 unsigned num_chunks = bswap_le32(header->chunk_count); in dxbc_find_chunk()61 unsigned offset = bswap_le32(chunk_offsets[i]); in dxbc_find_chunk()63 if(bswap_le32(chunk->fourcc) == fourcc) in dxbc_find_chunk()71 unsigned count = bswap_le32(sig->count); in dxbc_parse_signature()77 param.SemanticName = (char*)&sig->count + bswap_le32(sig->elements[i].name_offset); in dxbc_parse_signature()[all …]
35 data_size += sizeof(uint32_t) + sizeof(dxbc_chunk_header) + bswap_le32(chunks[i]->size); in dxbc_assemble()42 header->fourcc = bswap_le32(FOURCC_DXBC); in dxbc_assemble()44 header->one = bswap_le32(1); in dxbc_assemble()45 header->total_size = bswap_le32(total_size); in dxbc_assemble()52 chunk_offsets[i] = bswap_le32(off); in dxbc_assemble()53 unsigned chunk_full_size = sizeof(dxbc_chunk_header) + bswap_le32(chunks[i]->size); in dxbc_assemble()
40 …<< " offset " << ((char*)chunk - (char*)container.data) << " size " << bswap_le32(chunk->size) << … in operator <<()
55 return bswap_le32(*tokens++); in read32()
34 static inline uint32_t bswap_le32(uint32_t v) in bswap_le32() function39 static inline uint32_t bswap_le32(uint32_t v) in bswap_le32() function
66 sm4_program* sm4 = sm4_parse(sm4_chunk + 1, bswap_le32(sm4_chunk->size)); in main()
68 sm4_program* sm4 = sm4_parse(sm4_chunk + 1, bswap_le32(sm4_chunk->size)); in main()
1371 sm4.reset(sm4_parse(sm4_chunk + 1, bswap_le32(sm4_chunk->size))); in create_stage_shader()