Home
last modified time | relevance | path

Searched refs:channel_count (Results 1 - 16 of 16) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dpsd.c52 uint16_t channel_count; member
93 s->channel_count = bytestream2_get_be16(&s->gb); in decode_header()
94 if ((s->channel_count < 1) || (s->channel_count > 56)) { in decode_header()
95 av_log(s->avctx, AV_LOG_ERROR, "Invalid channel count %d.\n", s->channel_count); in decode_header()
235 scanline_count = s->height * s->channel_count; in decode_rle()
304 s->channel_count = 0; in decode_frame()
319 if (s->channel_depth != 1 || s->channel_count != 1) { in decode_frame()
321 "Invalid bitmap file (channel_depth %d, channel_count %d)\n", in decode_frame()
322 s->channel_depth, s->channel_count); in decode_frame()
[all...]
H A Dexr.c1377 int channel_count = s->channel_offsets[3] >= 0 ? 4 : rgb_channel_count; in decode_block() local
1383 for (c = 0; c < channel_count; c++) { in decode_block()
/third_party/libsnd/tests/
H A Dpeak_chunk_test.c260 int k, chan, channel_count, position ; in check_logged_peaks() local
269 channel_count = 0 ; in check_logged_peaks()
272 channel_count = k ; in check_logged_peaks()
274 channel_count = k ; in check_logged_peaks()
280 if (channel_count != 4) in check_logged_peaks()
281 { printf ("\n\nLine %d: Wrong channel count (4 ->%d).\n", __LINE__, channel_count) ; in check_logged_peaks()
290 for (k = 0 ; k < channel_count ; k++) in check_logged_peaks()
/third_party/mesa3d/src/panfrost/midgard/
H A Dmidgard_ops.h100 unsigned channel_count = GET_CHANNEL_COUNT(alu_opcode_props[op].props); in effective_writemask() local
104 if (channel_count) in effective_writemask()
105 return (1 << channel_count) - 1; in effective_writemask()
/third_party/alsa-utils/topology/nhlt/intel/
H A Ddmic-nhlt.c211 uint16_t channel_count; in nhlt_dmic_get_ep() local
258 ret = dmic_get_params(nhlt, index, &sample_rate, &channel_count, &bits_per_sample, in nhlt_dmic_get_ep()
298 f_conf1.format.nChannels = channel_count; in nhlt_dmic_get_ep()
300 f_conf1.format.nBlockAlign = channel_count * bits_per_sample / 8; in nhlt_dmic_get_ep()
H A Dssp-nhlt.c457 uint16_t channel_count; in nhlt_ssp_get_ep() local
508 ret = ssp_get_hw_params(nhlt, dai_index, i, &sample_rate, &channel_count, in nhlt_ssp_get_ep()
516 f_conf1[i].format.nChannels = channel_count; in nhlt_ssp_get_ep()
519 f_conf1[i].format.nBlockAlign = channel_count * bits_per_sample / 8; in nhlt_ssp_get_ep()
/third_party/alsa-utils/topology/nhlt/intel/dmic/
H A Ddmic-process.h36 uint16_t *channel_count, uint32_t *bits_per_sample, uint8_t *array_type,
H A Ddmic-process.c1047 uint16_t *channel_count, uint32_t *bits_per_sample, uint8_t *array_type, in dmic_get_params()
1057 *channel_count = 0; in dmic_get_params()
1071 *channel_count = channels; in dmic_get_params()
1046 dmic_get_params(struct intel_nhlt_params *nhlt, int index, uint32_t *sample_rate, uint16_t *channel_count, uint32_t *bits_per_sample, uint8_t *array_type, uint8_t *num_mics, uint8_t *extension, uint32_t *snr, uint32_t *sensitivity) dmic_get_params() argument
/third_party/alsa-utils/topology/nhlt/intel/ssp/
H A Dssp-process.h60 uint32_t *sample_rate, uint16_t *channel_count, uint32_t *bits_per_sample);
H A Dssp-process.c798 uint32_t *sample_rate, uint16_t *channel_count, uint32_t *bits_per_sample) in ssp_get_hw_params()
805 *channel_count = ssp->ssp_prm[dai_index].hw_cfg[hw_index].tdm_slots; in ssp_get_hw_params()
797 ssp_get_hw_params(struct intel_nhlt_params *nhlt, int dai_index, int hw_index, uint32_t *sample_rate, uint16_t *channel_count, uint32_t *bits_per_sample) ssp_get_hw_params() argument
/third_party/pulseaudio/src/modules/alsa/
H A Dalsa-mixer.c2525 int channel_count = 0; in element_parse_override_map() local
2539 pa_atoi(s + 1, &channel_count); in element_parse_override_map()
2540 if (channel_count < 1 || channel_count > POSITION_MASK_CHANNELS) { in element_parse_override_map()
2553 if (i >= (unsigned)channel_count) { in element_parse_override_map()
2554 pa_log("[%s:%u] Invalid override map size (>%d) in '%s'", state->filename, state->lineno, channel_count, state->section); in element_parse_override_map()
2580 if (e->masks[channel_position][channel_count-1]) { in element_parse_override_map()
2585 e->override_map |= (1 << (channel_count - 1)); in element_parse_override_map()
2586 e->masks[channel_position][channel_count-1] = m; in element_parse_override_map()
/third_party/alsa-lib/src/topology/
H A Dtplg_local.h371 unsigned int channel_count, struct tplg_buf *dst, const char *pfx);
/third_party/ffmpeg/libavformat/
H A Dmov.c2270 int channel_count;
2276 channel_count = avio_rb16(pb);
2279 st->codecpar->ch_layout.nb_channels = channel_count;
2281 av_log(c->fc, AV_LOG_TRACE, "audio channels %d\n", channel_count);
2301 channel_count = avio_rb32(pb);
2303 st->codecpar->ch_layout.nb_channels = channel_count;
2617 int channel_count = AV_RB8(st->codecpar->extradata + 21);
2618 if (st->codecpar->ch_layout.nb_channels != channel_count) {
2621 st->codecpar->ch_layout.nb_channels = channel_count;
7660 int ambisonic_order, channel_order, normalization, channel_count;
[all...]
H A Dmxfenc.c416 int channel_count; member
1457 if (mxf->channel_count == -1) { in mxf_write_generic_sound_common()
1464 if (show_warnings && (mxf->channel_count < st->codecpar->ch_layout.nb_channels)) in mxf_write_generic_sound_common()
1466 if (show_warnings && (mxf->channel_count != 4) && (mxf->channel_count != 8)) in mxf_write_generic_sound_common()
1468 avio_wb32(pb, mxf->channel_count); in mxf_write_generic_sound_common()
3232 offsetof(MXFContext, channel_count), AV_OPT_TYPE_INT, {.i64 = -1}, -1, 8, AV_OPT_FLAG_ENCODING_PARAM},
H A Dnsvdec.c113 uint8_t channel_count;
/third_party/backends/backend/
H A Dhp3900_rts8822.c1644 SANE_Int channel_count; in SetScanParams() local
1741 channel_count = 3; in SetScanParams()
1745 scancfg->coord.width * (channel_count * channel_size); in SetScanParams()
1838 channel_count = 3; in SetScanParams()
1841 channel_count = 1; in SetScanParams()
1844 channel_count = (dev->scanmodes[mymode]->samplerate == PIXEL_RATE) ? 2 : 1; /*1 */ in SetScanParams()
1849 bytesperline = mycoords.width * (channel_count * channel_size); in SetScanParams()
1850 imagewidth3 = bytesperline / channel_count; in SetScanParams()
1853 bytesperline - (aditional_dots * (channel_count * channel_size)); in SetScanParams()
1854 dev->Resize->fromwidth = line_size / (channel_count * channel_siz in SetScanParams()
[all...]

Completed in 39 milliseconds