GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
constants

Constants used within GPAC. More...

+ Collaboration diagram for constants:

Macros

#define GF_MEDIA_EXTERNAL_ID   1050
 
#define GF_4CC(a, b, c, d)   (((a)<<24)|((b)<<16)|((c)<<8)|(d))
 Pixel Formats. More...
 

Enumerations

enum  {
  GF_STREAM_OD = 0x01, GF_STREAM_OCR = 0x02, GF_STREAM_SCENE = 0x03, GF_STREAM_VISUAL = 0x04,
  GF_STREAM_AUDIO = 0x05, GF_STREAM_MPEG7 = 0x06, GF_STREAM_IPMP = 0x07, GF_STREAM_OCI = 0x08,
  GF_STREAM_MPEGJ = 0x09, GF_STREAM_INTERACT = 0x0A, GF_STREAM_IPMP_TOOL = 0x0B, GF_STREAM_FONT = 0x0C,
  GF_STREAM_TEXT = 0x0D, GF_STREAM_ND_SUBPIC = 0x38, GF_STREAM_PRIVATE_SCENE = 0x20, GF_STREAM_PRIVATE_MEDIA = 0x21,
  GF_STREAM_4CC = 0xF0
}
 Supported media stream types. More...
 
enum  {
  GF_MEDIA_OBJECT_UNDEF = 0, GF_MEDIA_OBJECT_SCENE, GF_MEDIA_OBJECT_UPDATES, GF_MEDIA_OBJECT_VIDEO,
  GF_MEDIA_OBJECT_AUDIO, GF_MEDIA_OBJECT_TEXT, GF_MEDIA_OBJECT_INTERACT
}
 
enum  GF_PixelFormat {
  GF_PIXEL_GREYSCALE = ((( 'G' )<<24)|(( 'R' )<<16)|(( 'E' )<<8)|( 'Y' )), GF_PIXEL_ALPHAGREY = ((( 'G' )<<24)|(( 'R' )<<16)|(( 'A' )<<8)|( 'L' )), GF_PIXEL_RGB_444 = ((( 'R' )<<24)|(( '4' )<<16)|(( '4' )<<8)|( '4' )), GF_PIXEL_RGB_555 = ((( 'R' )<<24)|(( '5' )<<16)|(( '5' )<<8)|( '5' )),
  GF_PIXEL_RGB_565 = ((( 'R' )<<24)|(( '5' )<<16)|(( '6' )<<8)|( '5' )), GF_PIXEL_RGB_24 = ((( 'R' )<<24)|(( 'G' )<<16)|(( 'B' )<<8)|( '3' )), GF_PIXEL_BGR_24 = ((( 'B' )<<24)|(( 'G' )<<16)|(( 'R' )<<8)|( '3' )), GF_PIXEL_RGB_32 = ((( 'R' )<<24)|(( 'G' )<<16)|(( 'B' )<<8)|( '4' )),
  GF_PIXEL_BGR_32 = ((( 'B' )<<24)|(( 'G' )<<16)|(( 'R' )<<8)|( '4' )), GF_PIXEL_ARGB = ((( 'A' )<<24)|(( 'R' )<<16)|(( 'G' )<<8)|( 'B' )), GF_PIXEL_RGBA = ((( 'R' )<<24)|(( 'G' )<<16)|(( 'B' )<<8)|( 'A' )), GF_PIXEL_RGBD = ((( 'R' )<<24)|(( 'G' )<<16)|(( 'B' )<<8)|( 'D' )),
  GF_PIXEL_RGBDS = ((( '3' )<<24)|(( 'C' )<<16)|(( 'D' )<<8)|( 'S' )), GF_PIXEL_RGBS = ((( 'R' )<<24)|(( 'G' )<<16)|(( 'B' )<<8)|( 'S' )), GF_PIXEL_RGBAS = ((( 'R' )<<24)|(( 'G' )<<16)|(( 'A' )<<8)|( 'S' )), GF_PIXEL_RGB_24_DEPTH = ((( 'R' )<<24)|(( 'G' )<<16)|(( 'B' )<<8)|( 'd' )),
  GF_PIXEL_YUY2 = ((( 'Y' )<<24)|(( 'U' )<<16)|(( 'Y' )<<8)|( '2' )), GF_PIXEL_YVYU = ((( 'Y' )<<24)|(( 'V' )<<16)|(( 'Y' )<<8)|( 'U' )), GF_PIXEL_UYVY = ((( 'U' )<<24)|(( 'Y' )<<16)|(( 'V' )<<8)|( 'Y' )), GF_PIXEL_VYUY = ((( 'V' )<<24)|(( 'Y' )<<16)|(( 'U' )<<8)|( 'Y' )),
  GF_PIXEL_Y422 = ((( 'Y' )<<24)|(( '4' )<<16)|(( '2' )<<8)|( '2' )), GF_PIXEL_UYNV = ((( 'U' )<<24)|(( 'Y' )<<16)|(( 'N' )<<8)|( 'V' )), GF_PIXEL_YUNV = ((( 'Y' )<<24)|(( 'U' )<<16)|(( 'N' )<<8)|( 'V' )), GF_PIXEL_V422 = ((( 'V' )<<24)|(( '4' )<<16)|(( '2' )<<8)|( '2' )),
  GF_PIXEL_YV12 = ((( 'Y' )<<24)|(( 'V' )<<16)|(( '1' )<<8)|( '2' )), GF_PIXEL_IYUV = ((( 'I' )<<24)|(( 'Y' )<<16)|(( 'U' )<<8)|( 'V' )), GF_PIXEL_I420 = ((( 'I' )<<24)|(( '4' )<<16)|(( '2' )<<8)|( '0' )), GF_PIXEL_I444 = ((( 'I' )<<24)|(( '4' )<<16)|(( '4' )<<8)|( '4' )),
  GF_PIXEL_NV21 = ((( 'N' )<<24)|(( 'V' )<<16)|(( '2' )<<8)|( '1' )), GF_PIXEL_YUVA = ((( 'Y' )<<24)|(( 'U' )<<16)|(( 'V' )<<8)|( 'A' )), GF_PIXEL_YUVD = ((( 'Y' )<<24)|(( 'U' )<<16)|(( 'V' )<<8)|( 'D' ))
}
 
