FFmpeg
|
#include "avformat.h"
#include "rtpdec.h"
#include "rtpdec_formats.h"
#include "libavutil/intreadwrite.h"
#include "libavcodec/mjpeg.h"
#include "libavcodec/bytestream.h"
Go to the source code of this file.
Data Structures | |
struct | PayloadContext |
RTP/JPEG specific private data. More... | |
Functions | |
static PayloadContext * | jpeg_new_context (void) |
static void | free_frame_if_needed (PayloadContext *jpeg) |
static void | jpeg_free_context (PayloadContext *jpeg) |
static int | jpeg_create_huffman_table (PutByteContext *p, int table_class, int table_id, const uint8_t *bits_table, const uint8_t *value_table) |
static void | jpeg_put_marker (PutByteContext *pbc, int code) |
static int | jpeg_create_header (uint8_t *buf, int size, uint32_t type, uint32_t w, uint32_t h, const uint8_t *qtable, int nb_qtable) |
static void | create_default_qtables (uint8_t *qtables, uint8_t q) |
static int | jpeg_parse_packet (AVFormatContext *ctx, PayloadContext *jpeg, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags) |
Variables | |
static const uint8_t | default_quantizers [128] |
RTPDynamicProtocolHandler | ff_jpeg_dynamic_handler |
|
static |
Definition at line 62 of file rtpdec_jpeg.c.
|
inlinestatic |
Definition at line 67 of file rtpdec_jpeg.c.
Referenced by jpeg_free_context(), and jpeg_parse_packet().
|
static |
Definition at line 77 of file rtpdec_jpeg.c.
|
static |
Definition at line 83 of file rtpdec_jpeg.c.
Referenced by jpeg_create_header().
|
static |
Definition at line 102 of file rtpdec_jpeg.c.
Referenced by jpeg_create_header().
|
static |
Definition at line 108 of file rtpdec_jpeg.c.
Referenced by jpeg_parse_packet().
Definition at line 199 of file rtpdec_jpeg.c.
Referenced by jpeg_parse_packet().
|
static |
Definition at line 220 of file rtpdec_jpeg.c.
|
static |
Definition at line 40 of file rtpdec_jpeg.c.
Referenced by create_default_qtables().
RTPDynamicProtocolHandler ff_jpeg_dynamic_handler |
Definition at line 384 of file rtpdec_jpeg.c.
Referenced by ff_register_rtp_dynamic_payload_handlers().