[vlc-devel] [PATCH] rtp: JPEG packetization

Rémi Denis-Courmont remi at remlab.net
Tue Aug 28 23:14:12 CEST 2012


   Hello,

On Tuesday 28 August 2012, Samuel Pitoiset wrote:
> > +        /* Type-specific:8, Fragment Offset:24, Type:8, Q:8, Width:8,
> > Height:8 */ +        uint64_t header = ((uint64_t)0 << 56) |
> > ((uint64_t)i_off << 32) | +                          (0 << 24) | (0 <<
> > 16) | (39 << 8) | 29;
> 
> The width and the height of frames shouldn't be hardcoded but I don't
> know how to access to these values.... hint?

You mean the video pixel dimensions?

It should be in the format but this won't be available anymore at that time. 
The RTP packetizers should get their own proper (module) abstraction. Then 
each packetizer instance could cleanly retain whatever data it needs.


-- 
Rémi Denis-Courmont
http://www.remlab.info



More information about the vlc-devel mailing list