I am implementing a parallel H264 decoder using openMP as a final semester engineering project. I am concentrating on macroblock level parallelism in which i process macroblocks in a 2-D wave sequence instead of the sequential scan order. But when i do that i get blocks unavaialble for intrap4x4 mode even though those blocks are completely completely decoded. Later I tried sequentially entropy decoding all the blocks in scan order and then use ff_h264_hl_decode_mb in 2-D wave form. Still it gives an intra4x4 mode block unavailable error.
My question is can ff_h264_decode_mb_cabac be called sequentially for all the macroblocks first before any call to ff_h264_hl_decode_mb.
As per my understanding ff_h264_decode_mb_cabac is independent for every macroblock and does not depend on any neighboring ones as it is just entropy decoding.Please help me.
Thanks in advance!