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

int testEndian (void)
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 773 of file output.c.

References frame_store::bottom_field, calculate_frame_no(), dpb_combine_field_yuv(), find_snr(), flush_direct_output(), frame_store::frame, free_storable_picture(), frame_store::is_used, p_ref, params, snr, storable_picture::structure, frame_store::top_field, and write_picture().

Referenced by store_picture_in_dpb().

Here is the call graph for this function:

void init_out_buffer ( void   ) 

Initialize output buffer for direct output.

Definition at line 603 of file output.c.

References alloc_frame_store(), storable_picture::imgUV, storable_picture::imgY, and no_mem_exit().

Referenced by main().

Here is the call graph for this function:

int testEndian ( void   ) 

checks if the System is big- or little-endian

Returns:
0, little-endian (e.g. Intel architectures) 1, big-endian (e.g. SPARC, MIPS, PowerPC)

Definition at line 46 of file output.c.

Referenced by buf2img(), and initOutput().

void uninit_out_buffer ( void   ) 

Uninitialize output buffer for direct output.

Definition at line 621 of file output.c.

References free_frame_store().

Referenced by main().

Here is the call graph for this function:

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 742 of file output.c.

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

Referenced by output_one_frame_from_dpb(), and write_lost_non_ref_pic().

Here is the call graph for this function:


Documentation generated with DoxyGen