FFmpeg
|
rtjpeg.h File Reference
Include dependency graph for rtjpeg.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | RTJpegContext |
Macros | |
#define | RTJPEG_FILE_VERSION 0 |
#define | RTJPEG_HEADER_SIZE 12 |
Typedefs | |
typedef struct RTJpegContext | RTJpegContext |
Functions | |
void | ff_rtjpeg_decode_init (RTJpegContext *c, DSPContext *dsp, int width, int height, const uint32_t *lquant, const uint32_t *cquant) |
initialize an RTJpegContext, may be called multiple times More... | |
int | ff_rtjpeg_decode_frame_yuv420 (RTJpegContext *c, AVFrame *f, const uint8_t *buf, int buf_size) |
decode one rtjpeg YUV420 frame More... | |
Macro Definition Documentation
#define RTJPEG_HEADER_SIZE 12 |
Definition at line 30 of file rtjpeg.h.
Referenced by decode_frame().
Typedef Documentation
typedef struct RTJpegContext RTJpegContext |
Function Documentation
int ff_rtjpeg_decode_frame_yuv420 | ( | RTJpegContext * | c, |
AVFrame * | f, | ||
const uint8_t * | buf, | ||
int | buf_size | ||
) |
decode one rtjpeg YUV420 frame
- Parameters
-
c context, must be initialized via ff_rtjpeg_decode_init f AVFrame to place decoded frame into. If parts of the frame are not coded they are left unchanged, so consider initializing it buf buffer containing input data buf_size length of input data in bytes
- Returns
- number of bytes consumed from the input buffer
Definition at line 106 of file rtjpeg.c.
Referenced by decode_frame().
void ff_rtjpeg_decode_init | ( | RTJpegContext * | c, |
DSPContext * | dsp, | ||
int | width, | ||
int | height, | ||
const uint32_t * | lquant, | ||
const uint32_t * | cquant | ||
) |
initialize an RTJpegContext, may be called multiple times
- Parameters
-
c context to initialize dsp specifies the idct to use for decoding width width of image, will be rounded down to the nearest multiple of 16 for decoding height height of image, will be rounded down to the nearest multiple of 16 for decoding lquant luma quantization table to use cquant chroma quantization table to use
Definition at line 156 of file rtjpeg.c.
Referenced by codec_reinit(), and decode_frame().
Generated on Mon Nov 18 2024 06:52:08 for FFmpeg by 1.8.11