cbs_jpeg.c File Reference
Go to the source code of this file.
Macros
#define
SUBSCRIPTS(subs, ...) (subs > 0 ? ((int[subs + 1]){ subs, __VA_ARGS__ }) :
NULL)
#define
xu(
width,
name, range_min, range_max, subs, ...)
#define
xu(
width,
name, range_min, range_max, subs, ...)
Functions
Variables
Macro Definition Documentation
◆ HEADER
◆ 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,
...
)
(subs > 0 ? ((int[subs + 1]){ subs, __VA_ARGS__ }) :
NULL)
◆ us
sub,
range_min,
range_max
◆ READ
◆ READWRITE [1/2]
◆ RWContext [1/2]
◆ FUNC [1/2]
#define FUNC
(
name )
cbs_jpeg_read_ ##
name
◆ xu [1/2]
range_min,
range_max,
subs,
...
)
Value: do { \
&
value, range_min, range_max)); \
} while (0)
Definition at line 69 of file cbs_jpeg.c.
◆ WRITE
◆ READWRITE [2/2]
◆ RWContext [2/2]
◆ FUNC [2/2]
#define FUNC
(
name )
cbs_jpeg_write_ ##
name
◆ xu [2/2]
range_min,
range_max,
subs,
...
)
Value: do { \
uint32_t
value = current->name; \
value, range_min, range_max)); \
} while (0)
Definition at line 69 of file cbs_jpeg.c.
◆ SEGMENT [1/2]
#define SEGMENT
(
marker,
)
Value: case JPEG_MARKER_ ## marker: \
{ \
err = cbs_jpeg_read_ ##
func(
ctx, &gbc, unit->content); \
if (err < 0) \
return err; \
} \
break
◆ SEGMENT [2/2]
#define SEGMENT
(
marker,
)
Value: case JPEG_MARKER_ ## marker: \
err = cbs_jpeg_write_ ##
func(
ctx, pbc, unit->content); \
break;
Function Documentation
◆ cbs_jpeg_split_fragment()
◆ cbs_jpeg_read_unit()
◆ cbs_jpeg_write_scan()
◆ cbs_jpeg_write_segment()
◆ cbs_jpeg_write_unit()
◆ cbs_jpeg_assemble_fragment()
Variable Documentation
◆ cbs_jpeg_unit_types
◆ ff_cbs_type_jpeg
int(* func)(AVBPrint *dst, const char *in, const char *arg)
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default minimum maximum flags name is the option name
#define CBS_UNIT_RANGE_POD(range_start, range_end, structure)
#define CBS_UNIT_TYPE_INTERNAL_REF(type, structure, ref_field)
static int cbs_jpeg_assemble_fragment(CodedBitstreamContext *ctx, CodedBitstreamFragment *frag)
static CodedBitstreamUnitTypeDescriptor cbs_jpeg_unit_types[]
#define CBS_UNIT_RANGE_INTERNAL_REF(range_start, range_end, structure, ref_field)
static int cbs_jpeg_read_unit(CodedBitstreamContext *ctx, CodedBitstreamUnit *unit)
#define SUBSCRIPTS(subs,...)
#define CBS_UNIT_TYPE_POD(type_, structure)
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default value
static int cbs_jpeg_split_fragment(CodedBitstreamContext *ctx, CodedBitstreamFragment *frag, int header)
#define CBS_UNIT_TYPE_END_OF_LIST
static int cbs_jpeg_write_unit(CodedBitstreamContext *ctx, CodedBitstreamUnit *unit, PutBitContext *pbc)
Generated on Tue Nov 18 2025 19:23:52 for FFmpeg by
doxygen
1.8.17