Searched refs:encoding_factor (Results 1 – 2 of 2) sorted by relevance
852 float encoding_factor = pcs_is_xyz ? (65535 / 32768.0f) : 1.0f; in read_tag_mab() local854 a2b->matrix.vals[0][0] = encoding_factor * read_big_fixed(mtx_buf + 0); in read_tag_mab()855 a2b->matrix.vals[0][1] = encoding_factor * read_big_fixed(mtx_buf + 4); in read_tag_mab()856 a2b->matrix.vals[0][2] = encoding_factor * read_big_fixed(mtx_buf + 8); in read_tag_mab()857 a2b->matrix.vals[1][0] = encoding_factor * read_big_fixed(mtx_buf + 12); in read_tag_mab()858 a2b->matrix.vals[1][1] = encoding_factor * read_big_fixed(mtx_buf + 16); in read_tag_mab()859 a2b->matrix.vals[1][2] = encoding_factor * read_big_fixed(mtx_buf + 20); in read_tag_mab()860 a2b->matrix.vals[2][0] = encoding_factor * read_big_fixed(mtx_buf + 24); in read_tag_mab()861 a2b->matrix.vals[2][1] = encoding_factor * read_big_fixed(mtx_buf + 28); in read_tag_mab()862 a2b->matrix.vals[2][2] = encoding_factor * read_big_fixed(mtx_buf + 32); in read_tag_mab()[all …]
648 float encoding_factor = pcs_is_xyz ? 65535 / 32768.0f : 1.0f; in read_tag_mab() local650 a2b->matrix.vals[0][0] = encoding_factor * read_big_fixed(mtx_buf + 0); in read_tag_mab()651 a2b->matrix.vals[0][1] = encoding_factor * read_big_fixed(mtx_buf + 4); in read_tag_mab()652 a2b->matrix.vals[0][2] = encoding_factor * read_big_fixed(mtx_buf + 8); in read_tag_mab()653 a2b->matrix.vals[1][0] = encoding_factor * read_big_fixed(mtx_buf + 12); in read_tag_mab()654 a2b->matrix.vals[1][1] = encoding_factor * read_big_fixed(mtx_buf + 16); in read_tag_mab()655 a2b->matrix.vals[1][2] = encoding_factor * read_big_fixed(mtx_buf + 20); in read_tag_mab()656 a2b->matrix.vals[2][0] = encoding_factor * read_big_fixed(mtx_buf + 24); in read_tag_mab()657 a2b->matrix.vals[2][1] = encoding_factor * read_big_fixed(mtx_buf + 28); in read_tag_mab()658 a2b->matrix.vals[2][2] = encoding_factor * read_big_fixed(mtx_buf + 32); in read_tag_mab()[all …]