I need to known how the luminance and subsampled chrominance are arranged in the jpeg stream.
I have a image of 512 * 512,when it undergoes 8 * 8 block arrangement, results in 4096 block.The chrominance undergoes downsampling in both horizontal and vertical,results in 256 * 256 ,and then arranged in 8 * 8 gives 1024 blocks,
Then how it arranged in jpeg file after the header information.
I think that
Y1 Y2 Y3 Y4 Cb1 Cr1.......... Y4093 Y4094 Y4095 Y4096 Cb1024 Cr1024
Whether it is correct?