enum  {
  GPAC_OTI_SCENE_BIFS = 0x01, GPAC_OTI_OD_V1 = 0x01, GPAC_OTI_SCENE_BIFS_V2 = 0x02, GPAC_OTI_OD_V2 = 0x02,
  GPAC_OTI_SCENE_INTERACT = 0x03, GPAC_OTI_SCENE_BIFS_EXTENDED = 0x04, GPAC_OTI_SCENE_AFX = 0x05, GPAC_OTI_FONT = 0x06,
  GPAC_OTI_SCENE_SYNTHESIZED_TEXTURE = 0x07, GPAC_OTI_TEXT_MPEG4 = 0x08, GPAC_OTI_SCENE_LASER = 0x09, GPAC_OTI_SCENE_SAF = 0x0A,
  GPAC_OTI_VIDEO_MPEG4_PART2 = 0x20, GPAC_OTI_VIDEO_AVC = 0x21, GPAC_OTI_VIDEO_AVC_PS = 0x22, GPAC_OTI_VIDEO_HEVC = 0x23,
  GPAC_OTI_VIDEO_SVC = 0x24, GPAC_OTI_VIDEO_SHVC = 0x25, GPAC_OTI_AUDIO_AAC_MPEG4 = 0x40, GPAC_OTI_VIDEO_MPEG2_SIMPLE = 0x60,
  GPAC_OTI_VIDEO_MPEG2_MAIN = 0x61, GPAC_OTI_VIDEO_MPEG2_SNR = 0x62, GPAC_OTI_VIDEO_MPEG2_SPATIAL = 0x63, GPAC_OTI_VIDEO_MPEG2_HIGH = 0x64,
  GPAC_OTI_VIDEO_MPEG2_422 = 0x65, GPAC_OTI_AUDIO_AAC_MPEG2_MP = 0x66, GPAC_OTI_AUDIO_AAC_MPEG2_LCP = 0x67, GPAC_OTI_AUDIO_AAC_MPEG2_SSRP = 0x68,
  GPAC_OTI_AUDIO_MPEG2_PART3 = 0x69, GPAC_OTI_VIDEO_MPEG1 = 0x6A, GPAC_OTI_AUDIO_MPEG1 = 0x6B, GPAC_OTI_IMAGE_JPEG = 0x6C,
  GPAC_OTI_IMAGE_PNG = 0x6D, GPAC_OTI_IMAGE_JPEG_2000 = 0x6E, GPAC_OTI_MEDIA_GENERIC = 0x80, GPAC_OTI_MEDIA_FFMPEG = 0x81,
  GPAC_OTI_AUDIO_EVRC_VOICE = 0xA0, GPAC_OTI_AUDIO_SMV_VOICE = 0xA1, GPAC_OTI_3GPP2_CMF = 0xA2, GPAC_OTI_VIDEO_SMPTE_VC1 = 0xA3,
  GPAC_OTI_VIDEO_DIRAC = 0xA4, GPAC_OTI_AUDIO_AC3 = 0xA5, GPAC_OTI_AUDIO_AC3_ENHANCED = 0xA6, GPAC_OTI_AUDIO_DRA = 0xA7,
  GPAC_OTI_AUDIO_ITU_G719 = 0xA8, GPAC_OTI_AUDIO_DTS_CA = 0xA9, GPAC_OTI_AUDIO_DTS_HD_HR = 0xAA, GPAC_OTI_AUDIO_DTS_HD_MASTER = 0xAB,
  GPAC_OTI_PRIVATE_SCENE_GENERIC = 0xC0, GPAC_OTI_PRIVATE_SCENE_SVG = 0xC1, GPAC_OTI_PRIVATE_SCENE_LASER = 0xC2, GPAC_OTI_PRIVATE_SCENE_XBL = 0xC3,
  GPAC_OTI_PRIVATE_SCENE_EPG = 0xC4, GPAC_OTI_PRIVATE_SCENE_WGT = 0xC5, GPAC_OTI_PRIVATE_SCENE_VTT = 0xC6, GPAC_OTI_SCENE_SVG = 0xD0,
  GPAC_OTI_SCENE_SVG_GZ = 0xD1, GPAC_OTI_SCENE_DIMS = 0xD2, GPAC_OTI_SCENE_VTT = 0xD3, GPAC_OTI_SCENE_VTT_MP4 = 0xD4,
  GPAC_OTI_SCENE_SIMPLE_TEXT_MP4 = 0xD5, GPAC_OTI_MEDIA_OGG = 0xDD, GPAC_OTI_MEDIA_THEORA = 0xDF, GPAC_OTI_MEDIA_SUBPIC = 0xE0,
  GPAC_OTI_AUDIO_13K_VOICE = 0xE1, GPAC_OTI_RAW_MEDIA_STREAM = 0x101, GPAC_OTI_PRIVATE_MEDIA_LIBPLAYER = 0xF1
}
 Scene ObjectTypeIndication Formats. More...
 
