Displaying 6 results from an estimated 6 matches for "min_pitch".
2025 Jan 09
25
[PATCH v2 00/25] drm/dumb-buffers: Fix and improve buffer-size calculation
Dumb-buffer pitch and size is specified by width, height, bits-per-pixel
plus various hardware-specific alignments. The calculation of these
values is inconsistent and duplicated among drivers. The results for
formats with bpp < 8 are incorrect.
This series fixes this for most drivers. Default scanline pitch and
buffer size are now calculated with the existing 4CC helpers. There is
a new
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...meSize = mode->frameSize;
st->windowSize = st->frameSize*3/2;
st->nbSubframes=mode->frameSize/mode->subframeSize;
st->subframeSize=mode->subframeSize;
st->lpcSize = mode->lpcSize;
st->gamma1=mode->gamma1;
st->gamma2=mode->gamma2;
st->min_pitch=mode->pitchStart;
st->max_pitch=mode->pitchEnd;
st->lag_factor=mode->lag_factor;
st->lpc_floor = mode->lpc_floor;
st->submodes=mode->submodes;
st->submodeID=st->submodeSelect=mode->defaultSubmode;
st->bounded_pitch = 1;
st->encode_sub...
2007 Jul 23
2
Shoehorning speex is confusing a newbie
...if (st->voc_offset>=0)
exc[st->voc_offset]=sqrt(1.0*ol_pitch);
st->voc_offset+=ol_pitch;
}
because both voc_offset and ol_pitch is = 0 because this code is never
entered:
if (SUBMODE(lbr_pitch)!=-1)
{
ol_pitch = st->min_pitch+speex_bits_unpack_unsigned(bits, 7);
}
This is how I set up the decoder:
dec = speex_decoder_init(&speex_nb_mode);
speex_bits_set_bit_buffer(&bits, &Speex_enc_buffer[0 +
COMPRESS_LENGTH*Speex_player_frame], COMPRESS_LENGTH);
tmp=0;
speex_decoder_ctl(dec, SPEEX_SET_ENH...
2007 Jul 24
0
Shoehorning speex is confusing a newbie
...if (st->voc_offset>=0)
exc[st->voc_offset]=sqrt(1.0*ol_pitch);
st->voc_offset+=ol_pitch;
}
because both voc_offset and ol_pitch is = 0 because this code is never
entered:
if (SUBMODE(lbr_pitch)!=-1)
{
ol_pitch = st->min_pitch+speex_bits_unpack_unsigned(bits, 7);
}
This is how I set up the decoder:
dec = speex_decoder_init(&speex_nb_mode);
speex_bits_set_bit_buffer(&bits, &Speex_enc_buffer[0 +
COMPRESS_LENGTH*Speex_player_frame], COMPRESS_LENGTH);
tmp=0;
speex_decoder_ctl(dec, SPEEX_SET_ENH...
2007 Jul 24
0
Shoehorning speex is confusing a newbie
...offset>=0)
exc[st->voc_offset]=sqrt(1.0*ol_pitch);
st->voc_offset+=ol_pitch;
}
because both voc_offset and ol_pitch is = 0 because this code is never entered:
if (SUBMODE(lbr_pitch)!=-1)
{
ol_pitch = st->min_pitch+speex_bits_unpack_unsigned(bits, 7);
}
This is how I set up the decoder:
dec = speex_decoder_init(&speex_nb_mode);
speex_bits_set_bit_buffer(&bits, &Speex_enc_buffer[0 + COMPRESS_LENGTH*Speex_player_frame], COMPRESS_LENGTH);
tmp=0;
speex_decoder_...
2007 Jul 24
0
Shoehorning speex is confusing a newbie
...if (st->voc_offset>=0)
exc[st->voc_offset]=sqrt(1.0*ol_pitch);
st->voc_offset+=ol_pitch;
}
because both voc_offset and ol_pitch is = 0 because this code is never
entered:
if (SUBMODE(lbr_pitch)!=-1)
{
ol_pitch = st->min_pitch+speex_bits_unpack_unsigned(bits, 7);
}
This is how I set up the decoder:
dec = speex_decoder_init(&speex_nb_mode);
speex_bits_set_bit_buffer(&bits, &Speex_enc_buffer[0 +
COMPRESS_LENGTH*Speex_player_frame], COMPRESS_LENGTH);
tmp=0;
speex_decoder_ctl(dec, SPEEX_SET_ENH...