filehandle.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int rewrite_paramsets (void)
int start_sequence (void)
int terminate_sequence (void)
int write_PPS (int, int)


Detailed Description

Date:
Author:
Main contributors (see contributors.h for copyright, address and affiliation details)

Definition in file filehandle.h.


Function Documentation

int rewrite_paramsets ( void   ) 

This function opens the output files and generates the appropriate sequence header.

As a sequence header, here we write both sequence and picture parameter sets. As soon as IDR is implemented, this should go to the IDR part, as both parsets have to be transmitted as part of an IDR. An alternative may be to consider this function the IDR start function.

Lets write now the Picture Parameter sets. Output will be equal to the total number of bits spend here.

Definition at line 132 of file filehandle.c.

References FreeNALU(), InputParameters::GenerateMultiplePPS, InputParameters::GenerateSEIMessage, GenerateSEImessage_NALU(), GenerateSeq_parameter_set_NALU(), InputParameters::SendAUD, Write_AUD_NALU(), and write_PPS().

Referenced by write_non_vcl_nalu().

Here is the call graph for this function:

int start_sequence ( void   ) 

This function opens the output files and generates the appropriate sequence header.

As a sequence header, here we write both sequence and picture parameter sets. As soon as IDR is implemented, this should go to the IDR part, as both parsets have to be transmitted as part of an IDR. An alternative may be to consider this function the IDR start function.

Lets write now the Picture Parameter sets. Output will be equal to the total number of bits spend here.

Definition at line 69 of file filehandle.c.

References error(), errortext, ET_SIZE, FreeNALU(), InputParameters::GenerateMultiplePPS, InputParameters::GenerateSEIMessage, GenerateSEImessage_NALU(), GenerateSeq_parameter_set_NALU(), InputParameters::of_mode, OpenAnnexbFile(), OpenRTPFile(), InputParameters::outfile, PAR_OF_ANNEXB, PAR_OF_RTP, InputParameters::SendAUD, Write_AUD_NALU(), write_PPS(), WriteAnnexbNALU(), and WriteRTPNALU().

Referenced by init_encoder().

Here is the call graph for this function:

int terminate_sequence ( void   ) 

This function terminates the sequence and closes the output files.

Definition at line 178 of file filehandle.c.

References CloseAnnexbFile(), CloseRTPFile(), error(), errortext, ET_SIZE, InputParameters::of_mode, PAR_OF_ANNEXB, and PAR_OF_RTP.

Referenced by free_encoder_memory().

Here is the call graph for this function:

int write_PPS ( int  ,
int   
)

This function generates and writes the PPS.

Definition at line 51 of file filehandle.c.

References FreeNALU(), and GeneratePic_parameter_set_NALU().

Referenced by rewrite_paramsets(), start_sequence(), and write_non_vcl_nalu().

Here is the call graph for this function:


Documentation generated with DoxyGen