Home
last modified time | relevance | path

Searched refs:av_popcount (Results 1 – 16 of 16) sorted by relevance

/third_party/ffmpeg/libavutil/
Dcommon.h175 #ifndef av_popcount
176 # define av_popcount av_popcount_c macro
470 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()
/third_party/ffmpeg/libavfilter/
Dsignature_lookup.c64 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()
Dvf_signalstats.c544 return av_popcount(mask); in compute_bit_depth()
Dvf_datascope.c1099 if (s->statistics && s->height > 10 && s->width > 280 * av_popcount(s->components)) { in oscilloscope_filter_frame()
/third_party/ffmpeg/libavcodec/
Ddca_exss.c148 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()
Ddcadec.c83 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()
Ddca.h161 return av_popcount((mask & 0xffff) | ((mask & 0xae66) << 16)); in ff_dca_count_chs_for_mask()
Dvmdaudio.c170 silent_chunks = av_popcount(flags); in vmdaudio_decode_frame()
Ddca_core.c209 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()
Dproresdec2.c338 av_popcount(ctx->mb_width & (1 << log2_slice_mb_width) - 1)); in decode_picture_header()
Dproresenc_kostya.c1256 ctx->slices_width += av_popcount(ctx->mb_width - ctx->slices_width * mps); in encode_init()
Ddca_xll.c217 if (av_popcount(c->ch_mask) != c->nchannels) { in chs_parse_header()
/third_party/ffmpeg/libavutil/x86/
Dintmath.h75 #define av_popcount __builtin_popcount macro
/third_party/ffmpeg/libavformat/
Dlxfdec.c213 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()
Dimg2dec.c841 || 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()
/third_party/ffmpeg/doc/
DAPIchanges2952 2010-09-14 - bc6f0af - lavu 50.27.0 - av_popcount()
2953 Add av_popcount() to libavutil/common.h.