physis 0.5.0

Library for reading and writing FFXIV data.
Documentation
1
2
3
4
5
6
7
8
9
10
// SPDX-FileCopyrightText: 2023 Rudolf Kolbe
// SPDX-License-Identifier: MIT

use super::bc3::decode_bc3_alpha;

#[inline]
pub fn decode_bc5_block(data: &[u8], outbuf: &mut [u32]) {
    decode_bc3_alpha(data, outbuf, 2);
    decode_bc3_alpha(&data[8..], outbuf, 1);
}