Home
last modified time | relevance | path

Searched refs:_ogg_calloc (Results 1 – 25 of 28) sorted by relevance

12

/external/libvorbis/vq/
Dmetrics.c63 histogram=_ogg_calloc(books,sizeof(float *)); in process_preprocess()
64 histogram_error=_ogg_calloc(books,sizeof(float *)); in process_preprocess()
65 histogram_errorsq=_ogg_calloc(books,sizeof(float *)); in process_preprocess()
66 histogram_hi=_ogg_calloc(books,sizeof(float *)); in process_preprocess()
67 histogram_lo=_ogg_calloc(books,sizeof(float *)); in process_preprocess()
75 histogram[i]=_ogg_calloc(b->entries,sizeof(float)); in process_preprocess()
76 histogram_error[i]=_ogg_calloc(b->entries*b->dim,sizeof(float)); in process_preprocess()
77 histogram_errorsq[i]=_ogg_calloc(b->entries*b->dim,sizeof(float)); in process_preprocess()
78 histogram_hi[i]=_ogg_calloc(b->entries*b->dim,sizeof(float)); in process_preprocess()
79 histogram_lo[i]=_ogg_calloc(b->entries*b->dim,sizeof(float)); in process_preprocess()
Dhuffbuild.c130 long *hist=_ogg_calloc(vals,sizeof(long)); in main()
131 long *lengths=_ogg_calloc(vals,sizeof(long)); in main()
Dlatticebuild.c77 char *filename=_ogg_calloc(strlen(argv[1])+4,1); in main()
110 c.quantlist=_ogg_calloc(quantvals,sizeof(long)); in main()
Dbookutil.c234 codebook *b=_ogg_calloc(1,sizeof(codebook)); in codebook_load()
235 static_codebook *c=(static_codebook *)(b->c=_ogg_calloc(1,sizeof(static_codebook))); in codebook_load()
413 long *lengthlist=_ogg_calloc(vals,sizeof(long)); in build_tree_from_lengths0()
Dlatticetune.c85 lengths=_ogg_calloc(entries,sizeof(long)); in main()
Dvqgen.c255 v->bias=_ogg_calloc(v->entries,sizeof(float)); in vqgen_init()
256 v->max=_ogg_calloc(v->entries,sizeof(float)); in vqgen_init()
/external/tremolo/Tremolo/
Dtreminfo.c132 vi->codec_setup=(codec_setup_info *)_ogg_calloc(1,sizeof(codec_setup_info)); in vorbis_info_init()
220 vc->vendor=(char *)_ogg_calloc(vendorlen+1,1); in _vorbis_unpack_comment()
225 vc->user_comments=(char **)_ogg_calloc(vc->comments+1,sizeof(*vc->user_comments)); in _vorbis_unpack_comment()
230 vc->comment_lengths=(int *)_ogg_calloc(vc->comments+1, sizeof(*vc->comment_lengths)); in _vorbis_unpack_comment()
237 vc->user_comments[i]=(char *)_ogg_calloc(len+1,1); in _vorbis_unpack_comment()
258 ci->book_param=(codebook *)_ogg_calloc(ci->books,sizeof(*ci->book_param)); in _vorbis_unpack_books()
273 ci->floor_param=_ogg_calloc(ci->floors, sizeof(*ci->floor_param)); in _vorbis_unpack_books()
274 ci->floor_type=_ogg_calloc(ci->floors, sizeof(*ci->floor_type)); in _vorbis_unpack_books()
291 ci->residue_param=_ogg_calloc(ci->residues, sizeof(*ci->residue_param)); in _vorbis_unpack_books()
301 ci->map_param=_ogg_calloc(ci->maps, sizeof(*ci->map_param)); in _vorbis_unpack_books()
[all …]
Ddsp.c76 v->work[i]=(ogg_int32_t *)_ogg_calloc(1,(ci->blocksizes[1]>>1)* in vorbis_dsp_init()
78 v->mdctright[i]=(ogg_int32_t *)_ogg_calloc(1,(ci->blocksizes[1]>>2)* in vorbis_dsp_init()
90 vorbis_dsp_state *v=_ogg_calloc(1,sizeof(*v)); in vorbis_dsp_create()
Dmisc.h51 #undef _ogg_calloc
56 #define _ogg_calloc(x,y) _VDBG_malloc(NULL,(x)*(y),__FILE__,__LINE__) macro
Dos_types.h51 #define _ogg_calloc calloc macro
Dframing.c56 ogg_buffer_state *bs=_ogg_calloc(1,sizeof(*bs)); in ogg_buffer_create()
586 ogg_sync_state *oy=_ogg_calloc(1,sizeof(*oy)); in ogg_sync_create()
859 ogg_stream_state *os=_ogg_calloc(1,sizeof(*os)); in ogg_stream_create()
Dfloor1.c111 vorbis_info_floor1 *info=(vorbis_info_floor1 *)_ogg_calloc(1,sizeof(*info)); in floor1_info_unpack()
/external/libvorbis/lib/
Dpsytune.c278 out[0]=_ogg_calloc(framesize/2,sizeof(float)); in main()
279 out[1]=_ogg_calloc(framesize/2,sizeof(float)); in main()
280 work[0]=_ogg_calloc(framesize,sizeof(float)); in main()
281 work[1]=_ogg_calloc(framesize,sizeof(float)); in main()
282 flr[0]=_ogg_calloc(framesize/2,sizeof(float)); in main()
283 flr[1]=_ogg_calloc(framesize/2,sizeof(float)); in main()
Dblock.c96 vb->internal=_ogg_calloc(1,sizeof(vorbis_block_internal)); in vorbis_block_init()
104 _ogg_calloc(1,sizeof(oggpack_buffer)); in vorbis_block_init()
191 b=v->backend_state=_ogg_calloc(1,sizeof(*b)); in _vds_shared_init()
196 b->transform[0]=_ogg_calloc(VI_TRANSFORMB,sizeof(*b->transform[0])); in _vds_shared_init()
197 b->transform[1]=_ogg_calloc(VI_TRANSFORMB,sizeof(*b->transform[1])); in _vds_shared_init()
201 b->transform[0][0]=_ogg_calloc(1,sizeof(mdct_lookup)); in _vds_shared_init()
202 b->transform[1][0]=_ogg_calloc(1,sizeof(mdct_lookup)); in _vds_shared_init()
218 ci->fullbooks=_ogg_calloc(ci->books,sizeof(*ci->fullbooks)); in _vds_shared_init()
223 b->psy=_ogg_calloc(ci->psys,sizeof(*b->psy)); in _vds_shared_init()
236 ci->fullbooks=_ogg_calloc(ci->books,sizeof(*ci->fullbooks)); in _vds_shared_init()
[all …]
Dmisc.h42 #undef _ogg_calloc
47 #define _ogg_calloc(x,y) _VDBG_malloc(NULL,(x)*(y),__FILE__,__LINE__) macro
Dinfo.c157 vi->codec_setup=_ogg_calloc(1,sizeof(codec_setup_info)); in vorbis_info_init()
245 vc->vendor=_ogg_calloc(vendorlen+1,1); in _vorbis_unpack_comment()
251 vc->user_comments=_ogg_calloc(vc->comments+1,sizeof(*vc->user_comments)); in _vorbis_unpack_comment()
252 vc->comment_lengths=_ogg_calloc(vc->comments+1, sizeof(*vc->comment_lengths)); in _vorbis_unpack_comment()
259 vc->user_comments[i]=_ogg_calloc(len+1,1); in _vorbis_unpack_comment()
329 ci->mode_param[i]=_ogg_calloc(1,sizeof(*ci->mode_param[i])); in _vorbis_unpack_books()
Dfloor0.c147 vorbis_look_floor0 *look=_ogg_calloc(1,sizeof(*look)); in floor0_look()
152 look->linearmap=_ogg_calloc(2,sizeof(*look->linearmap)); in floor0_look()
Denvelope.c44 e->mdct_win=_ogg_calloc(n,sizeof(*e->mdct_win)); in _ve_envelope_init()
71 e->filter=_ogg_calloc(VE_BANDS*ch,sizeof(*e->filter)); in _ve_envelope_init()
72 e->mark=_ogg_calloc(e->storage,sizeof(*e->mark)); in _ve_envelope_init()
Dres0.c206 vorbis_info_residue0 *info=_ogg_calloc(1,sizeof(*info)); in res0_unpack()
270 vorbis_look_residue0 *look=_ogg_calloc(1,sizeof(*look)); in res0_look()
283 look->partbooks=_ogg_calloc(look->parts,sizeof(*look->partbooks)); in res0_look()
289 look->partbooks[j]=_ogg_calloc(stages,sizeof(*look->partbooks[j])); in res0_look()
294 look->training_data[k][j]=_ogg_calloc(look->partbooks[j][k]->entries, in res0_look()
Dsharedbook.c202 float *r=_ogg_calloc(n*b->dim,sizeof(*r)); in _book_unquantize()
382 c->dec_firsttable=_ogg_calloc(tabn,sizeof(*c->dec_firsttable)); in vorbis_book_init_decode()
Dvorbisenc.c195 vorbis_info_floor1 *f=_ogg_calloc(1,sizeof(*f)); in vorbis_encode_floor_setup()
317 p=_ogg_calloc(1,sizeof(*p)); in vorbis_encode_psyset_setup()
602 ci->map_param[i]=_ogg_calloc(1,sizeof(*map)); in vorbis_encode_map_n_res_setup()
603 ci->mode_param[i]=_ogg_calloc(1,sizeof(*mode)); in vorbis_encode_map_n_res_setup()
Dvorbisfile.c902 vf->vi=_ogg_calloc(vf->links,sizeof(*vf->vi)); in _ov_open1()
903 vf->vc=_ogg_calloc(vf->links,sizeof(*vf->vc)); in _ov_open1()
915 vf->serialnos=_ogg_calloc(serialno_list_size+2,sizeof(*vf->serialnos)); in _ov_open1()
920 vf->offsets=_ogg_calloc(1,sizeof(*vf->offsets)); in _ov_open1()
921 vf->dataoffsets=_ogg_calloc(1,sizeof(*vf->dataoffsets)); in _ov_open1()
Dcodebook.c151 static_codebook *s=_ogg_calloc(1,sizeof(*s)); in vorbis_staticbook_unpack()
Dfloor1.c138 vorbis_info_floor1 *info=_ogg_calloc(1,sizeof(*info)); in floor1_unpack()
202 vorbis_look_floor1 *look=_ogg_calloc(1,sizeof(*look)); in floor1_look()
/external/libogg/include/ogg/
Dos_types.h23 #define _ogg_calloc calloc macro

12