Searched refs:av_popcount (Results 1 – 16 of 16) sorted by relevance
175 #ifndef av_popcount176 # define av_popcount av_popcount_c macro470 return av_popcount((uint32_t)x) + av_popcount((uint32_t)(x >> 32)); in av_popcount64_c()475 return av_popcount(v) & 1; in av_parity_c()
64 val += av_popcount( (first[i] & second[i] ) << 24 | in intersection_word()69 val += av_popcount( (first[28] & second[28]) << 16 | in intersection_word()79 val += av_popcount( (first[i] | second[i] ) << 24 | in union_word()84 val += av_popcount( (first[28] | second[28]) << 16 | in union_word()
544 return av_popcount(mask); in compute_bit_depth()
1099 if (s->statistics && s->height > 10 && s->width > 280 * av_popcount(s->components)) { in oscilloscope_filter_frame()
148 skip_bits_long(&s->gb, av_popcount(remap_ch_mask) * 5); in parse_descriptor()225 skip_bits_long(&s->gb, av_popcount(mix_map_mask) * 6); in parse_descriptor()453 skip_bits_long(&s->gb, av_popcount(active_exss_mask[i]) * 8); in ff_dca_exss_parse()
83 int *coeff_r = coeff_l + av_popcount(ch_mask); in ff_dca_downmix_to_stereo_fixed()114 int *coeff_r = coeff_l + av_popcount(ch_mask); in ff_dca_downmix_to_stereo_float()
161 return av_popcount((mask & 0xffff) | ((mask & 0xae66) << 16)); in ff_dca_count_chs_for_mask()
170 silent_chunks = av_popcount(flags); in vmdaudio_decode_frame()
209 if (av_popcount(s->xxch_spkr_mask) != nchannels) { in parse_coding_header()1981 nsamples * av_popcount(s->ch_mask) * sizeof(int32_t)); in ff_dca_core_filter_fixed()2186 nchannels = av_popcount(s->ch_mask) - avctx->channels; in filter_frame_float()
338 av_popcount(ctx->mb_width & (1 << log2_slice_mb_width) - 1)); in decode_picture_header()
1256 ctx->slices_width += av_popcount(ctx->mb_width - ctx->slices_width * mps); in encode_init()
217 if (av_popcount(c->ch_mask) != c->nchannels) { in chs_parse_header()
75 #define av_popcount __builtin_popcount macro
213 if (av_popcount(channels) * (uint64_t)track_size > INT_MAX) in get_packet_header()216 ret = av_popcount(channels) * track_size; in get_packet_header()
841 || av_popcount(b[3]) != 1 || b[3] > 8 in pcx_probe()1067 || AV_RB32(b + 32) & ~56 || av_popcount(AV_RB32(b + 32)) != 1 // bitmap unit in xwd_probe()1069 || AV_RB32(b + 40) & ~56 || av_popcount(AV_RB32(b + 40)) != 1 // padding in xwd_probe()
2952 2010-09-14 - bc6f0af - lavu 50.27.0 - av_popcount()2953 Add av_popcount() to libavutil/common.h.