std/jpeg: prepare decode_idct_x86_avx2.wuffs

This commit is contained in:
Nigel Tao committed 2023-07-16 19:54:36 +10:00
1 parent 4dfd70928b
commit e5b6f2563e
4 files changed
+112 -16

No files matched your search

+3 -1
View File
@@ -12,7 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
pri func decoder.decode_idct!(dst_buffer: slice base.u8, dst_stride: base.u64, q: base.u32[..= 3]) {
pri func decoder.decode_idct!(dst_buffer: slice base.u8, dst_stride: base.u64, q: base.u32[..= 3]),
choosy,
{
// This method implements the same algorithm as libjpeg-turbo's jidctint.c.
var bq0 : base.u32