search for: ec_dec_init

Displaying 16 results from an estimated 16 matches for "ec_dec_init".

2010 Sep 02
1
Possible Bug
Hi, Fiddling with Celt i found a possible bug. I'm using CELT 0.7.1, frame size 256, sample rate 32k and bitrate 64k. Here is the scenario: decoding side, celt_decode function. The "dec" structure is created at each function call and it's initialized with ec_dec_init function. The attribute "end_byte" is not initialized though. Decoding a file the behaviour is the following: decoding the first frame the variable "shortBlocks" is true and then transient_shift == 3 hence the function ec_dec_uint is executed. In this function the attribut...
2015 Apr 13
2
Availability of the 1.1.1 stable version
...ransition = pcm_transition_celt; opus_decode_frame(st, NULL, 0, pcm_transition, IMIN(F5, audiosize), 0); } *In "opus_decode_frame" again, as data is passed as NULL, goes to else part* if (data != NULL) { audiosize = st->frame_size; mode = st->mode; ec_dec_init(&dec,(unsigned char*)data,len); } else { audiosize = frame_size; mode = st->prev_mode; *As the mode is made as prev mode now, which was a silk, this goes inside,* /* SILK processing */ if (mode != MODE_CELT_ONLY) { *Then in this function called this*, silk_...
2015 Apr 16
3
Availability of the 1.1.1 stable version
..., > audiosize), 0); > } > > *_In "opus_decode_frame" again, as data is passed as NULL, goes to > else part_* > > if (data != NULL) > { > audiosize = st->frame_size; > mode = st->mode; > ec_dec_init(&dec,(unsigned char*)data,len); > } else { > audiosize = frame_size; > mode = st->prev_mode; > > *_As the mode is made as prev mode now, which was a silk, this goes > inside,_* > > /* SILK processing */ > if (mode !...
2011 Mar 03
0
[PATCH] Eliminate the ec_int32 and ec_uint32 typedefs.
.../ -ec_uint32 ec_tell_frac(ec_ctx *_this); +celt_uint32 ec_tell_frac(ec_ctx *_this); #endif diff --git a/libcelt/entdec.c b/libcelt/entdec.c index f5676c6..8b4d2ee 100644 --- a/libcelt/entdec.c +++ b/libcelt/entdec.c @@ -125,7 +125,7 @@ static void ec_dec_normalize(ec_dec *_this){ } } -void ec_dec_init(ec_dec *_this,unsigned char *_buf,ec_uint32 _storage){ +void ec_dec_init(ec_dec *_this,unsigned char *_buf,celt_uint32 _storage){ _this->buf=_buf; _this->storage=_storage; _this->end_offs=0; @@ -160,7 +160,7 @@ unsigned ec_decode_bin(ec_dec *_this,unsigned _bits){ } void ec_de...
2015 Apr 16
2
Availability of the 1.1.1 stable version
...quot;opus_decode_frame" again, as data is passed as NULL, goes to > > else part_* > > > > if (data != NULL) > > { > > audiosize = st->frame_size; > > mode = st->mode; > > ec_dec_init(&dec,(unsigned char*)data,len); > > } else { > > audiosize = frame_size; > > mode = st->prev_mode; > > > > *_As the mode is made as prev mode now, which was a silk, this > goes > > inside,_*...
2008 Dec 21
0
[PATCH] Fix ectest to not check a case which isn't guaranteed to work, and which we don't use.
...i<ft;i++){ entropy+=log(ft)*M_LOG2E; ec_enc_uint(&enc,i,ft); @@ -59,7 +59,7 @@ int main(int _argc,char **_argv){ fprintf(stderr,"Packed to %li bytes.\n",(long)(buf.ptr-buf.buf)); ec_byte_readinit(&buf,ec_byte_get_buffer(&buf),ec_byte_bytes(&buf)); ec_dec_init(&dec,&buf); - for(ft=0;ft<1024;ft++){ + for(ft=2;ft<1024;ft++){ for(i=0;i<ft;i++){ sym=ec_dec_uint(&dec,ft); if(sym!=i){ -- 1.5.2.5 --------------030206030905070301010901--
2017 Jun 27
0
[Windows]Issue with opus 1.2 : lnk2001
...it - celt_inner_prod_sse - opus_select_arch - silk_InitEncoder - ec_enc_shrink - silk_log2lin - ec_enc_bit_logp - celt_encoder_get_size - celt_encoder_init - silk_lin2log - opus_custom_encoder_ctl - ec_enc_uint - silk_Get_Encoder_Size - celt_encode_with_ec - ec_enc_done - opus_fft_c - silk_Decode - ec_dec_init - ec_dec_uint - celt_decode_with_ec - silk_Get_Decoder_Size - ec_dec_bit_logp - silk_InitDecoder - opus_custom_decoder_ctl - celt_decoder_get_size - celt_decoder_init Could you help me ? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://l...
2015 Apr 16
0
Availability of the 1.1.1 stable version
...ame(st, NULL, 0, pcm_transition, IMIN(F5, audiosize), > 0); > } > > *In "opus_decode_frame" again, as data is passed as NULL, goes to else > part* > > if (data != NULL) > { > audiosize = st->frame_size; > mode = st->mode; > ec_dec_init(&dec,(unsigned char*)data,len); > } else { > audiosize = frame_size; > mode = st->prev_mode; > > *As the mode is made as prev mode now, which was a silk, this goes inside,* > > /* SILK processing */ > if (mode != MODE_CELT_ONLY) > { > >...
2015 Apr 09
2
Availability of the 1.1.1 stable version
Hi, I'm curious to know when would be the 1.1.1 stable version available. In 1.1, we are facing crash when opus library is trying to decode the CELT-only, full band and 20 ms. So we tried with 1.1.1 beta and it looks to be fine. Is there any open issue regarding this in 1.1 version? Thanks Suresh -------------- next part -------------- An HTML attachment was scrubbed... URL:
2015 Apr 16
0
Availability of the 1.1.1 stable version
...t; > > > *_In "opus_decode_frame" again, as data is passed as NULL, goes to > > else part_* > > > > if (data != NULL) > > { > > audiosize = st->frame_size; > > mode = st->mode; > > ec_dec_init(&dec,(unsigned char*)data,len); > > } else { > > audiosize = frame_size; > > mode = st->prev_mode; > > > > *_As the mode is made as prev mode now, which was a silk, this goes > > inside,_* > > > > /* SIL...
2015 Apr 20
1
Availability of the 1.1.1 stable version
...ata is passed as NULL, > goes to > > > else part_* > > > > > > if (data != NULL) > > > { > > > audiosize = st->frame_size; > > > mode = st->mode; > > > ec_dec_init(&dec,(unsigned char*)data,len); > > > } else { > > > audiosize = frame_size; > > > mode = st->prev_mode; > > > > > > *_As the mode is made as prev mode now, which was a silk, this > > go...
2015 Apr 21
2
Availability of the 1.1.1 stable version
...else part_* > > > > > > > > if (data != NULL) > > > > { > > > > audiosize = st->frame_size; > > > > mode = st->mode; > > > > ec_dec_init(&dec,(unsigned char*)data,len); > > > > } else { > > > > audiosize = frame_size; > > > > mode = st->prev_mode; > > > > > > > > *_As the mode is made as prev mode...
2015 Apr 21
0
Availability of the 1.1.1 stable version
...goes to > > > else part_* > > > > > > if (data != NULL) > > > { > > > audiosize = st->frame_size; > > > mode = st->mode; > > > ec_dec_init(&dec,(unsigned char*)data,len); > > > } else { > > > audiosize = frame_size; > > > mode = st->prev_mode; > > > > > > *_As the mode is made as prev mode now, which was a >...
2015 Apr 21
3
Availability of the 1.1.1 stable version
...> > > > > if (data != NULL) > > > > > { > > > > > audiosize = st->frame_size; > > > > > mode = st->mode; > > > > > ec_dec_init(&dec,(unsigned char*)data,len); > > > > > } else { > > > > > audiosize = frame_size; > > > > > mode = st->prev_mode; > > > > > > > > >...
2015 Apr 21
0
Availability of the 1.1.1 stable version
...> > > > > > > if (data != NULL) > > > > { > > > > audiosize = st->frame_size; > > > > mode = st->mode; > > > > ec_dec_init(&dec,(unsigned char*)data,len); > > > > } else { > > > > audiosize = frame_size; > > > > mode = st->prev_mode; > > > > > > > > *_As the mode...
2015 Apr 22
0
Availability of the 1.1.1 stable version
...t; > > if (data != NULL) >> > > > > { >> > > > > audiosize = st->frame_size; >> > > > > mode = st->mode; >> > > > > ec_dec_init(&dec,(unsigned char*)data,len); >> > > > > } else { >> > > > > audiosize = frame_size; >> > > > > mode = st->prev_mode; >> > > > > >> >...