Go to the source code of this file.
|
| #define | HEADER(name) |
| |
| #define | CHECK(call) |
| |
| #define | SUBSCRIPTS(subs, ...) |
| |
| #define | u(width, name, range_min, range_max) |
| |
| #define | us(width, name, sub, range_min, range_max) |
| |
| #define | READ |
| |
| #define | READWRITE read |
| |
| #define | RWContext GetBitContext |
| |
| #define | FUNC(name) |
| |
| #define | xu(width, name, range_min, range_max, subs, ...) |
| |
| #define | WRITE |
| |
| #define | READWRITE write |
| |
| #define | RWContext PutBitContext |
| |
| #define | FUNC(name) |
| |
| #define | xu(width, name, range_min, range_max, subs, ...) |
| |
| #define | SEGMENT(marker, func) |
| |
| #define | SEGMENT(marker, func) |
| |
|
| 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) |
| |
◆ HEADER
Value: do { \
} while (0)
static AVFormatContext * ctx
Definition at line 25 of file cbs_jpeg.c.
◆ CHECK
Value: do { \
err = (call); \
if (err < 0) \
return err; \
} while (0)
Definition at line 29 of file cbs_jpeg.c.
◆ SUBSCRIPTS
| #define SUBSCRIPTS |
( |
| subs, |
|
|
| ... ) |
Value:(subs > 0 ? ((
int[subs + 1]){ subs, __VA_ARGS__ }) :
NULL)
Definition at line 35 of file cbs_jpeg.c.
| #define u |
( |
| width, |
|
|
| name, |
|
|
| range_min, |
|
|
| range_max ) |
Value:
#define xu(width, name, var, range_min, range_max, subs,...)
Definition at line 37 of file cbs_jpeg.c.
◆ us
| #define us |
( |
| width, |
|
|
| name, |
|
|
| sub, |
|
|
| range_min, |
|
|
| range_max ) |
◆ READ
◆ READWRITE [1/2]
◆ RWContext [1/2]
◆ FUNC [1/2]
◆ xu [1/2]
| #define xu |
( |
| width, |
|
|
| name, |
|
|
| range_min, |
|
|
| range_max, |
|
|
| subs, |
|
|
| ... ) |
Value: do { \
&
value, range_min, range_max)); \
} while (0)
static struct @111144215057303131116103221376075045141373005341 current
#define SUBSCRIPTS(subs,...)
Definition at line 48 of file cbs_jpeg.c.
◆ WRITE
◆ READWRITE [2/2]
◆ RWContext [2/2]
◆ FUNC [2/2]
◆ xu [2/2]
| #define xu |
( |
| width, |
|
|
| name, |
|
|
| range_min, |
|
|
| range_max, |
|
|
| subs, |
|
|
| ... ) |
Value: do { \
value, range_min, range_max)); \
} while (0)
Definition at line 48 of file cbs_jpeg.c.
◆ SEGMENT [1/2]
| #define SEGMENT |
( |
| marker, |
|
|
| func ) |
Value: case JPEG_MARKER_ ## marker: \
{ \
err = cbs_jpeg_read_ ##
func(
ctx, &gbc, unit->content); \
if (err < 0) \
return err; \
} \
break
int(* func)(AVBPrint *dst, const char *in, const char *arg)
Referenced by cbs_jpeg_read_unit(), and cbs_jpeg_write_segment().
◆ SEGMENT [2/2]
| #define SEGMENT |
( |
| marker, |
|
|
| func ) |
Value: case JPEG_MARKER_ ## marker: \
err = cbs_jpeg_write_ ##
func(
ctx, pbc, unit->content); \
break;
◆ cbs_jpeg_split_fragment()
◆ cbs_jpeg_read_unit()
◆ cbs_jpeg_write_scan()
◆ cbs_jpeg_write_segment()
◆ cbs_jpeg_write_unit()
◆ cbs_jpeg_assemble_fragment()
◆ cbs_jpeg_unit_types
Initial value:= {
}
#define CBS_UNIT_TYPE_POD(type_, structure)
#define CBS_UNIT_TYPE_END_OF_LIST
#define CBS_UNIT_RANGE_POD(range_start, range_end, structure)
#define CBS_UNIT_TYPE_INTERNAL_REF(type, structure, ref_field)
#define CBS_UNIT_RANGE_INTERNAL_REF(range_start, range_end, structure, ref_field)
Definition at line 420 of file cbs_jpeg.c.
◆ ff_cbs_type_jpeg
Initial value:= {
}
static int cbs_jpeg_read_unit(CodedBitstreamContext *ctx, CodedBitstreamUnit *unit)
static int cbs_jpeg_assemble_fragment(CodedBitstreamContext *ctx, CodedBitstreamFragment *frag)
static CodedBitstreamUnitTypeDescriptor cbs_jpeg_unit_types[]
static int cbs_jpeg_write_unit(CodedBitstreamContext *ctx, CodedBitstreamUnit *unit, PutBitContext *pbc)
static int cbs_jpeg_split_fragment(CodedBitstreamContext *ctx, CodedBitstreamFragment *frag, int header)
Definition at line 436 of file cbs_jpeg.c.