1
在霓虹燈內部函數中,有四個內在函數(vld1 vld2 vld3 vld4)執行單向去交錯。但是如何實現8路解交織?如何在霓虹燈中執行8路去交錯
例如,數據是:
uint8_t src[64] = {0,1,2,3,4,5,6,7,```63};
將數據裝載到氖寄存器,並且執行8路解交織後,希望src_reg1和src_reg2的值可以是這樣的:
uint8x8x4_t src_reg1;
uint8x8x4_t src_reg2;
src_reg1.val[0] = {0,8, 16,24,32,40,48,56}
src_reg1.val[1] = {1,9, 17,25,```}
src_reg1.val[2] = {2,10,18,26,```}
src_reg1.val[3] = {3,11,19,27,```}
src_reg2.val[0] = {4,12,20,28,```}
src_reg2.val[1] = {5,13,21,29,```}
src_reg2.val[2] = {6,14,22,30,```}
src_reg2.val[3] = {7,15,23,31,39,47,55,63}
有誰知道如何做到這一點?非常感謝!