Wavefront are in tile coordinates
Write bitstream directly after doing the search. This is required since we need the correct entropy status for wpp