• Home
  • Raw
  • Download

Lines Matching refs:pbc

142 static int cbs_write_ue_golomb(CodedBitstreamContext *ctx, PutBitContext *pbc,  in cbs_write_ue_golomb()  argument
158 if (put_bits_left(pbc) < 2 * len + 1) in cbs_write_ue_golomb()
172 ff_cbs_trace_syntax_element(ctx, put_bits_count(pbc), in cbs_write_ue_golomb()
176 put_bits(pbc, len, 0); in cbs_write_ue_golomb()
178 put_bits(pbc, len + 1, value + 1); in cbs_write_ue_golomb()
180 put_bits32(pbc, value + 1); in cbs_write_ue_golomb()
185 static int cbs_write_se_golomb(CodedBitstreamContext *ctx, PutBitContext *pbc, in cbs_write_se_golomb() argument
209 if (put_bits_left(pbc) < 2 * len + 1) in cbs_write_se_golomb()
223 ff_cbs_trace_syntax_element(ctx, put_bits_count(pbc), in cbs_write_se_golomb()
227 put_bits(pbc, len, 0); in cbs_write_se_golomb()
229 put_bits(pbc, len + 1, uvalue + 1); in cbs_write_se_golomb()
231 put_bits32(pbc, uvalue + 1); in cbs_write_se_golomb()
938 PutBitContext *pbc, const uint8_t *data, in cbs_h2645_write_slice_data() argument
947 if (data_size * 8 + 8 > put_bits_left(pbc)) in cbs_h2645_write_slice_data()
957 put_bits(pbc, 8 - data_bit_start % 8, in cbs_h2645_write_slice_data()
960 if (put_bits_count(pbc) % 8 == 0) { in cbs_h2645_write_slice_data()
964 flush_put_bits(pbc); in cbs_h2645_write_slice_data()
965 memcpy(put_bits_ptr(pbc), pos, rest); in cbs_h2645_write_slice_data()
966 skip_put_bytes(pbc, rest); in cbs_h2645_write_slice_data()
975 put_bits32(pbc, AV_RB32(pos)); in cbs_h2645_write_slice_data()
978 put_bits(pbc, 8, *pos); in cbs_h2645_write_slice_data()
987 put_bits(pbc, i, temp); in cbs_h2645_write_slice_data()
988 if (put_bits_count(pbc) % 8) in cbs_h2645_write_slice_data()
989 put_bits(pbc, 8 - put_bits_count(pbc) % 8, 0); in cbs_h2645_write_slice_data()
997 PutBitContext *pbc) in cbs_h264_write_nal_unit() argument
1006 err = cbs_h264_write_sps(ctx, pbc, sps); in cbs_h264_write_nal_unit()
1020 err = cbs_h264_write_sps_extension(ctx, pbc, sps_ext); in cbs_h264_write_nal_unit()
1030 err = cbs_h264_write_pps(ctx, pbc, pps); in cbs_h264_write_nal_unit()
1046 err = cbs_h264_write_slice_header(ctx, pbc, &slice->header); in cbs_h264_write_nal_unit()
1051 err = cbs_h2645_write_slice_data(ctx, pbc, slice->data, in cbs_h264_write_nal_unit()
1065 err = cbs_h264_write_aud(ctx, pbc, unit->content); in cbs_h264_write_nal_unit()
1073 err = cbs_h264_write_sei(ctx, pbc, unit->content); in cbs_h264_write_nal_unit()
1081 err = cbs_h264_write_filler(ctx, pbc, unit->content); in cbs_h264_write_nal_unit()
1089 err = cbs_h264_write_end_of_sequence(ctx, pbc, unit->content); in cbs_h264_write_nal_unit()
1097 err = cbs_h264_write_end_of_stream(ctx, pbc, unit->content); in cbs_h264_write_nal_unit()
1114 PutBitContext *pbc) in cbs_h265_write_nal_unit() argument
1123 err = cbs_h265_write_vps(ctx, pbc, vps); in cbs_h265_write_nal_unit()
1137 err = cbs_h265_write_sps(ctx, pbc, sps); in cbs_h265_write_nal_unit()
1151 err = cbs_h265_write_pps(ctx, pbc, pps); in cbs_h265_write_nal_unit()
1180 err = cbs_h265_write_slice_segment_header(ctx, pbc, &slice->header); in cbs_h265_write_nal_unit()
1185 err = cbs_h2645_write_slice_data(ctx, pbc, slice->data, in cbs_h265_write_nal_unit()
1198 err = cbs_h265_write_aud(ctx, pbc, unit->content); in cbs_h265_write_nal_unit()
1207 err = cbs_h265_write_sei(ctx, pbc, unit->content, in cbs_h265_write_nal_unit()