• Home
  • Raw
  • Download

Lines Matching refs:pbc

64 static int cbs_vp9_write_s(CodedBitstreamContext *ctx, PutBitContext *pbc,  in cbs_vp9_write_s()  argument
71 if (put_bits_left(pbc) < width + 1) in cbs_vp9_write_s()
85 ff_cbs_trace_syntax_element(ctx, put_bits_count(pbc), in cbs_vp9_write_s()
89 put_bits(pbc, width, magnitude); in cbs_vp9_write_s()
90 put_bits(pbc, 1, sign); in cbs_vp9_write_s()
131 static int cbs_vp9_write_increment(CodedBitstreamContext *ctx, PutBitContext *pbc, in cbs_vp9_write_increment() argument
149 if (put_bits_left(pbc) < len) in cbs_vp9_write_increment()
162 ff_cbs_trace_syntax_element(ctx, put_bits_count(pbc), in cbs_vp9_write_increment()
167 put_bits(pbc, len, (1 << len) - 1 - (value != range_max)); in cbs_vp9_write_increment()
210 static int cbs_vp9_write_le(CodedBitstreamContext *ctx, PutBitContext *pbc, in cbs_vp9_write_le() argument
218 if (put_bits_left(pbc) < width) in cbs_vp9_write_le()
229 ff_cbs_trace_syntax_element(ctx, put_bits_count(pbc), in cbs_vp9_write_le()
234 put_bits(pbc, 8, value >> b & 0xff); in cbs_vp9_write_le()
523 PutBitContext *pbc) in cbs_vp9_write_unit() argument
528 err = cbs_vp9_write_frame(ctx, pbc, frame); in cbs_vp9_write_unit()
533 av_assert0(put_bits_count(pbc) % 8 == 0); in cbs_vp9_write_unit()
536 if (frame->data_size > put_bits_left(pbc) / 8) in cbs_vp9_write_unit()
539 flush_put_bits(pbc); in cbs_vp9_write_unit()
540 memcpy(put_bits_ptr(pbc), frame->data, frame->data_size); in cbs_vp9_write_unit()
541 skip_put_bytes(pbc, frame->data_size); in cbs_vp9_write_unit()
568 PutBitContext pbc; in cbs_vp9_assemble_fragment() local
616 init_put_bits(&pbc, data + pos, size - pos); in cbs_vp9_assemble_fragment()
618 err = cbs_vp9_write_superframe_index(ctx, &pbc, &sfi); in cbs_vp9_assemble_fragment()
626 av_assert0(put_bits_left(&pbc) == 0); in cbs_vp9_assemble_fragment()
627 flush_put_bits(&pbc); in cbs_vp9_assemble_fragment()