enum  {
  GPAC_AFX_3DMC = 0x00, GPAC_AFX_WAVELET_SUBDIVISION = 0x01, GPAC_AFX_MESHGRID = 0x02, GPAC_AFX_COORDINATE_INTERPOLATOR = 0x03,
  GPAC_AFX_ORIENTATION_INTERPOLATOR = 0x04, GPAC_AFX_POSITION_INTERPOLATOR = 0x05, GPAC_AFX_OCTREE_IMAGE = 0x06, GPAC_AFX_BBA = 0x07,
  GPAC_AFX_POINT_TEXTURE = 0x08, GPAC_AFX_3DMC_EXT = 0x09, GPAC_AFX_FOOTPRINT = 0x0A, GPAC_AFX_ANIMATED_MESH = 0x0B,
  GPAC_AFX_SCALABLE_COMPLEXITY = 0x0C
}
 AFX Object Code. More...
 
enum  {
  GF_AUDIO_CH_FRONT_LEFT = (1), GF_AUDIO_CH_FRONT_RIGHT = (1<<1), GF_AUDIO_CH_FRONT_CENTER = (1<<2), GF_AUDIO_CH_LFE = (1<<3),
  GF_AUDIO_CH_BACK_LEFT = (1<<4), GF_AUDIO_CH_BACK_RIGHT = (1<<5), GF_AUDIO_CH_BACK_CENTER = (1<<6), GF_AUDIO_CH_SIDE_LEFT = (1<<7),
  GF_AUDIO_CH_SIDE_RIGHT = (1<<8)
}
 Audio Channel Configuration. More...
 
