|
FFmpeg
|
#include "libavutil/log.h"#include "libavutil/mem_internal.h"#include "libavutil/pixdesc.h"#include "libavutil/stereo3d.h"#include "avcodec.h"#include "blockdsp.h"#include "bytestream.h"#include "exif.h"#include "get_bits.h"#include "hpeldsp.h"#include "idctdsp.h"Go to the source code of this file.
Data Structures | |
| struct | ICCEntry |
| struct | MJpegDecodeContext |
Macros | |
| #define | MAX_COMPONENTS 4 |
Functions | |
| int | ff_mjpeg_build_vlc (VLC *vlc, const uint8_t *bits_table, const uint8_t *val_table, int is_ac, void *logctx) |
| int | ff_mjpeg_decode_init (AVCodecContext *avctx) |
| int | ff_mjpeg_decode_end (AVCodecContext *avctx) |
| int | ff_mjpeg_decode_frame (AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt) |
| int | ff_mjpeg_decode_frame_from_buf (AVCodecContext *avctx, AVFrame *frame, int *got_frame, const AVPacket *avpkt, const uint8_t *buf, int buf_size) |
| int | ff_mjpeg_decode_dqt (MJpegDecodeContext *s) |
| int | ff_mjpeg_decode_dht (MJpegDecodeContext *s) |
| int | ff_mjpeg_decode_sof (MJpegDecodeContext *s) |
| int | ff_mjpeg_decode_sos (MJpegDecodeContext *s) |
| int | ff_mjpeg_find_marker (const uint8_t **buf_ptr, const uint8_t *buf_end) |
| int | ff_mjpeg_unescape_sos (MJpegDecodeContext *s) |
| static int | ff_mjpeg_should_restart (MJpegDecodeContext *s) |
| static int | ff_mjpeg_handle_restart (MJpegDecodeContext *s, int *restart) |
MJPEG decoder.
Definition in file mjpegdec.h.
| #define MAX_COMPONENTS 4 |
Definition at line 47 of file mjpegdec.h.
| int ff_mjpeg_build_vlc | ( | VLC * | vlc, |
| const uint8_t * | bits_table, | ||
| const uint8_t * | val_table, | ||
| int | is_ac, | ||
| void * | logctx | ||
| ) |
Definition at line 41 of file mjpegdec_common.c.
Referenced by ff_mjpeg_decode_dht(), init_default_huffman_tables(), and jpg_init().
| int ff_mjpeg_decode_init | ( | AVCodecContext * | avctx | ) |
Definition at line 123 of file mjpegdec.c.
Referenced by mxpeg_decode_init().
| int ff_mjpeg_decode_end | ( | AVCodecContext * | avctx | ) |
Definition at line 2904 of file mjpegdec.c.
Referenced by mxpeg_decode_end().
| int ff_mjpeg_decode_frame | ( | AVCodecContext * | avctx, |
| AVFrame * | frame, | ||
| int * | got_frame, | ||
| AVPacket * | avpkt | ||
| ) |
Definition at line 2894 of file mjpegdec.c.
| int ff_mjpeg_decode_frame_from_buf | ( | AVCodecContext * | avctx, |
| AVFrame * | frame, | ||
| int * | got_frame, | ||
| const AVPacket * | avpkt, | ||
| const uint8_t * | buf, | ||
| int | buf_size | ||
| ) |
Definition at line 2389 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame(), and sp5x_decode_frame().
| int ff_mjpeg_decode_dqt | ( | MJpegDecodeContext * | s | ) |
Definition at line 205 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame_from_buf(), mjpegb_decode_frame(), and mxpeg_decode_frame().
| int ff_mjpeg_decode_dht | ( | MJpegDecodeContext * | s | ) |
Definition at line 248 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame_from_buf(), ff_mjpeg_decode_init(), mjpegb_decode_frame(), and mxpeg_decode_frame().
| int ff_mjpeg_decode_sof | ( | MJpegDecodeContext * | s | ) |
Definition at line 307 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame_from_buf(), mjpegb_decode_frame(), and mxpeg_decode_frame().
| int ff_mjpeg_decode_sos | ( | MJpegDecodeContext * | s | ) |
Definition at line 1690 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame_from_buf(), mjpegb_decode_frame(), and mxpeg_decode_frame().
| int ff_mjpeg_find_marker | ( | const uint8_t ** | buf_ptr, |
| const uint8_t * | buf_end | ||
| ) |
Definition at line 2190 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame_from_buf(), and mxpeg_decode_frame().
| int ff_mjpeg_unescape_sos | ( | MJpegDecodeContext * | s | ) |
Definition at line 2246 of file mjpegdec.c.
Referenced by ff_mjpeg_handle_restart(), and mjpeg_decode_scan().
|
inlinestatic |
Definition at line 196 of file mjpegdec.h.
Referenced by ff_mjpeg_handle_restart(), and mjpeg_decode_scan().
|
inlinestatic |
Definition at line 214 of file mjpegdec.h.
Referenced by ff_jpegls_decode_picture(), ljpeg_decode_rgb_scan(), ljpeg_decode_yuv_scan(), mjpeg_decode_scan(), and mjpeg_decode_scan_progressive_ac().
1.8.17