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

| void direct_output_paff | ( | StorablePicture * | p, | |
| int | p_out | |||
| ) |
For adaptive frame/field coding remove dangling top field from direct output frame version instead.
| 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().

| void flush_direct_output | ( | int | p_out | ) |
Write out unpaired fields from output buffer.
| 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().

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

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

| void write_out_picture | ( | StorablePicture * | p, | |
| int | p_out | |||
| ) |
Writes out a storable picture.
| p | Picture to be written | |
| p_out | Output file |
Definition at line 174 of file output.c.
References storable_picture::chroma_format_idc, error(), storable_picture::frame_cropping_flag, storable_picture::frame_cropping_rect_bottom_offset, storable_picture::frame_cropping_rect_left_offset, storable_picture::frame_cropping_rect_right_offset, storable_picture::frame_cropping_rect_top_offset, storable_picture::frame_mbs_only_flag, img2buf(), storable_picture::imgUV, storable_picture::imgY, no_mem_exit(), storable_picture::non_existing, ImageParameters::out_unit_size_on_disk, InputParameters::output, InputParameters::rgb_input_flag, storable_picture::size_x, storable_picture::size_x_cr, storable_picture::size_y, storable_picture::size_y_cr, YUV400, and YUV444.
Referenced by write_picture().

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