Home
last modified time | relevance | path

Searched refs:av_popcount (Results 1 - 17 of 17) sorted by relevance

/third_party/ffmpeg/libavutil/
H A Dcommon.h148 #ifndef av_popcount
149 # define av_popcount av_popcount_c macro
443 return av_popcount((uint32_t)x) + av_popcount((uint32_t)(x >> 32)); in av_popcount64_c()
448 return av_popcount(v) & 1; in av_parity_c()
H A Dhwcontext_vulkan.c908 uint32_t score = av_popcount(qflags) + qf[i].timestampValidBits; in pick_queue_family()
/third_party/ffmpeg/libavfilter/
H A 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()
H A Dvf_signalstats.c536 return av_popcount(mask); in compute_bit_depth()
H A Dvf_datascope.c1095 if (s->statistics && s->height > 10 && s->width > 280 * av_popcount(s->components)) { in oscilloscope_filter_frame()
/third_party/ffmpeg/libavcodec/
H A 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()
H A Ddca.h160 return av_popcount((mask & 0xffff) | ((mask & 0xae66) << 16)); in ff_dca_count_chs_for_mask()
H A Ddcadec.c89 int *coeff_r = coeff_l + av_popcount(ch_mask); in ff_dca_downmix_to_stereo_fixed()
120 int *coeff_r = coeff_l + av_popcount(ch_mask); in ff_dca_downmix_to_stereo_float()
H A Dvmdaudio.c171 silent_chunks = av_popcount(flags); in vmdaudio_decode_frame()
H A Ddca_core.c211 if (av_popcount(s->xxch_spkr_mask) != nchannels) { in parse_coding_header()
1983 nsamples * av_popcount(s->ch_mask) * sizeof(int32_t)); in ff_dca_core_filter_fixed()
2188 nchannels = av_popcount(s->ch_mask) - avctx->ch_layout.nb_channels; in filter_frame_float()
H A Dproresdec2.c364 av_popcount(ctx->mb_width & (1 << log2_slice_mb_width) - 1)); in decode_picture_header()
H A Ddca_xll.c219 if (av_popcount(c->ch_mask) != c->nchannels) { in chs_parse_header()
H A Dproresenc_kostya.c1235 ctx->slices_width += av_popcount(ctx->mb_width - ctx->slices_width * mps); in encode_init()
H A Dwmaprodec.c406 s->nb_channels = channel_mask ? av_popcount(channel_mask) : avctx->ch_layout.nb_channels; in decode_init()
/third_party/ffmpeg/libavformat/
H A Dlxfdec.c214 if (av_popcount(channels) * (uint64_t)track_size > INT_MAX) in get_packet_header()
217 ret = av_popcount(channels) * track_size; in get_packet_header()
H A Dimg2dec.c868 || av_popcount(b[3]) != 1 || b[3] > 8 in pcx_probe()
1106 || AV_RB32(b + 32) & ~56 || av_popcount(AV_RB32(b + 32)) != 1 // bitmap unit in xwd_probe()
1108 || AV_RB32(b + 40) & ~56 || av_popcount(AV_RB32(b + 40)) != 1 // padding in xwd_probe()
/third_party/ffmpeg/libavutil/x86/
H A Dintmath.h71 /* Our generic version of av_popcount is faster than GCC's built-in on
75 #define av_popcount __builtin_popcount macro

Completed in 31 milliseconds