/dports/audio/afsp/AFsp-v8r2/libtsp/AF/header/ |
H A D | AFrdSWhead.c | 203 AFr.DFormat.Format = FD_TEXT; in AFrdSWhead() 296 AFr->DFormat.ScaleF = 32768.; in AF_DataInfo() 300 AFr->DFormat.ScaleF = 32768.; in AF_DataInfo() 303 AFr->DFormat.Format = FD_INT16; in AF_DataInfo() 304 AFr->DFormat.ScaleF = 1.; in AF_DataInfo() 308 AFr->DFormat.ScaleF = 1.; in AF_DataInfo() 318 AFr->DFormat.Format = FD_INT16; in AF_DataInfo() 319 AFr->DFormat.ScaleF = 1.; in AF_DataInfo() 323 AFr->DFormat.ScaleF = 32768; in AF_DataInfo() 326 AFr->DFormat.Format = FD_INT8; in AF_DataInfo() [all …]
|
H A D | AFrdSFhead.c | 120 AFr.DFormat.Swapb = DS_EL; in AFrdSFhead() 125 AFr.DFormat.Swapb = DS_EB; in AFrdSFhead() 175 offs += RHEAD_V (fp, Fhead.sf_srate, AFr.DFormat.Swapb); in AFrdSFhead() 189 AFr.DFormat.Format = FD_INT8; in AFrdSFhead() 192 AFr.DFormat.Format = FD_MULAW8; in AFrdSFhead() 195 AFr.DFormat.Format = FD_ALAW8; in AFrdSFhead() 198 AFr.DFormat.Format = FD_INT16; in AFrdSFhead() 201 AFr.DFormat.Format = FD_INT24; in AFrdSFhead() 204 AFr.DFormat.Format = FD_INT32; in AFrdSFhead() 207 AFr.DFormat.Format = FD_FLOAT32; in AFrdSFhead() [all …]
|
H A D | AFrdEShead.c | 115 AFr.DFormat.Swapb = DS_EB; in AFrdEShead() 117 AFr.DFormat.Swapb = DS_EL; in AFrdEShead() 124 if (UTswapCode (AFr.DFormat.Swapb) == DS_SWAP) { in AFrdEShead() 131 offs += RHEAD_V (fp, FheadF.Type, AFr.DFormat.Swapb); in AFrdEShead() 139 offs += RHEAD_V (fp, FheadF.Ndrec, AFr.DFormat.Swapb); in AFrdEShead() 143 offs += RHEAD_V (fp, FheadF.Nlong, AFr.DFormat.Swapb); in AFrdEShead() 145 offs += RHEAD_V (fp, FheadF.Nchar, AFr.DFormat.Swapb); in AFrdEShead() 178 AFr.DFormat.Format = FD_INT16; in AFrdEShead() 182 AFr.DFormat.Format = FD_INT32; in AFrdEShead() 186 AFr.DFormat.Format = FD_FLOAT32; in AFrdEShead() [all …]
|
H A D | AFsetNHwrite.c | 44 AFw->DFormat.ScaleF = 1. / AF_SF[AFw->DFormat.Format]; in AFsetNHwrite() 45 AFw->DFormat.Swapb = AFw->Ftype / FTW_SUBTYPE_MOD; in AFsetNHwrite() 48 if (! (AFw->DFormat.Swapb == DS_EB || AFw->DFormat.Swapb == DS_EL || in AFsetNHwrite() 49 AFw->DFormat.Swapb == DS_NATIVE || AFw->DFormat.Swapb == DS_SWAP)) { in AFsetNHwrite()
|
H A D | AFrdWVhead.c | 337 AFr->DFormat.NbS = 8 * NBytesS; in AF_decFMT() 355 AFr->DFormat.Format = FD_INT16; in AF_decFMT() 367 AFr->DFormat.Format = FD_INT24; in AF_decFMT() 383 if (AFr->DFormat.NbS != 8) { in AF_decFMT() 385 AFr->DFormat.NbS = 8; in AF_decFMT() 387 AFr->DFormat.Format = FD_MULAW8; in AF_decFMT() 395 if (AFr->DFormat.NbS != 8) { in AF_decFMT() 397 AFr->DFormat.NbS = 8; in AF_decFMT() 399 AFr->DFormat.Format = FD_ALAW8; in AF_decFMT() 432 AFr->DFormat.NbS = 8 * NBytesS; in AF_decFMT() [all …]
|
H A D | AFrdBLhead.c | 135 AFr.DFormat.Swapb = DS_EB; in AFrdBLhead() 137 AFr.DFormat.Swapb = DS_EL; in AFrdBLhead() 144 if (UTswapCode (AFr.DFormat.Swapb) == DS_SWAP) { in AFrdBLhead() 150 offs += RHEAD_V (fp, Fhead.Dtype, AFr.DFormat.Swapb); in AFrdBLhead() 152 offs += RHEAD_V (fp, Fhead.Compand, AFr.DFormat.Swapb); in AFrdBLhead() 154 offs += RHEAD_V (fp, Fhead.dl_magic, AFr.DFormat.Swapb); in AFrdBLhead() 155 offs += RHEAD_V (fp, Fhead.left, AFr.DFormat.Swapb); in AFrdBLhead() 156 offs += RHEAD_V (fp, Fhead.right, AFr.DFormat.Swapb); in AFrdBLhead() 164 AFr.DFormat.Format = FD_MULAW8; in AFrdBLhead() 168 AFr.DFormat.Format = FD_ALAW8; in AFrdBLhead() [all …]
|
H A D | AFrdAUhead.c | 96 AFr.DFormat.Format = FD_MULAW8; in AFrdAUhead() 99 AFr.DFormat.Format = FD_ALAW8; in AFrdAUhead() 102 AFr.DFormat.Format = FD_INT8; in AFrdAUhead() 105 AFr.DFormat.Format = FD_INT16; in AFrdAUhead() 108 AFr.DFormat.Format = FD_INT24; in AFrdAUhead() 111 AFr.DFormat.Format = FD_INT32; in AFrdAUhead() 114 AFr.DFormat.Format = FD_FLOAT32; in AFrdAUhead() 119 AFr.DFormat.Format = FD_FLOAT64; in AFrdAUhead() 131 AFr.DFormat.Swapb = DS_EB; in AFrdAUhead()
|
H A D | AFrdAIhead.c | 349 AFr->DFormat.Format = FD_INT8; in AF_decCOMM() 351 AFr->DFormat.Format = FD_INT16; in AF_decCOMM() 353 AFr->DFormat.Format = FD_INT24; in AF_decCOMM() 355 AFr->DFormat.Format = FD_INT32; in AF_decCOMM() 368 AFr->DFormat.Format = FD_MULAW8; in AF_decCOMM() 369 AFr->DFormat.NbS = 8 * FDL_MULAW8; in AF_decCOMM() 373 AFr->DFormat.Format = FD_ALAW8; in AF_decCOMM() 374 AFr->DFormat.NbS = 8 * FDL_ALAW8; in AF_decCOMM() 378 AFr->DFormat.Format = FD_FLOAT32; in AF_decCOMM() 385 AFr->DFormat.Format = FD_FLOAT64; in AF_decCOMM() [all …]
|
H A D | AFsetWrite.c | 62 assert (AFw->DFormat.Format > 0 && AFw->DFormat.Format < NFD); in AFsetWrite() 87 AFp->Format = AFw->DFormat.Format; in AFsetWrite() 88 if (AF_DL[AFw->DFormat.Format] <= 1) in AFsetWrite() 91 AFp->Swapb = UTswapCode (AFw->DFormat.Swapb); in AFsetWrite() 92 AFp->NbS = AF_setWNbS (AFw->DFormat.NbS, AFp->Format); in AFsetWrite() 93 AFp->ScaleF = AFw->DFormat.ScaleF; in AFsetWrite()
|
H A D | AFsetRead.c | 97 AF_NbSInfo (const struct AF_info *InfoS, const struct AF_dformat *DFormat); 114 assert (AFr->DFormat.Format > 0 && AFr->DFormat.Format < NFD); in AFsetRead() 118 Lw = AF_DL[AFr->DFormat.Format]; in AFsetRead() 129 AFp->Format = AFr->DFormat.Format; in AFsetRead() 131 AFp->ScaleF = AFr->DFormat.ScaleF; in AFsetRead() 140 AFp->Swapb = UTswapCode (AFr->DFormat.Swapb); in AFsetRead() 144 AFp->NbS = AF_NbSInfo (&AFp->InfoS, &AFr->DFormat); in AFsetRead() 406 AF_NbSInfo (const struct AF_info *InfoS, const struct AF_dformat *DFormat) in AF_NbSInfo() argument 412 Format = DFormat->Format; in AF_NbSInfo() 414 NbS = DFormat->NbS; in AF_NbSInfo()
|
H A D | AFrdSPhead.c | 135 AF_getFormat (const char Rec[], int Lr, struct AF_dformat *DFormat); 201 if (AF_getFormat (Fhead.rec, Lr, &AFr.DFormat)) in AFrdSPhead() 221 AF_getFormat (const char Rec[], int Lr, struct AF_dformat *DFormat) in AF_getFormat() argument 241 DFormat->NbS = (int) NbS; in AF_getFormat() 247 DFormat->Format = FD_INT16; in AF_getFormat() 254 DFormat->Swapb = DS_NATIVE; in AF_getFormat() 261 DFormat->Swapb = DS_EB; in AF_getFormat() 263 DFormat->Swapb = DS_EL; in AF_getFormat() 275 DFormat->Format = FD_MULAW8; in AF_getFormat() 276 DFormat->Swapb = DS_NATIVE; in AF_getFormat()
|
H A D | AFpreSetWPar.c | 92 AFw->DFormat.Format = Dformat; in AFpreSetWPar() 96 AFw->DFormat.ScaleF = AF_SF_DEFAULT; in AFpreSetWPar() 97 AFw->DFormat.Swapb = DS_NATIVE; /* Tentative */ in AFpreSetWPar() 98 AFw->DFormat.NbS = AF_setNbS (AFw->DFormat.Format, AFopt->NbS); in AFpreSetWPar() 110 if (AF_checkDT (AFw->Ftype, AFw->DFormat.Format)) in AFpreSetWPar() 112 if (AF_checkIEEE (AFw->Ftype, AFw->DFormat.Format)) in AFpreSetWPar() 397 Res = 8 * AF_DL[AFw->DFormat.Format]; in AF_stdInfo() 398 NbS = AFw->DFormat.NbS; in AF_stdInfo()
|
H A D | AFsetNHread.c | 99 AFr.DFormat.Format = NHpar->Format; in AFsetNHread() 100 AFr.DFormat.Swapb = NHpar->Swapb; in AFsetNHread() 102 AFr.DFormat.ScaleF = AF_SF[NHpar->Format]; in AFsetNHread() 104 AFr.DFormat.ScaleF = NHpar->ScaleF; in AFsetNHread()
|
H A D | AFwrAIhead.c | 103 Lw = AF_DL[AFw->DFormat.Format]; in AFwrAIhead() 152 AFw->DFormat.Swapb = DS_EB; in AFwrAIhead() 177 Res = 8 * AF_DL[AFw->DFormat.Format]; in AF_setCOMM() 178 NbS = AFw->DFormat.NbS; in AF_setCOMM() 181 switch (AFw->DFormat.Format) { in AF_setCOMM() 238 assert (AFw->DFormat.Format == FD_INT8 || in AF_setCOMM() 239 AFw->DFormat.Format == FD_INT16 || in AF_setCOMM() 240 AFw->DFormat.Format == FD_INT24 || in AF_setCOMM() 241 AFw->DFormat.Format == FD_INT32); in AF_setCOMM()
|
H A D | AFwrWVhead.c | 104 Lw = AF_DL[AFw->DFormat.Format]; in AFwrWVhead() 141 AFw->DFormat.Swapb = DS_EL; in AFwrWVhead() 160 Lw = AF_DL[AFw->DFormat.Format]; in AF_setFMT() 162 NbS = AFw->DFormat.NbS; in AF_setFMT() 168 AFw->DFormat.Format == FD_INT24 || in AF_setFMT() 169 AFw->DFormat.Format == FD_INT32 || in AF_setFMT() 172 switch (AFw->DFormat.Format) { in AF_setFMT()
|
H A D | AFwrAUhead.c | 94 Fhead.Ldata = AFw->Nframe * AFw->Nchan * AF_DL[AFw->DFormat.Format]; in AFwrAUhead() 95 Fhead.Dencod = AF_setDencod (AFw->DFormat.Format); in AFwrAUhead() 100 AFw->DFormat.Swapb = DS_EB; in AFwrAUhead()
|
H A D | AFrdTAhead.c | 122 AFr.DFormat.Format = FD_TEXT; in AFrdTAhead() 123 AFr.DFormat.ScaleF = AF_SF_INT16; in AFrdTAhead()
|
H A D | AFrdINhead.c | 128 AFr.DFormat.Format = FD_INT16; in AFrdINhead() 129 AFr.DFormat.Swapb = DS_EL; in AFrdINhead()
|
H A D | AFrdNShead.c | 145 AFr.DFormat.Format = FD_INT16; in AFrdNShead() 146 AFr.DFormat.Swapb = DS_EL; in AFrdNShead() 181 if (AFr.DFormat.Format == FD_UNDEF || AFr.NData.Ldata == AF_LDATA_UNDEF) { in AFrdNShead()
|
/dports/audio/afsp/AFsp-v8r2/libAO/ |
H A D | AOdecFO.c | 117 FO->DFormat = AO_decDFormat (OptArg); in AOdecFO() 118 AFopt->NbS = FO->DFormat.NbS; in AOdecFO() 277 struct AO_dformat DFormat; in AO_decDFormat() local 293 DFormat.Format = Format; in AO_decDFormat() 294 DFormat.NbS = NbS; in AO_decDFormat() 298 return DFormat; in AO_decDFormat()
|
H A D | AOsetFOopt.c | 41 AFopt->NbS = FO->DFormat.NbS; in AOsetFOopt()
|
H A D | AOsetFtype.c | 90 else if (FO->DFormat.Format == FD_TEXT) in AOsetFtype()
|
/dports/audio/afsp/AFsp-v8r2/include/ |
H A D | AO.h | 48 struct AO_dformat DFormat; member 70 (fo)->DFormat.Format = FD_UNDEF; \ 71 (fo)->DFormat.NbS = 0; \
|
/dports/cad/sp2sp/gwave2-20090213/spicefile/ |
H A D | spicestream.c | 53 } DFormat; typedef 55 static DFormat format_tab[] = { 65 static const int NFormats = sizeof(format_tab)/sizeof(DFormat);
|
/dports/audio/afsp/AFsp-v8r2/include/libtsp/ |
H A D | AFpar.h | 93 struct AF_dformat DFormat; member 99 struct AF_dformat DFormat; member
|