Sensoray 2251 Rev.A Manuel d'utilisateur Page 34

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 48
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 33
function will check for start codes. It is recommended, therefore to separate the data. For
instance, if you want to store a 32 bit (4 byte) latitude position in the stream, you could put the
high order bytes in the first 2 bytes of user data, followed by a “marker byte” of 0xff, and put the
other 2 bytes in the next 2 user data bytes.
Eg. For a latitude with hex value 0x70000111, the user data would be
data[0] = 0x70, data[1] = 0x00, data[2]=0xff(marker), data[3]=0x11, data[4]=0x11
Similarly, if other user data needs inserted, simply add a market byte to separate the data into
sections.
Parameters
int insize
input size of the embedded data.
const void *data
pointer to user data
board
Board number in system.
Returns
0 if success, negative if error.
MID2250_API int SN_GetPlaybackFrame(
long inSize,
unsigned char *pFrame,
BITMAPINFOHEADER *pBMI,
int type,
int block,
int timeout,
int vidnum
);
SN_GetPlaybackFrame retrieves current frame being decoded after SN_PlaybackVideo. It can
retrieve Uncompressed frames and MPEG data from the playback. The pBMI returned contains the
image parameter. It is up to the user to determine a reasonable image size for pFrame
beforehand. For example, if the user needs RGB24, they should allocate at least 720x480x3 for
NTSC and 768x576*3 for PAL. For compressed data, the video output comes out of the demux in
very small packets. Therefor, this function does not work the same as SN_GetFrame where the
images are packetized by MPEG picture headers, but returns all of the MPEG data received since
the last call.
Parameters
34
Vue de la page 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 47 48

Commentaires sur ces manuels

Pas de commentaire