本文整理匯總了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");
}