Searched refs:shift_bytes (Results 1 – 4 of 4) sorted by relevance
256 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()
63 gint shift_bytes; member
166 for (int shift_bytes = sizeof(T) - 1; shift_bytes >= 0; --shift_bytes) in WriteBytesMostSignificantByteFirst() local167 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() local178 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() local494 --shift_bytes) { in EncodeStopTmpl()495 (*out)[(*byte_size_pos)++] = 0xff & (byte_size >> (shift_bytes * 8)); in EncodeStopTmpl()
174 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));