I've not seen any rotation flag in H.264 stream.
But macroblocks follow raster order, pictures are filled from left to right, from top to bottom. Intra prediction uses left and upper part of slice counting from current macroblock.
I don't think rotation with such limitations is possible in lossless mode unless file size grows by times.
Counting references to previous frames/blocks looks doable, but file size can grow a bit as well.
|