FFmpeg
|
Go2Webinar decoder. More...
#include <zlib.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "bytestream.h"
#include "dsputil.h"
#include "get_bits.h"
#include "internal.h"
#include "mjpeg.h"
Go to the source code of this file.
Data Structures | |
struct | JPGContext |
struct | G2MContext |
Macros | |
#define | APPLY_ALPHA(src, new, alpha) src = (src * (256 - alpha) + new * alpha) >> 8 |
Enumerations | |
enum | ChunkType { DISPLAY_INFO = 0xC8, TILE_DATA, CURSOR_POS, CURSOR_SHAPE, CHUNK_CC, CHUNK_CD, CHUNK_TYPE_DATA = 0x4424, CHUNK_TYPE_ASF_HEADER = 0x4824, CHUNK_TYPE_END = 0x4524, CHUNK_TYPE_STREAM_CHANGE = 0x4324 } |
enum | Compression { COMPR_EPIC_J_B = 2, COMPR_KEMPF_J_B } |
Functions | |
static av_cold int | build_vlc (VLC *vlc, const uint8_t *bits_table, const uint8_t *val_table, int nb_codes, int is_ac) |
static av_cold int | jpg_init (AVCodecContext *avctx, JPGContext *c) |
static av_cold void | jpg_free_context (JPGContext *ctx) |
static void | jpg_unescape (const uint8_t *src, int src_size, uint8_t *dst, int *dst_size) |
static int | jpg_decode_block (JPGContext *c, GetBitContext *gb, int plane, int16_t *block) |
static void | yuv2rgb (uint8_t *out, int Y, int U, int V) |
static int | jpg_decode_data (JPGContext *c, int width, int height, const uint8_t *src, int src_size, uint8_t *dst, int dst_stride, const uint8_t *mask, int mask_stride, int num_mbs, int swapuv) |
static void | kempf_restore_buf (const uint8_t *src, int len, uint8_t *dst, int stride, const uint8_t *jpeg_tile, int tile_stride, int width, int height, const uint8_t *pal, int npal, int tidx) |
static int | kempf_decode_tile (G2MContext *c, int tile_x, int tile_y, const uint8_t *src, int src_size) |
static int | g2m_init_buffers (G2MContext *c) |
static int | g2m_load_cursor (AVCodecContext *avctx, G2MContext *c, GetByteContext *gb) |
static void | g2m_paint_cursor (G2MContext *c, uint8_t *dst, int stride) |
static int | g2m_decode_frame (AVCodecContext *avctx, void *data, int *got_picture_ptr, AVPacket *avpkt) |
static av_cold int | g2m_decode_init (AVCodecContext *avctx) |
static av_cold int | g2m_decode_end (AVCodecContext *avctx) |
Variables | |
static const uint8_t | luma_quant [64] |
static const uint8_t | chroma_quant [64] |
AVCodec | ff_g2m_decoder |
Go2Webinar decoder.
Definition in file g2meet.c.
Definition at line 597 of file g2meet.c.
Referenced by g2m_paint_cursor().
enum ChunkType |
enum Compression |
|
static |
Definition at line 110 of file g2meet.c.
Referenced by jpg_init().
|
static |
Definition at line 131 of file g2meet.c.
Referenced by g2m_decode_init().
|
static |
Definition at line 159 of file g2meet.c.
Referenced by g2m_decode_end(), and g2m_decode_init().
|
static |
Definition at line 171 of file g2meet.c.
Referenced by jpg_decode_data().
|
static |
Definition at line 188 of file g2meet.c.
Referenced by jpg_decode_data().
Definition at line 225 of file g2meet.c.
Referenced by jpg_decode_data().
|
static |
Definition at line 232 of file g2meet.c.
Referenced by kempf_decode_tile().
|
static |
Definition at line 312 of file g2meet.c.
Referenced by kempf_decode_tile().
|
static |
Definition at line 341 of file g2meet.c.
Referenced by g2m_decode_frame().
|
static |
Definition at line 450 of file g2meet.c.
Referenced by g2m_decode_frame().
|
static |
Definition at line 484 of file g2meet.c.
Referenced by g2m_decode_frame().
|
static |
Definition at line 600 of file g2meet.c.
Referenced by g2m_decode_frame().
|
static |
|
static |
|
static |
|
static |
Definition at line 51 of file g2meet.c.
Referenced by jpg_decode_block().
|
static |
Definition at line 62 of file g2meet.c.
Referenced by jpg_decode_block().
AVCodec ff_g2m_decoder |