MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / hb_bitvec_bit

Function hb_bitvec_bit

libhb/muxcommon.c:135–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135static int hb_bitvec_bit(hb_bitvec_t *bv, int n)
136{
137 if (n >= bv->size)
138 return 0; // Error. Should never happen.
139
140 int word = n >> 5;
141 uint32_t bit = 1 << (n & 0x1F);
142 return !!(bv->vec[word] & bit);
143}
144
145static int hb_bitvec_any(hb_bitvec_t *bv)
146{

Callers 1

muxWorkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected