Lines Matching refs:pbc
330 PutBitContext *pbc) in cbs_jpeg_write_scan() argument
335 err = cbs_jpeg_write_scan_header(ctx, pbc, &scan->header); in cbs_jpeg_write_scan()
340 if (scan->data_size * 8 > put_bits_left(pbc)) in cbs_jpeg_write_scan()
343 av_assert0(put_bits_count(pbc) % 8 == 0); in cbs_jpeg_write_scan()
345 flush_put_bits(pbc); in cbs_jpeg_write_scan()
347 memcpy(put_bits_ptr(pbc), scan->data, scan->data_size); in cbs_jpeg_write_scan()
348 skip_put_bytes(pbc, scan->data_size); in cbs_jpeg_write_scan()
356 PutBitContext *pbc) in cbs_jpeg_write_segment() argument
362 err = cbs_jpeg_write_frame_header(ctx, pbc, unit->content); in cbs_jpeg_write_segment()
365 err = cbs_jpeg_write_application_data(ctx, pbc, unit->content); in cbs_jpeg_write_segment()
370 err = cbs_jpeg_write_ ## func(ctx, pbc, unit->content); \ in cbs_jpeg_write_segment()
385 PutBitContext *pbc) in cbs_jpeg_write_unit() argument
388 return cbs_jpeg_write_scan (ctx, unit, pbc); in cbs_jpeg_write_unit()
390 return cbs_jpeg_write_segment(ctx, unit, pbc); in cbs_jpeg_write_unit()