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

Function hb_bitvec_and_cmp

libhb/muxcommon.c:169–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169static int hb_bitvec_and_cmp(hb_bitvec_t *bv1, hb_bitvec_t *bv2, hb_bitvec_t *bv3)
170{
171 if (bv1->size != bv2->size)
172 return 0;
173
174 int ii;
175 int words = (bv1->size + 31) >> 5;
176 for (ii = 0; ii < words; ii++)
177 if ((bv1->vec[ii] & bv2->vec[ii]) != bv3->vec[ii])
178 return 0;
179 return 1;
180}
181
182static int hb_bitvec_cpy(hb_bitvec_t *bv1, hb_bitvec_t *bv2)
183{

Callers 1

muxWorkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected