FFmpeg
Functions
mjpegdec_common.c File Reference
#include <stdint.h>
#include "libavutil/avassert.h"
#include "mjpegdec.h"
#include "vlc.h"

Go to the source code of this file.

Functions

static int build_huffman_codes (uint8_t *huff_size, const uint8_t *bits_table)
 
int ff_mjpeg_build_vlc (VLC *vlc, const uint8_t *bits_table, const uint8_t *val_table, int is_ac, void *logctx)
 

Function Documentation

◆ build_huffman_codes()

static int build_huffman_codes ( uint8_t huff_size,
const uint8_t bits_table 
)
static

Definition at line 29 of file mjpegdec_common.c.

Referenced by ff_mjpeg_build_vlc().

◆ ff_mjpeg_build_vlc()

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().