Sisir Koppaka wrote:
> Hi,
> Good to be back after the exams. I have a couple of doubts:
> 1) What is the AV_RB24 function? It's used for the palette handling in some
> decoders.

A: audio
V: video
_: separator
R: read
B: big-endian
24: 24-bit

AV_RB24 reads the next 3 bytes in the bytestream and interprets them as
a 24-bit integer.

> 2) The bytes that we get back from the frame chunks...those are 8 bits...how
> does the computer know that this type of byte corresponds to this entry in
> the palette?

Because you told it so.

-- 
        -Mike Melanson
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to