
Go to the source code of this file.
Functions | |
| void | flush_direct_output (ImageParameters *p_Img, InputParameters *p_Inp, FrameFormat *output, int p_out) |
| void | write_out_picture (StorablePicture *p, FrameFormat *output, int p_out) |
| void | write_stored_frame (ImageParameters *p_Img, InputParameters *p_Inp, FrameStore *fs, FrameFormat *output, int p_out) |
| void | direct_output (ImageParameters *p_Img, InputParameters *p_Inp, StorablePicture *p, FrameFormat *output, int p_out) |
| void | direct_output_paff (ImageParameters *p_Img, InputParameters *p_Inp, StorablePicture *p, FrameFormat *output, int p_out) |
| void | init_out_buffer (ImageParameters *p_Img) |
| void | uninit_out_buffer (ImageParameters *p_Img, InputParameters *p_Inp) |
Definition in file output.h.
| void direct_output | ( | ImageParameters * | p_Img, | |
| InputParameters * | p_Inp, | |||
| StorablePicture * | p, | |||
| FrameFormat * | output, | |||
| int | p_out | |||
| ) |
Directly output a picture without storing it in the DPB. Fields are buffered before they are written to the file.
| p_Img | ImageParameters structure | |
| p_Inp | Input configuration parameters | |
| p | Picture for output | |
| output | Frame format for output | |
| p_out | Output file |
Definition at line 489 of file output.c.
References dpb_combine_field_yuv(), flush_direct_output(), free_storable_picture(), frame_store::is_used, and write_picture().
Referenced by direct_output_paff(), and store_picture_in_dpb().

| void direct_output_paff | ( | ImageParameters * | p_Img, | |
| InputParameters * | p_Inp, | |||
| StorablePicture * | p, | |||
| FrameFormat * | output, | |||
| int | p_out | |||
| ) |
For adaptive frame/field coding remove dangling top field from direct output frame version instead.
| p_Img | Picture for output | |
| p_Inp | Input configuration parameters | |
| p | Picture for output | |
| output | Frame format for output | |
| p_out | Output file |
Definition at line 551 of file output.c.
References direct_output(), free_storable_picture(), and frame_store::is_used.
Referenced by replace_top_pic_with_frame().

| void flush_direct_output | ( | ImageParameters * | p_Img, | |
| InputParameters * | p_Inp, | |||
| FrameFormat * | output, | |||
| int | p_out | |||
| ) |
Write out unpaired fields from output buffer.
| p_Img | ImageParameters structure | |
| p_Inp | Input configuration parameters | |
| output | FrameFormat structure for output | |
| p_out | Output file |
Definition at line 424 of file output.c.
References free_storable_picture(), frame_store::is_used, and write_unpaired_field().
Referenced by direct_output(), and write_stored_frame().

| void init_out_buffer | ( | ImageParameters * | p_Img | ) |
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 | ( | ImageParameters * | p_Img, | |
| InputParameters * | p_Inp | |||
| ) |
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, | |
| FrameFormat * | output, | |||
| int | p_out | |||
| ) |
Writes out a storable picture.
| p | Picture to be written | |
| output | Output format | |
| p_out | Output file |
Definition at line 173 of file output.c.
References error(), img2buf(), storable_picture::imgUV, storable_picture::imgY, no_mem_exit(), YUV400, and YUV444.
Referenced by write_picture().

| void write_stored_frame | ( | ImageParameters * | p_Img, | |
| InputParameters * | p_Inp, | |||
| FrameStore * | fs, | |||
| FrameFormat * | output, | |||
| int | p_out | |||
| ) |
Write a frame (from FrameStore).
| p_Img | ImageParameters structure | |
| p_Inp | Input configuration parameters | |
| fs | FrameStore containing the frame | |
| output | Frame format for output | |
| p_out | Output file |
Definition at line 454 of file output.c.
References flush_direct_output(), frame_store::is_used, write_picture(), and write_unpaired_field().
Referenced by output_one_frame_from_dpb().
