[FFmpeg-soc] BFI

Mike Melanson mike at multimedia.cx
Tue Mar 25 18:19:22 CET 2008


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



More information about the FFmpeg-soc mailing list