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

Function hb_bitvec_cmp

libhb/muxcommon.c:156–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156static int hb_bitvec_cmp(hb_bitvec_t *bv1, hb_bitvec_t *bv2)
157{
158 if (bv1->size != bv2->size)
159 return 0;
160
161 int ii;
162 int words = (bv1->size + 31) >> 5;
163 for (ii = 0; ii < words; ii++)
164 if (bv1->vec[ii] != bv2->vec[ii])
165 return 0;
166 return 1;
167}
168
169static int hb_bitvec_and_cmp(hb_bitvec_t *bv1, hb_bitvec_t *bv2, hb_bitvec_t *bv3)
170{

Callers 1

muxWorkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected