Home
last modified time | relevance | path

Searched refs:shift_bytes (Results 1 – 4 of 4) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst/audiomixmatrix/
Dgstaudiomixmatrix.c256 self->shift_bytes = 32 - 16 - 1 - ceil (log (self->in_channels) / log (2)); in gst_audio_mix_matrix_convert_s16_matrix()
264 (gint32) ((self->matrix[i]) * (1 << self->shift_bytes)); in gst_audio_mix_matrix_convert_s16_matrix()
274 self->shift_bytes = 64 - 32 - 1 - (gint) (log (self->in_channels) / log (2)); in gst_audio_mix_matrix_convert_s32_matrix()
282 (gint64) ((self->matrix[i]) * (1 << self->shift_bytes)); in gst_audio_mix_matrix_convert_s32_matrix()
486 guint n = self->shift_bytes; in gst_audio_mix_matrix_transform()
509 guint n = self->shift_bytes; in gst_audio_mix_matrix_transform()
Dgstaudiomixmatrix.h63 gint shift_bytes; member
/third_party/node/tools/inspector_protocol/encoding/
Dencoding.cc166 for (int shift_bytes = sizeof(T) - 1; shift_bytes >= 0; --shift_bytes) in WriteBytesMostSignificantByteFirst() local
167 out->push_back(0xff & (v >> (shift_bytes * 8))); in WriteBytesMostSignificantByteFirst()
177 for (size_t shift_bytes = 0; shift_bytes < sizeof(T); ++shift_bytes) in ReadBytesMostSignificantByteFirst() local
178 result |= T(in[sizeof(T) - 1 - shift_bytes]) << (shift_bytes * 8); in ReadBytesMostSignificantByteFirst()
493 for (int shift_bytes = sizeof(uint32_t) - 1; shift_bytes >= 0; in EncodeStopTmpl() local
494 --shift_bytes) { in EncodeStopTmpl()
495 (*out)[(*byte_size_pos)++] = 0xff & (byte_size >> (shift_bytes * 8)); in EncodeStopTmpl()
/third_party/node/tools/inspector_protocol/lib/
Dencoding_cpp.template174 for (int shift_bytes = sizeof(T) - 1; shift_bytes >= 0; --shift_bytes)
175 out->push_back(0xff & (v >> (shift_bytes * 8)));
185 for (size_t shift_bytes = 0; shift_bytes < sizeof(T); ++shift_bytes)
186 result |= T(in[sizeof(T) - 1 - shift_bytes]) << (shift_bytes * 8);
501 for (int shift_bytes = sizeof(uint32_t) - 1; shift_bytes >= 0;
502 --shift_bytes) {
503 (*out)[(*byte_size_pos)++] = 0xff & (byte_size >> (shift_bytes * 8));