FFmpeg
|
#include "cbs.h"
#include "cbs_internal.h"
#include "cbs_jpeg.h"
#include "cbs_jpeg_syntax_template.c"
Go to the source code of this file.
Macros | |
#define | HEADER(name) |
#define | CHECK(call) |
#define | SUBSCRIPTS(subs, ...) (subs > 0 ? ((int[subs + 1]){ subs, __VA_ARGS__ }) : NULL) |
#define | u(width, name, range_min, range_max) xu(width, name, range_min, range_max, 0) |
#define | us(width, name, sub, range_min, range_max) xu(width, name, range_min, range_max, 1, sub) |
#define | READ |
#define | READWRITE read |
#define | RWContext GetBitContext |
#define | FUNC(name) cbs_jpeg_read_ ## name |
#define | xu(width, name, range_min, range_max, subs, ...) |
#define | WRITE |
#define | READWRITE write |
#define | RWContext PutBitContext |
#define | FUNC(name) cbs_jpeg_write_ ## name |
#define | xu(width, name, range_min, range_max, subs, ...) |
#define | SEGMENT(marker, type, func, free) |
#define | SEGMENT(marker, func) |
Functions | |
static void | cbs_jpeg_free_application_data (void *unit, uint8_t *content) |
static void | cbs_jpeg_free_comment (void *unit, uint8_t *content) |
static void | cbs_jpeg_free_scan (void *unit, uint8_t *content) |
static int | cbs_jpeg_split_fragment (CodedBitstreamContext *ctx, CodedBitstreamFragment *frag, int header) |
static int | cbs_jpeg_read_unit (CodedBitstreamContext *ctx, CodedBitstreamUnit *unit) |
static int | cbs_jpeg_write_scan (CodedBitstreamContext *ctx, CodedBitstreamUnit *unit, PutBitContext *pbc) |
static int | cbs_jpeg_write_segment (CodedBitstreamContext *ctx, CodedBitstreamUnit *unit, PutBitContext *pbc) |
static int | cbs_jpeg_write_unit (CodedBitstreamContext *ctx, CodedBitstreamUnit *unit, PutBitContext *pbc) |
static int | cbs_jpeg_assemble_fragment (CodedBitstreamContext *ctx, CodedBitstreamFragment *frag) |
Variables | |
const CodedBitstreamType | ff_cbs_type_jpeg |
#define HEADER | ( | name | ) |
Definition at line 24 of file cbs_jpeg.c.
#define CHECK | ( | call | ) |
Definition at line 28 of file cbs_jpeg.c.
Definition at line 34 of file cbs_jpeg.c.
Definition at line 36 of file cbs_jpeg.c.
Definition at line 38 of file cbs_jpeg.c.
#define READ |
Definition at line 42 of file cbs_jpeg.c.
#define READWRITE read |
Definition at line 64 of file cbs_jpeg.c.
#define RWContext GetBitContext |
Definition at line 65 of file cbs_jpeg.c.
Definition at line 66 of file cbs_jpeg.c.
Definition at line 68 of file cbs_jpeg.c.
#define WRITE |
Definition at line 63 of file cbs_jpeg.c.
#define READWRITE write |
Definition at line 64 of file cbs_jpeg.c.
#define RWContext PutBitContext |
Definition at line 65 of file cbs_jpeg.c.
Definition at line 66 of file cbs_jpeg.c.
Definition at line 68 of file cbs_jpeg.c.
#define SEGMENT | ( | marker, | |
func | |||
) |
|
static |
Definition at line 85 of file cbs_jpeg.c.
Referenced by cbs_jpeg_read_unit().
|
static |
Definition at line 92 of file cbs_jpeg.c.
Referenced by cbs_jpeg_read_unit().
|
static |
Definition at line 99 of file cbs_jpeg.c.
Referenced by cbs_jpeg_read_unit().
|
static |
Definition at line 106 of file cbs_jpeg.c.
|
static |
Definition at line 246 of file cbs_jpeg.c.
|
static |
Definition at line 331 of file cbs_jpeg.c.
Referenced by cbs_jpeg_write_unit().
|
static |
Definition at line 353 of file cbs_jpeg.c.
Referenced by cbs_jpeg_write_unit().
|
static |
Definition at line 382 of file cbs_jpeg.c.
|
static |
Definition at line 392 of file cbs_jpeg.c.
const CodedBitstreamType ff_cbs_type_jpeg |
Definition at line 460 of file cbs_jpeg.c.