output.h File Reference

Picture writing routine headers. More...

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

Go to the source code of this file.

Functions

void flush_direct_output (int p_out)
void direct_output_paff (StorablePicture *p, int p_out)
void write_out_picture (StorablePicture *p, int p_out)
void write_stored_frame (FrameStore *fs, int p_out)
void direct_output (StorablePicture *p, int p_out)
void init_out_buffer (void)
void uninit_out_buffer (void)


Detailed Description

Picture writing routine headers.

output.h

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

Definition in file output.h.


Function Documentation

void direct_output ( StorablePicture *  p,
int  p_out 
)

Directly output a picture without storing it in the DPB. Fields are buffered before they are written to the file.

Parameters:
p Picture for output
p_out Output file

Definition at line 455 of file output.c.

References frame_store::bottom_field, dpb_combine_field_yuv(), flush_direct_output(), frame_store::frame, free_storable_picture(), frame_store::is_used, storable_picture::structure, frame_store::top_field, and write_picture().

Referenced by direct_output_paff(), and store_picture_in_dpb().

Here is the call graph for this function:

void direct_output_paff ( StorablePicture *  p,
int  p_out 
)

For adaptive frame/field coding remove dangling top field from direct output frame version instead.

Parameters:
p Picture for output
p_out Output file

Definition at line 511 of file output.c.

References frame_store::bottom_field, direct_output(), frame_store::frame, free_storable_picture(), frame_store::is_used, and frame_store::top_field.

Referenced by replace_top_pic_with_frame().

Here is the call graph for this function:

void flush_direct_output ( int  p_out  ) 

Write out unpaired fields from output buffer.

Parameters:
p_out Output file

Definition at line 402 of file output.c.

References frame_store::bottom_field, frame_store::frame, free_storable_picture(), frame_store::is_used, frame_store::top_field, and write_unpaired_field().

Referenced by direct_output(), and write_stored_frame().

Here is the call graph for this function:

void init_out_buffer ( void   ) 

Initialize output buffer for direct output.

Definition at line 282 of file output.c.

References alloc_frame_store().

Referenced by init_encoder().

Here is the call graph for this function:

void uninit_out_buffer ( void   ) 

Uninitialize output buffer for direct output.

Definition at line 293 of file output.c.

References free_frame_store().

Referenced by free_encoder_memory().

Here is the call graph for this function:

void write_out_picture ( StorablePicture *  p,
int  p_out 
)

void write_stored_frame ( FrameStore *  fs,
int  p_out 
)

Write a frame (from FrameStore).

Parameters:
fs FrameStore containing the frame
p_out Output file

Definition at line 426 of file output.c.

References flush_direct_output(), frame_store::frame, frame_store::is_output, frame_store::is_used, write_picture(), and write_unpaired_field().

Referenced by output_one_frame_from_dpb().

Here is the call graph for this function:


Documentation generated with DoxyGen