enum  {
  GF_DIMS_UNIT_S = 1, GF_DIMS_UNIT_M = 1<<1, GF_DIMS_UNIT_I = 1<<2, GF_DIMS_UNIT_D = 1<<3,
  GF_DIMS_UNIT_P = 1<<4, GF_DIMS_UNIT_C = 1<<5
}
 DIMS Unit header flags. More...
 

Detailed Description

This section documents some constants used in the GPAC framework which are not related to any specific sub-project.

Macro Definition Documentation

#define GF_MEDIA_EXTERNAL_ID   1050

All Media Objects inserted through URLs and not MPEG-4 OD Framework use this ODID

#define GF_4CC (   a,
  b,
  c,
 
)    (((a)<<24)|((b)<<16)|((c)<<8)|(d))

Supported pixel formats for everything using video

Enumeration Type Documentation

anonymous enum

Supported media stream types for media objects.

Enumerator
GF_STREAM_OD 

MPEG-4 Object Descriptor Stream

GF_STREAM_OCR 

MPEG-4 Object Clock Reference Stream

GF_STREAM_SCENE 

MPEG-4 Scene Description Stream

GF_STREAM_VISUAL 

Visual Stream (Video, Image or MPEG-4 SNHC Tools)

GF_STREAM_AUDIO 

Audio Stream (Audio, MPEG-4 Structured-Audio Tools)

GF_STREAM_MPEG7 

MPEG-7 Description Stream

GF_STREAM_IPMP 

MPEG-4 Intellectual Property Management and Protection Stream

GF_STREAM_OCI 

MPEG-4 Object Content Information Stream

GF_STREAM_MPEGJ 

MPEG-4 MPEGlet Stream

GF_STREAM_INTERACT 

MPEG-4 User Interaction Stream

GF_STREAM_IPMP_TOOL 

MPEG-4 IPMP Tool Stream

GF_STREAM_FONT 

MPEG-4 Font Data Stream

GF_STREAM_TEXT 

MPEG-4 Streaming Text Stream

GF_STREAM_ND_SUBPIC 

Nero Digital Subpicture Stream

GF_STREAM_PRIVATE_SCENE 

GPAC Private Scene streams

Note
this stream type (MPEG-4 user-private) is reserved for streams only used to create a scene decoder handling the scene without input streams, as is the case for file readers (BT/VRML/XML..).
The decoderSpecificInfo carried is as follows:
u32 file_size: total file size
char file_name[dsi_size - sizeof(u32)]: local file name.
\n\note: File may be a cache file, it is the decoder responsability to check if the file is completely
downloaded before parsing if needed.
The inBufferLength param for decoders using these streams is the stream clock in ms (no input data is given).
The "dummy_in" module is available to generate these streams for common files, and also takes care of proper clock init in case of seeking.
This is a reentrant stream type: if any media object with this streamtype also exist in the scene, they will be attached to the scene decoder (except when a new inline scene is detected, in which case a new decoder will be created). This allows for animation/sprite usage along with the systems timing/stream management.

the objectTypeIndication currently in use for these streams are documented below
GF_STREAM_PRIVATE_MEDIA 

GPAC Private Media streams

