[Ffmpeg-devel] [PATCH] AV_R{L,B}{8,16,32}
Alex Beregszaszi
alex
Thu Jan 18 10:28:41 CET 2007
Hi,
> > >> -#define BE_16(x) ((((uint8_t*)(x))[0] << 8) | ((uint8_t*)(x))[1])
> > >> +#define AV_RB16(x) ((((uint8_t*)(x))[0] << 8) | ((uint8_t*)(x))[1])
> > >
> > > What is the RB supposed to stand for?
> >
> > My guess is read big endian.
>
> Why not keep the name with an AV_ prefix?
This was discussed before, and Michael proposed this.
AV_{R,W}{L,B}{8,16,32} where R means read, W means write, L means
little, B means big.
--
Alex
More information about the ffmpeg-devel
mailing list