
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) |
Definition in file output.h.
| 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.
| 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().

| 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().

| int testEndian | ( | void | ) |
checks if the System is big- or little-endian
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().

| void write_stored_frame | ( | FrameStore * | fs, | |
| int | p_out | |||
| ) |
Write a frame (from FrameStore).
| 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().
