Google Flix Engine Linux Reference Manual Instrukcja Użytkownika Strona 193

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 545
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 192
5.43 Frame Server API 187
5.43.3.2 enum FE2_VideoFormat
Format of input video used in calls to Flix2_SetVideoProperties().
Attention:
Available only in the Flix Engine Core Library
Enumerator:
VideoFormatYV12
VideoFormatBGRA
Definition at line 95 of file fs_options.h.
5.43.4 Function Documentation
5.43.4.1 on2sc Flix2_EncodeFrame (FLIX2HANDLE flix, FE2_FrameType type, on2bool eos,
uint8_t frame, uint32_t len, int64_t ts90k)
Queue an input frame for encoding.
Parameters:
flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()
type Input type
eos End of stream indicator. Must be set for all streams to complete an encode (a null frame may
be passed after all valid frames have been sent)
frame Pointer to raw data buffer. (1 video frame or a chunk of audio samples based on the type
parameter).
len Size in bytes of the raw data pointed to by frame
ts90k Timestamp for this frame in units of 90kHz. Currently only used for FrameTypeVideo
Return values:
ON2_OK on success
ON2_INVALID_PARAMS should one or more of the preconditions fail
<ON2_OK if there was an error completing encoder setup. Call Flix2_Errno() for further detail
Precondition:
flix is not NULL
frame is not NULL or eos is set
input of type type was setup using the corresponding Flix2_SetXXXProperties call
Attention:
Available only in the Flix Engine Core Library
Note:
The engine handles interleaving of the output file so input need not be perfectly interleaved. Making a
reasonable attempt at interleaving the input will reduce memory usage, however.
Flix2_IsEncoderRunning() should be called after setting eos to ensure all frames have been encoded.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen
Przeglądanie stron 192
1 2 ... 188 189 190 191 192 193 194 195 196 197 198 ... 544 545

Komentarze do niniejszej Instrukcji

Brak uwag