Thanks Walbourn for your prompt reply.
I tried to access the temp's pixels in two ways:
1) for example: temp. then there are some m128_f32 and things like that which I am not familiar with those things.
2) for example as pointer: temp-> then I get the same stuff as in the first way
Please let me know for example, how I can change the color pixel of each pixel in the 4*4 block.
Another issue is that as I understand in the DXT1 (BC1) when a texture is compressed using DXT1 its pixels are segmented into 4*4 block of pixels and for each block a 4 color palette is calculated and after the compression all the RGB colors are converted
to those 4 colors only. The question is how can I access to those colors in a dds file after loading and change them or just print them out.
I mean, after compression each pixel in a block should only have one of those 4 colors from the palette which is represented by a number meaning there are only 4 numbers which each pixel in a block can take, I want to access those numbers.