Home | History | Annotate | Download | only in ffmpeg

Lines Matching defs:channel_count

47             const int32 channel_count, const string& stream) {
57 channel_count, stream, &output_samples);
76 context, output_samples.size() % channel_count == 0,
81 const int64 frame_count = output_samples.size() / channel_count;
84 0, TensorShape({frame_count, channel_count}), &output));
87 for (int32 channel = 0; channel < channel_count; ++channel) {
88 matrix(frame, channel) = output_samples[frame * channel_count + channel];
135 "channel_count must be a rank-0 tensor but got shape ",
143 const int32 channel_count = channel_count_tensor.scalar<int32>()();
157 context, channel_count > 0,
158 errors::InvalidArgument("channel_count must be positive, but got: ",
159 channel_count));
161 Decode(context, contents, file_format, samples_per_second, channel_count,
176 .Input("channel_count: int32")
188 "channel_count must be positive, but got: ", channels);
199 having `1/samples_per_second` time between them. If the `channel_count` is
209 channel_count: The number of channels of audio to read, as an int rank-0
232 OP_REQUIRES_OK(context, context->GetAttr("channel_count", &channel_count_));
234 errors::InvalidArgument("channel_count must be > 0."));
266 .Attr("channel_count: int")
269 if (c->GetAttr("channel_count", &channels).ok()) {
282 having `1/samples_per_second` time between them. If the `channel_count` is
291 channel_count: The number of channels of audio to read.