Note
this stream type (MPEG-4 user-private) is reserved for media streams bypassing GPAC for decoding and composition. The media decoder is only in charge of repositioning the video output, and the compositor will draw an empty rectangle if using alpha composition

The decoderSpecificInfo carried only contains an opaque pointer in the data field, which depends on the underlying InputServce provider

the objectTypeIndication currently in use for these streams are documented below

GF_STREAM_4CC 
anonymous enum

Media Object types

This type provides a hint to network modules which may have to generate an service descriptor on the fly. They occur only if objects/services used in the scene are not referenced through ObjectDescriptors (MPEG-4) but direct through URL

Enumerator
GF_MEDIA_OBJECT_UNDEF 

service descriptor expected is of undefined type. This should be treated like GF_MEDIA_OBJECT_SCENE

GF_MEDIA_OBJECT_SCENE 

service descriptor expected is of SCENE type and shall contain a scene stream and OD one if needed

GF_MEDIA_OBJECT_UPDATES 

service descriptor expected is of SCENE UPDATES type (animation streams)

GF_MEDIA_OBJECT_VIDEO 

service descriptor expected is of VISUAL type

GF_MEDIA_OBJECT_AUDIO 

service descriptor expected is of AUDIO type

GF_MEDIA_OBJECT_TEXT 

service descriptor expected is of TEXT type (3GPP/MPEG4)

GF_MEDIA_OBJECT_INTERACT 

service descriptor expected is of UserInteraction type (MPEG-4 InputSensor)

Enumerator
GF_PIXEL_GREYSCALE 

8 bit GREY

GF_PIXEL_ALPHAGREY 

16 bit greyscale

GF_PIXEL_RGB_444 

12 bit RGB on 16 bits (4096 colors)

GF_PIXEL_RGB_555 

15 bit RGB

GF_PIXEL_RGB_565 

16 bit RGB

GF_PIXEL_RGB_24 

24 bit RGB

GF_PIXEL_BGR_24 

24 bit BGR

GF_PIXEL_RGB_32 

32 bit RGB. Component ordering in bytes is B-G-R-X.

GF_PIXEL_BGR_32 

32 bit BGR. Component ordering in bytes is R-G-B-X.

GF_PIXEL_ARGB 

32 bit ARGB. Component ordering in bytes is B-G-R-A.

GF_PIXEL_RGBA 

32 bit RGBA (openGL like). Component ordering in bytes is R-G-B-A.

GF_PIXEL_RGBD 

RGB24 + depth plane. Component ordering in bytes is R-G-B-D.

GF_PIXEL_RGBDS 

RGB24 + depth plane (7 lower bits) + shape mask. Component ordering in bytes is R-G-B-(S+D).

GF_PIXEL_RGBS 

Stereo RGB24

GF_PIXEL_RGBAS 

Stereo RGBA. Component ordering in bytes is R-G-B-A.

GF_PIXEL_RGB_24_DEPTH 
GF_PIXEL_YUY2 

YUV packed format

GF_PIXEL_YVYU 

YUV packed format

GF_PIXEL_UYVY 

YUV packed format

GF_PIXEL_VYUY 

YUV packed format

GF_PIXEL_Y422 

YUV packed format

GF_PIXEL_UYNV 

YUV packed format

GF_PIXEL_YUNV 

YUV packed format

GF_PIXEL_V422 

YUV packed format

GF_PIXEL_YV12 

YUV planar format

GF_PIXEL_IYUV 

YUV planar format

GF_PIXEL_I420 

YUV planar format

GF_PIXEL_I444 

YUV planar format

GF_PIXEL_NV21 

YUV planar format

GF_PIXEL_YUVA 

YV12 + Alpha plane

GF_PIXEL_YUVD 

YV12 + Depth plane

anonymous enum
 Supported ObjectTypeIndication for scene description streams. *_FILE_* are only used with private scene streams

and only carry the file name for the scene. Other internal stream types can be used in a real streaming environment

Enumerator
GPAC_OTI_SCENE_BIFS 

OTI for BIFS v1

