
public static enum MediaPacket.SideDataType extends Enum<MediaPacket.SideDataType>
| Enum Constant and Description |
|---|
DATA_H263_MB_INFO
An AV_PKT_DATA_H263_MB_INFO side data packet contains a number of
structures with info about macroblocks relevant to splitting the packet into smaller packets on macroblock edges (e.g. |
DATA_JP_DUALMONO
An AV_PKT_DATA_JP_DUALMONO side data packet indicates that
the packet may contain "dual mono" audio specific to Japanese DTV and if it is true, recommends only the selected channel to be used. u8 selected channels (0=mail/left, 1=sub/right, 2=both)
|
DATA_MATROSKA_BLOCKADDITIONAL
Data found in BlockAdditional element of matroska container.
|
DATA_NEW_EXTRADATA |
DATA_PALETTE |
DATA_PARAM_CHANGE
An AV_PKT_DATA_PARAM_CHANGE side data packet is laid out as follows:
u32le param_flags
if (param_flags AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_COUNT)
s32le channel_count
if (param_flags AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_LAYOUT)
u64le channel_layout
if (param_flags AV_SIDE_DATA_PARAM_CHANGE_SAMPLE_RATE)
s32le sample_rate
if (param_flags AV_SIDE_DATA_PARAM_CHANGE_DIMENSIONS)
s32le width
s32le height
|
DATA_SKIP_SAMPLES
Recommmends skipping the specified number of samples
u32le number of samples to skip from start of this packet
u32le number of samples to skip from end of this packet
u8 reason for start skip
u8 reason for end skip (0=padding silence, 1=convergence)
|
DATA_STRINGS_METADATA
A list of zero terminated key/value strings.
|
DATA_SUBTITLE_POSITION
Subtitle event position
u32le x1
u32le y1
u32le x2
u32le y2
|
DATA_UNKNOWN |
DATA_WEBVTT_IDENTIFIER
The optional first identifier line of a WebVTT cue.
|
DATA_WEBVTT_SETTINGS
The optional settings (rendering instructions) that immediately
follow the timestamp specifier of a WebVTT cue. |
| Modifier and Type | Method and Description |
|---|---|
static MediaPacket.SideDataType |
swigToEnum(int swigValue) |
int |
swigValue() |
static MediaPacket.SideDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaPacket.SideDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaPacket.SideDataType DATA_UNKNOWN
public static final MediaPacket.SideDataType DATA_PALETTE
public static final MediaPacket.SideDataType DATA_NEW_EXTRADATA
public static final MediaPacket.SideDataType DATA_PARAM_CHANGE
u32le param_flags
if (param_flags AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_COUNT)
s32le channel_count
if (param_flags AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_LAYOUT)
u64le channel_layout
if (param_flags AV_SIDE_DATA_PARAM_CHANGE_SAMPLE_RATE)
s32le sample_rate
if (param_flags AV_SIDE_DATA_PARAM_CHANGE_DIMENSIONS)
s32le width
s32le height
public static final MediaPacket.SideDataType DATA_H263_MB_INFO
u32le bit offset from the start of the packet
u8 current quantizer at the start of the macroblock
u8 GOB number
u16le macroblock address within the GOB
u8 horizontal MV predictor
u8 vertical MV predictor
u8 horizontal MV predictor for block number 3
u8 vertical MV predictor for block number 3
public static final MediaPacket.SideDataType DATA_SKIP_SAMPLES
u32le number of samples to skip from start of this packet
u32le number of samples to skip from end of this packet
u8 reason for start skip
u8 reason for end skip (0=padding silence, 1=convergence)
public static final MediaPacket.SideDataType DATA_JP_DUALMONO
u8 selected channels (0=mail/left, 1=sub/right, 2=both)
public static final MediaPacket.SideDataType DATA_STRINGS_METADATA
public static final MediaPacket.SideDataType DATA_SUBTITLE_POSITION
u32le x1
u32le y1
u32le x2
u32le y2
public static final MediaPacket.SideDataType DATA_MATROSKA_BLOCKADDITIONAL
public static final MediaPacket.SideDataType DATA_WEBVTT_IDENTIFIER
public static final MediaPacket.SideDataType DATA_WEBVTT_SETTINGS
public static MediaPacket.SideDataType[] values()
for (MediaPacket.SideDataType c : MediaPacket.SideDataType.values()) System.out.println(c);
public static MediaPacket.SideDataType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int swigValue()
public static MediaPacket.SideDataType swigToEnum(int swigValue)
Copyright © 2018 Humble Software. All rights reserved.