MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / put_runcode

Function put_runcode

libavcodec/cfhdenc.c:392–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390}
391
392static int put_runcode(PutBitContext *pb, int count, const Runbook *const rb)
393{
394 while (count > 0) {
395 const int index = FFMIN(320, count);
396
397 put_bits(pb, rb[index].size, rb[index].bits);
398 count -= rb[index].run;
399 }
400
401 return 0;
402}
403
404static void process_alpha(const int16_t *src, int width, int height, ptrdiff_t stride, int16_t *dst)
405{

Callers 1

cfhd_encode_frameFunction · 0.85

Calls 1

put_bitsFunction · 0.70

Tested by

no test coverage detected