本文整理汇总了C++中Element_Name函数的典型用法代码示例。如果您正苦于以下问题:C++ Element_Name函数的具体用法?C++ Element_Name怎么用?C++ Element_Name使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了Element_Name函数的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: Element_Name
//---------------------------------------------------------------------------
// Packet "10"
void File_Dirac::End_of_Sequence()
{
Element_Name("End of Sequence");
//Parsing
picture_Fill();
}
示例2: Element_Name
//---------------------------------------------------------------------------
void File_Sdp::Data_Parse()
{
Element_Name("Packet");
for (int8u Pos=0; Pos<5; Pos++)
{
if (FieldLines[Pos])
{
Element_Code=FieldLines[Pos];
stream &Stream=Streams[FieldLines[Pos]];
if (Stream.Parser==NULL)
{
Stream.Parser=new File_Teletext();
Stream.Parser->IsSubtitle=true;
Open_Buffer_Init(Stream.Parser);
}
if (Stream.Parser->PTS_DTS_Needed)
Stream.Parser->FrameInfo=FrameInfo;
Demux(Buffer+Buffer_Offset+Element_Offset, 45, ContentType_MainStream);
Open_Buffer_Continue(Stream.Parser, Buffer+Buffer_Offset+Element_Offset, 45);
Element_Offset+=45;
}
}
Element_Begin1("SDP Footer");
Skip_B1( "Footer ID");
Skip_B2( "Footer Sequence number");
Skip_B2( "SDP Cheksum");
Skip_B2( "SMPTE 291 Cheksum");
Element_End0();
}
示例3: Element_Name
//---------------------------------------------------------------------------
void File_Celt::Comment()
{
Element_Name("Comment?");
while (Element_Offset<Element_Size)
{
Ztring value;
int32u size;
Get_L4(size, "size");
if (size)
Get_Local(size, value, "value");
//Filling
if (value.find(__T("CELT "))!=std::string::npos)
{
Ztring Version=value.SubString(__T("CELT "), __T(" ("));
Fill(Stream_Audio, 0, Audio_Encoded_Library, __T("CELT ")+Version);
Fill(Stream_Audio, 0, Audio_Encoded_Library_Name, __T("CELT"));
Fill(Stream_Audio, 0, Audio_Encoded_Library_Version, Version);
}
else if (!value.empty())
Fill(Stream_Audio, 0, "Comment", value);
}
Finish("CELT");
}
示例4: Element_Name
//---------------------------------------------------------------------------
// Packet "20"
void File_Dirac::Auxiliary_data()
{
Element_Name("Auxiliary data");
//Parsing
Skip_XX(Element_Size, "Auxiliary data");
}
示例5: Element_Name
//---------------------------------------------------------------------------
void File_Dpx::UserDefinedHeader_Cineon()
{
Element_Name("User defined header");
//Parsing
Skip_XX(Sizes[Pos_UserDefined], "Unknown");
}
示例6: Element_Name
//---------------------------------------------------------------------------
void File_Ibi::Ebml_MaxSizeLength()
{
Element_Name("MaxSizeLength");
//Parsing
UInteger_Info();
}
示例7: Element_Name
//---------------------------------------------------------------------------
void File_Ibi::SourceInfo_SourceSize()
{
Element_Name("Source Size");
//Parsing
Skip_B8( "Data");
}
示例8: Element_Name
//---------------------------------------------------------------------------
// Packet "B4" and "B8"
void File_AvsV::reserved()
{
Element_Name("reserved");
//Parsing
if (Element_Size)
Skip_XX(Element_Size, "reserved");
}