GPAC_OTI_OD_V1 

OTI for OD v1

GPAC_OTI_SCENE_BIFS_V2 

OTI for BIFS v2

GPAC_OTI_OD_V2 

OTI for OD v2

GPAC_OTI_SCENE_INTERACT 

OTI for BIFS InputSensor streams

GPAC_OTI_SCENE_BIFS_EXTENDED 

OTI for streams with extended BIFS config

GPAC_OTI_SCENE_AFX 

OTI for AFX streams with AFXConfig

GPAC_OTI_FONT 

OTI for Font data streams

GPAC_OTI_SCENE_SYNTHESIZED_TEXTURE 

OTI for synthesized texture streams

GPAC_OTI_TEXT_MPEG4 

OTI for streaming text streams

GPAC_OTI_SCENE_LASER 

OTI for LASeR streams

GPAC_OTI_SCENE_SAF 

OTI for SAF streams

GPAC_OTI_VIDEO_MPEG4_PART2 

OTI for MPEG-4 Video Part 2 streams

GPAC_OTI_VIDEO_AVC 

OTI for MPEG-4 Video Part 10 (H.264 | AVC ) streams

GPAC_OTI_VIDEO_AVC_PS 

OTI for AVC Parameter sets streams

GPAC_OTI_VIDEO_HEVC 

OTI for HEVC video

GPAC_OTI_VIDEO_SVC 

OTI for H264-SVC streams

GPAC_OTI_VIDEO_SHVC 

OTI for H264-SVC streams

GPAC_OTI_AUDIO_AAC_MPEG4 

OTI for MPEG-4 AAC streams

GPAC_OTI_VIDEO_MPEG2_SIMPLE 

OTI for MPEG-2 Visual Simple Profile streams

GPAC_OTI_VIDEO_MPEG2_MAIN 

OTI for MPEG-2 Visual Main Profile streams

GPAC_OTI_VIDEO_MPEG2_SNR 

OTI for MPEG-2 Visual SNR Profile streams

GPAC_OTI_VIDEO_MPEG2_SPATIAL 

OTI for MPEG-2 Visual SNR Profile streams

GPAC_OTI_VIDEO_MPEG2_HIGH 

OTI for MPEG-2 Visual SNR Profile streams

GPAC_OTI_VIDEO_MPEG2_422 

OTI for MPEG-2 Visual SNR Profile streams

GPAC_OTI_AUDIO_AAC_MPEG2_MP 

OTI for MPEG-2 AAC Main Profile streams

GPAC_OTI_AUDIO_AAC_MPEG2_LCP 

OTI for MPEG-2 AAC Low Complexity Profile streams

GPAC_OTI_AUDIO_AAC_MPEG2_SSRP 

OTI for MPEG-2 AAC Scaleable Sampling Rate Profile streams

GPAC_OTI_AUDIO_MPEG2_PART3 

OTI for MPEG-2 Audio Part 3 streams

GPAC_OTI_VIDEO_MPEG1 

OTI for MPEG-1 Video streams

GPAC_OTI_AUDIO_MPEG1 

OTI for MPEG-1 Audio streams

GPAC_OTI_IMAGE_JPEG 

OTI for JPEG streams

GPAC_OTI_IMAGE_PNG 

OTI for PNG streams

GPAC_OTI_IMAGE_JPEG_2000 

OTI for JPEG-2000 streams

GPAC_OTI_MEDIA_GENERIC 

Extra ObjectTypeIndication.

    ObjectTypeIndication for media (audio/video) codecs not defined in MPEG-4. Since GPAC signals streams through MPEG-4 Descriptions,
    it needs extensions for non-MPEG-4 streams such as AMR, H263 , etc.\n
Note
The decoder specific info for such streams is always carried encoded, with the following syntax:
DSI Syntax for audio streams
* u32 codec_four_cc: the codec 4CC reg code / codec id for ffmpeg
* u32 sample_rate: sampling rate or 0 if unknown
* u16 nb_channels: num channels or 0 if unknown
* u16 frame_size: num audio samples per frame or 0 if unknown
* u8 nb_bits_per_sample: nb bits or 0 if unknown
* u8 num_frames_per_au: num audio frames per AU (used in 3GPP, max 15), 0 if unknown
* char *data: per-codec extensions till end of DSI bitstream

