|
| #define | HEADER(name) |
| |
| #define | CHECK(call) |
| |
| #define | FUNC_NAME2(rw, codec, name) cbs_ ## codec ## _ ## rw ## _ ## name |
| |
| #define | FUNC_NAME1(rw, codec, name) FUNC_NAME2(rw, codec, name) |
| |
| #define | FUNC_H264(name) FUNC_NAME1(READWRITE, h264, name) |
| |
| #define | FUNC_H265(name) FUNC_NAME1(READWRITE, h265, name) |
| |
| #define | FUNC_H266(name) FUNC_NAME1(READWRITE, h266, name) |
| |
| #define | FUNC_SEI(name) FUNC_NAME1(READWRITE, sei, name) |
| |
| #define | SEI_FUNC(name, args) |
| |
| #define | SUBSCRIPTS(subs, ...) (subs > 0 ? ((int[subs + 1]){ subs, __VA_ARGS__ }) : NULL) |
| |
| #define | u(width, name, range_min, range_max) xu(width, name, current->name, range_min, range_max, 0, ) |
| |
| #define | flag(name) ub(1, name) |
| |
| #define | ue(name, range_min, range_max) xue(name, current->name, range_min, range_max, 0, ) |
| |
| #define | i(width, name, range_min, range_max) xi(width, name, current->name, range_min, range_max, 0, ) |
| |
| #define | ib(width, name) xi(width, name, current->name, MIN_INT_BITS(width), MAX_INT_BITS(width), 0, ) |
| |
| #define | se(name, range_min, range_max) xse(name, current->name, range_min, range_max, 0, ) |
| |
| #define | us(width, name, range_min, range_max, subs, ...) xu(width, name, current->name, range_min, range_max, subs, __VA_ARGS__) |
| |
| #define | ubs(width, name, subs, ...) xu(width, name, current->name, 0, MAX_UINT_BITS(width), subs, __VA_ARGS__) |
| |
| #define | flags(name, subs, ...) xu(1, name, current->name, 0, 1, subs, __VA_ARGS__) |
| |
| #define | ues(name, range_min, range_max, subs, ...) xue(name, current->name, range_min, range_max, subs, __VA_ARGS__) |
| |
| #define | is(width, name, range_min, range_max, subs, ...) xi(width, name, current->name, range_min, range_max, subs, __VA_ARGS__) |
| |
| #define | ibs(width, name, subs, ...) xi(width, name, current->name, MIN_INT_BITS(width), MAX_INT_BITS(width), subs, __VA_ARGS__) |
| |
| #define | ses(name, range_min, range_max, subs, ...) xse(name, current->name, range_min, range_max, subs, __VA_ARGS__) |
| |
| #define | fixed(width, name, value) |
| |
| #define | READ |
| |
| #define | READWRITE read |
| |
| #define | RWContext GetBitContext |
| |
| #define | ub(width, name) |
| |
| #define | xu(width, name, var, range_min, range_max, subs, ...) |
| |
| #define | xue(name, var, range_min, range_max, subs, ...) |
| |
| #define | xi(width, name, var, range_min, range_max, subs, ...) |
| |
| #define | xse(name, var, range_min, range_max, subs, ...) |
| |
| #define | infer(name, value) |
| |
| #define | more_rbsp_data(var) ((var) = cbs_h2645_read_more_rbsp_data(rw)) |
| |
| #define | bit_position(rw) (get_bits_count(rw)) |
| |
| #define | byte_alignment(rw) (get_bits_count(rw) % 8) |
| |
| #define | allocate(name, size) |
| |
| #define | FUNC(name) FUNC_SEI(name) |
| |
| #define | allocate(name, size) |
| |
| #define | FUNC(name) FUNC_H264(name) |
| |
| #define | FUNC(name) FUNC_H265(name) |
| |
| #define | FUNC(name) FUNC_H266(name) |
| |
| #define | WRITE |
| |
| #define | READWRITE write |
| |
| #define | RWContext PutBitContext |
| |
| #define | ub(width, name) |
| |
| #define | xu(width, name, var, range_min, range_max, subs, ...) |
| |
| #define | xue(name, var, range_min, range_max, subs, ...) |
| |
| #define | xi(width, name, var, range_min, range_max, subs, ...) |
| |
| #define | xse(name, var, range_min, range_max, subs, ...) |
| |
| #define | infer(name, value) |
| |
| #define | more_rbsp_data(var) (var) |
| |
| #define | bit_position(rw) (put_bits_count(rw)) |
| |
| #define | byte_alignment(rw) (put_bits_count(rw) % 8) |
| |
| #define | allocate(name, size) |
| |
| #define | FUNC(name) FUNC_SEI(name) |
| |
| #define | FUNC(name) FUNC_H264(name) |
| |
| #define | FUNC(name) FUNC_H265(name) |
| |
| #define | FUNC(name) FUNC_H266(name) |
| |
| #define | cbs_h2645_replace_ps(h26n, ps_name, ps_var, id_element) |
| |
| #define | cbs_h266_replace_ps(h26n, ps_name, ps_var, id_element) |
| |
| #define | SEI_MESSAGE_RW(codec, name) |
| |
|
| static int | cbs_read_ue_golomb (CodedBitstreamContext *ctx, GetBitContext *gbc, const char *name, const int *subscripts, uint32_t *write_to, uint32_t range_min, uint32_t range_max) |
| |
| static int | cbs_read_se_golomb (CodedBitstreamContext *ctx, GetBitContext *gbc, const char *name, const int *subscripts, int32_t *write_to, int32_t range_min, int32_t range_max) |
| |
| static int | cbs_write_ue_golomb (CodedBitstreamContext *ctx, PutBitContext *pbc, const char *name, const int *subscripts, uint32_t value, uint32_t range_min, uint32_t range_max) |
| |
| static int | cbs_write_se_golomb (CodedBitstreamContext *ctx, PutBitContext *pbc, const char *name, const int *subscripts, int32_t value, int32_t range_min, int32_t range_max) |
| |
| static int | cbs_h265_payload_extension_present (GetBitContext *gbc, uint32_t payload_size, int cur_pos) |
| |
| static int | cbs_h2645_read_more_rbsp_data (GetBitContext *gbc) |
| |
| static int | cbs_h2645_fragment_add_nals (CodedBitstreamContext *ctx, CodedBitstreamFragment *frag, const H2645Packet *packet) |
| |
| static int | cbs_h2645_split_fragment (CodedBitstreamContext *ctx, CodedBitstreamFragment *frag, int header) |
| |
| | cbs_h2645_replace_ps (cbs_h2645_replace_ps(4, cbs_h2645_replace_ps(SPS, cbs_h2645_replace_ps(sps, seq_parameter_set_id) |
| |
| static int | cbs_h266_replace_ph (CodedBitstreamContext *ctx, CodedBitstreamUnit *unit, H266RawPictureHeader *ph) |
| |
| static int | cbs_h264_read_nal_unit (CodedBitstreamContext *ctx, CodedBitstreamUnit *unit) |
| |
| static int | cbs_h265_read_nal_unit (CodedBitstreamContext *ctx, CodedBitstreamUnit *unit) |
| |
| static int | cbs_h266_read_nal_unit (CodedBitstreamContext *ctx, CodedBitstreamUnit *unit) |
| |
| static int | cbs_h2645_write_slice_data (CodedBitstreamContext *ctx, PutBitContext *pbc, const uint8_t *data, size_t data_size, int data_bit_start) |
| |
| static int | cbs_h264_write_nal_unit (CodedBitstreamContext *ctx, CodedBitstreamUnit *unit, PutBitContext *pbc) |
| |
| static int | cbs_h265_write_nal_unit (CodedBitstreamContext *ctx, CodedBitstreamUnit *unit, PutBitContext *pbc) |
| |
| static int | cbs_h264_discarded_nal_unit (CodedBitstreamContext *ctx, const CodedBitstreamUnit *unit, enum AVDiscard skip) |
| |
| static int | cbs_h265_discarded_nal_unit (CodedBitstreamContext *ctx, const CodedBitstreamUnit *unit, enum AVDiscard skip) |
| |
| static int | cbs_h266_write_nal_unit (CodedBitstreamContext *ctx, CodedBitstreamUnit *unit, PutBitContext *pbc) |
| |
| static int | cbs_h2645_unit_requires_zero_byte (enum AVCodecID codec_id, CodedBitstreamUnitType type, int nal_unit_index) |
| |
| static int | cbs_h2645_assemble_fragment (CodedBitstreamContext *ctx, CodedBitstreamFragment *frag) |
| |
| static av_cold void | cbs_h264_flush (CodedBitstreamContext *ctx) |
| |
| static av_cold void | cbs_h264_close (CodedBitstreamContext *ctx) |
| |
| static av_cold void | cbs_h265_flush (CodedBitstreamContext *ctx) |
| |
| static av_cold void | cbs_h265_close (CodedBitstreamContext *ctx) |
| |
| static av_cold void | cbs_h266_flush (CodedBitstreamContext *ctx) |
| |
| static av_cold void | cbs_h266_close (CodedBitstreamContext *ctx) |
| |
| static void | cbs_h264_free_sei (AVRefStructOpaque unused, void *content) |
| |
| static void | cbs_h265_free_sei (AVRefStructOpaque unused, void *content) |
| |
| static void | cbs_h266_free_slice (AVRefStructOpaque unused, void *content) |
| |
| static void | cbs_h266_free_sei (AVRefStructOpaque unused, void *content) |
| |
| const SEIMessageTypeDescriptor * | ff_cbs_sei_find_type (CodedBitstreamContext *ctx, int payload_type) |
| | Find the type descriptor for the given payload type. More...
|
| |