
Go to the source code of this file.
Functions | |
| int | testEndian (void) |
| void | initInput (FrameFormat *source, FrameFormat *output) |
| void | AllocateFrameMemory (ImageParameters *img, InputParameters *params, int size) |
| void | DeleteFrameMemory (void) |
| void | ReadOneFrame (VideoDataFile *input_file, int FrameNoInFile, int HeaderSize, FrameFormat *source, FrameFormat *output, imgpel **pImage[3]) |
Variables | |
| void(* | buf2img )(imgpel **imgX, unsigned char *buf, int size_x, int size_y, int osize_x, int o_size_y, int symbol_size_in_bytes, int bitshift) |
Definition in file input.h.
| void AllocateFrameMemory | ( | ImageParameters * | img, | |
| InputParameters * | params, | |||
| int | size | |||
| ) |
Create Frame Memory buffer.
Definition at line 550 of file input.c.
References InputParameters::input_file1, no_mem_exit(), and ImageParameters::pic_unit_size_on_disk.
Referenced by init_img().

| void DeleteFrameMemory | ( | void | ) |
| void initInput | ( | FrameFormat * | source, | |
| FrameFormat * | output | |||
| ) |
checks if the System is big- or little-endian
Definition at line 46 of file input.c.
References buf2img_basic(), buf2img_bitshift(), buf2img_endian(), and testEndian().
Referenced by init_img().

| void ReadOneFrame | ( | VideoDataFile * | input_file, | |
| int | FrameNoInFile, | |||
| int | HeaderSize, | |||
| FrameFormat * | source, | |||
| FrameFormat * | output, | |||
| imgpel ** | pImage[3] | |||
| ) |
Reads one new frame from file.
| input_file | structure containing information (filename, format) about the source file | |
| FrameNoInFile | Frame number in the source file | |
| HeaderSize | Number of bytes in the source file to be skipped | |
| source | source file (on disk) information | |
| output | output file (for encoding) information | |
| pImage | Image planes |
Definition at line 595 of file input.c.
References deinterleave(), InputParameters::grayscale, ImageParameters::pic_unit_size_on_disk, ReadFrameConcatenated(), ReadFrameSeparate(), ReadTIFFImage(), InputParameters::rgb_input_flag, InputParameters::source, YUV400, YUV444, and ImageParameters::yuv_format.
Referenced by encode_one_frame().

| int testEndian | ( | void | ) |
checks if the System is big- or little-endian
Definition at line 69 of file input.c.
Referenced by buf2img_bitshift(), img2buf(), and initInput().