DSI Syntax for video streams
* u32 codec_four_cc: the codec 4CC reg code / codec id for ffmpeg
* u16 width: video width or 0 if unknown
* u16 height: video height or 0 if unknown
* char *data: per-codec extensions till end of DSI bitstream
GPAC_OTI_MEDIA_FFMPEG 

FFMPEG ObjectTypeIndication.

    ObjectTypeIndication for FFMPEG codecs not defined in MPEG-4. FFMPEG uses the base GPAC_OTI_MEDIA_GENERIC specific info formats, and extends it as follows:
* u32 bit_rate: the stream rate or 0 if unknown
* u32 codec_tag: FFMPEG codec tag as defined in libavcodec
* char *data: codec extensions till end of DSI bitstream
GPAC_OTI_AUDIO_EVRC_VOICE 

OTI for EVRC Voice streams

GPAC_OTI_AUDIO_SMV_VOICE 

OTI for SMV Voice streams

GPAC_OTI_3GPP2_CMF 

OTI for 3GPP2 CMF streams

GPAC_OTI_VIDEO_SMPTE_VC1 

OTI for SMPTE VC-1 Video streams

GPAC_OTI_VIDEO_DIRAC 

OTI for Dirac Video streams

GPAC_OTI_AUDIO_AC3 

OTI for AC-3 audio streams

GPAC_OTI_AUDIO_AC3_ENHANCED 

OTI for enhanced AC-3 audio streams

GPAC_OTI_AUDIO_DRA 

OTI for DRA audio streams

GPAC_OTI_AUDIO_ITU_G719 

OTI for ITU G719 audio streams

GPAC_OTI_AUDIO_DTS_CA 

OTI for DTS Coherent Acoustics audio streams

GPAC_OTI_AUDIO_DTS_HD_HR 

OTI for DTS-HD High Resolution audio streams

GPAC_OTI_AUDIO_DTS_HD_MASTER 

OTI for DTS-HD Master audio streams

GPAC_OTI_PRIVATE_SCENE_GENERIC 

OTI for dummy streams (dsi = file name) using the generic context loader (BIFS/VRML/SWF/...) - GPAC internal

GPAC_OTI_PRIVATE_SCENE_SVG 

OTI for SVG dummy stream (dsi = file name) - GPAC internal

GPAC_OTI_PRIVATE_SCENE_LASER 

OTI for LASeR/SAF+XML dummy stream (dsi = file name) - GPAC internal

GPAC_OTI_PRIVATE_SCENE_XBL 

OTI for XBL dummy streams (dsi = file name) - GPAC internal

GPAC_OTI_PRIVATE_SCENE_EPG 

OTI for EPG dummy streams (dsi = null) - GPAC internal

GPAC_OTI_PRIVATE_SCENE_WGT 

OTI for WGT dummy streams (dsi = null) - GPAC internal

GPAC_OTI_PRIVATE_SCENE_VTT 

OTI for VTT dummy stream (dsi = file name) - GPAC internal

GPAC_OTI_SCENE_SVG 

OTI for streaming SVG - GPAC internal

GPAC_OTI_SCENE_SVG_GZ 

OTI for streaming SVG + gz - GPAC internal

GPAC_OTI_SCENE_DIMS 

OTI for DIMS (dsi = 3GPP DIMS configuration) - GPAC internal

GPAC_OTI_SCENE_VTT 

OTI for streaming VTT - GPAC internal

GPAC_OTI_SCENE_VTT_MP4 

OTI for streaming VTT from MP4- GPAC internal

GPAC_OTI_SCENE_SIMPLE_TEXT_MP4 

OTI for streaming simple text from MP4- GPAC internal

GPAC_OTI_MEDIA_OGG 

