|
Libav
|
#include <stdint.h>#include <string.h>#include "libavutil/common.h"#include "libavutil/pixdesc.h"#include "libavutil/pixfmt.h"#include "avcodec.h"#include "idctdsp.h"#include "put_bits.h"#include "mjpegenc_common.h"#include "mjpeg.h"Go to the source code of this file.
Functions | |
| static int | put_huffman_table (PutBitContext *p, int table_class, int table_id, const uint8_t *bits_table, const uint8_t *value_table) |
| static void | jpeg_table_header (PutBitContext *p, ScanTable *intra_scantable, uint16_t intra_matrix[64]) |
| static void | jpeg_put_comments (AVCodecContext *avctx, PutBitContext *p) |
| void | ff_mjpeg_encode_picture_header (AVCodecContext *avctx, PutBitContext *pb, ScanTable *intra_scantable, uint16_t intra_matrix[64]) |
| static void | escape_FF (PutBitContext *pb, int start) |
| void | ff_mjpeg_encode_stuffing (PutBitContext *pbc) |
| void | ff_mjpeg_encode_picture_trailer (PutBitContext *pb, int header_bits) |
| void | ff_mjpeg_encode_dc (PutBitContext *pb, int val, uint8_t *huff_size, uint16_t *huff_code) |
|
static |
Definition at line 35 of file mjpegenc_common.c.
Referenced by jpeg_table_header().
|
static |
Definition at line 55 of file mjpegenc_common.c.
Referenced by ff_mjpeg_encode_picture_header().
|
static |
Definition at line 89 of file mjpegenc_common.c.
Referenced by ff_mjpeg_encode_picture_header().
| void ff_mjpeg_encode_picture_header | ( | AVCodecContext * | avctx, |
| PutBitContext * | pb, | ||
| ScanTable * | intra_scantable, | ||
| uint16_t | intra_matrix[64] | ||
| ) |
Definition at line 131 of file mjpegenc_common.c.
Referenced by encode_picture(), and ljpeg_encode_frame().
|
static |
Definition at line 226 of file mjpegenc_common.c.
Referenced by ff_mjpeg_encode_picture_trailer().
| void ff_mjpeg_encode_stuffing | ( | PutBitContext * | pbc | ) |
Definition at line 278 of file mjpegenc_common.c.
Referenced by ff_mjpeg_encode_picture_trailer(), and write_slice_end().
| void ff_mjpeg_encode_picture_trailer | ( | PutBitContext * | pb, |
| int | header_bits | ||
| ) |
Definition at line 285 of file mjpegenc_common.c.
Referenced by ff_mpv_encode_picture(), and ljpeg_encode_frame().
| void ff_mjpeg_encode_dc | ( | PutBitContext * | pb, |
| int | val, | ||
| uint8_t * | huff_size, | ||
| uint16_t * | huff_code | ||
| ) |
Definition at line 297 of file mjpegenc_common.c.
Referenced by encode_block(), ljpeg_encode_bgr(), and ljpeg_encode_yuv_mb().
1.8.8