OGG ObjectTypeIndication.

    Object type indication for all OGG media. The DSI contains all intitialization ogg packets for the codec

and is formated as follows:

while (dsi_size) {
bit(16) packet_size;
char packet[packet_size];
dsi_size -= packet_size;
}
GPAC_OTI_MEDIA_THEORA 
GPAC_OTI_MEDIA_SUBPIC 
GPAC_OTI_AUDIO_13K_VOICE 

OTI for 13K Voice / QCELP audio streams

GPAC_OTI_RAW_MEDIA_STREAM 

OTI for RAW media streams. Input data is directly dispatched to the composition memory. The DSI contains is formated (MSBF) as follows:
DSI Syntax for audio streams

* u32 sample_rate: sampling rate
* u16 nb_channels: num channels
* u16 nb_bits_per_sample: num of bits per audio sample
* u32 frame_size: max size of audio frame in byte
* u32 channel_config: GPAC mask of GF_AUDIO_CH_ constants, or 0 if unknown


DSI Syntax for video streams

* u32 codec_four_cc: the codec 4CC reg code / codec id for ffmpeg
* u16 width: video width or 0 if unknown
* u16 height: video height or 0 if unknown
* u32 frame_size: size of the video frame
* u32 stride: horizontal stride of the video frame
GPAC_OTI_PRIVATE_MEDIA_LIBPLAYER 

OTI for LIBPLAYER private streams. The data pointer in the DSI is the libplayer handle object

anonymous enum
Enumerator
GPAC_AFX_3DMC 

3D Mesh Compression

GPAC_AFX_WAVELET_SUBDIVISION 

Wavelet Subdivision Surface

GPAC_AFX_MESHGRID 

MeshGrid

GPAC_AFX_COORDINATE_INTERPOLATOR 

Coordinate Interpolator

GPAC_AFX_ORIENTATION_INTERPOLATOR 

Orientation Interpolator

GPAC_AFX_POSITION_INTERPOLATOR 

Position Interpolator

GPAC_AFX_OCTREE_IMAGE 

Octree Image

GPAC_AFX_BBA 

BBA

GPAC_AFX_POINT_TEXTURE 

PointTexture

GPAC_AFX_3DMC_EXT 

3DMC Extension

GPAC_AFX_FOOTPRINT 

FootPrint representation

GPAC_AFX_ANIMATED_MESH 

Animated Mesh Compression

GPAC_AFX_SCALABLE_COMPLEXITY 

Scalable Complexity

anonymous enum
    Audio channel flags for spatialization.
Note
Decoders must output stereo/multichannel audio channels in this order in the decoded audio frame.
Enumerator
GF_AUDIO_CH_FRONT_LEFT 

Left Audio Channel

GF_AUDIO_CH_FRONT_RIGHT 

Right Audio Channel

GF_AUDIO_CH_FRONT_CENTER 

Center Audio Channel - may also be used to signal monophonic audio

GF_AUDIO_CH_LFE 

LFE Audio Channel

GF_AUDIO_CH_BACK_LEFT 

Back Left Audio Channel

GF_AUDIO_CH_BACK_RIGHT 

Back Right Audio Channel

GF_AUDIO_CH_BACK_CENTER 

Back Center Audio Channel

GF_AUDIO_CH_SIDE_LEFT 

Side Left Audio Channel

GF_AUDIO_CH_SIDE_RIGHT 

Side Right Audio Channel

anonymous enum

DIMS Unit header flags as 3GPP TS 26.142.

Enumerator
GF_DIMS_UNIT_S 

S: is-Scene: DIMS unit contains a complete document (svg)

GF_DIMS_UNIT_M 

M: is-RAP: DIMS unit is a random access point

GF_DIMS_UNIT_I 

I: is-Redundant: DIMS unit is made of redundant data

GF_DIMS_UNIT_D 

D: redundant-exit: DIMS unit is the end of redundant data

GF_DIMS_UNIT_P 

P: priority: DIMS unit is high priority

GF_DIMS_UNIT_C 

C: compressed: DIMS unit is compressed