Lines Matching refs:prog
318 for (UINT prog = 0; prog < pLatmDemux->m_numProgram; prog++) { in CLatmDemux_ReadStreamMuxConfig() local
319 pLatmDemux->m_numLayer[prog] = FDKreadBits(bs, 3) + 1; in CLatmDemux_ReadStreamMuxConfig()
320 if (pLatmDemux->m_numLayer[prog] > LATM_MAX_LAYER) { in CLatmDemux_ReadStreamMuxConfig()
325 for (UINT lay = 0; lay < pLatmDemux->m_numLayer[prog]; lay++) { in CLatmDemux_ReadStreamMuxConfig()
327 p_linfo = &pLatmDemux->m_linfo[prog][lay]; in CLatmDemux_ReadStreamMuxConfig()
332 if ((prog == 0) && (lay == 0)) { in CLatmDemux_ReadStreamMuxConfig()
340 FDKmemcpy(&pAsc[TPDEC_TRACKINDEX(prog, lay)], in CLatmDemux_ReadStreamMuxConfig()
341 &pAsc[TPDEC_TRACKINDEX(prog, lay - 1)], in CLatmDemux_ReadStreamMuxConfig()
352 (pAsc[TPDEC_TRACKINDEX(prog, lay)].m_aot == AOT_USAC)) { in CLatmDemux_ReadStreamMuxConfig()
354 (UINT)(pAsc[TPDEC_TRACKINDEX(prog, lay)] in CLatmDemux_ReadStreamMuxConfig()
365 &pAsc[TPDEC_TRACKINDEX(prog, lay)].m_sc.m_usacConfig.UsacConfig, in CLatmDemux_ReadStreamMuxConfig()
385 &pAsc[TPDEC_TRACKINDEX(prog, lay)], &tmpBs, 1, in CLatmDemux_ReadStreamMuxConfig()
407 &pAsc[TPDEC_TRACKINDEX(prog, lay)], in CLatmDemux_ReadStreamMuxConfig()
420 updateConfig[TPDEC_TRACKINDEX(prog, lay)] = 0; in CLatmDemux_ReadStreamMuxConfig()
422 updateConfig[TPDEC_TRACKINDEX(prog, lay)] = 1; in CLatmDemux_ReadStreamMuxConfig()
426 if (pAscDummy[TPDEC_TRACKINDEX(prog, lay)].m_aot == in CLatmDemux_ReadStreamMuxConfig()
435 FDKmemclear(&pAsc[TPDEC_TRACKINDEX(prog, lay)] in CLatmDemux_ReadStreamMuxConfig()
438 FDKmemcpy(&pAsc[TPDEC_TRACKINDEX(prog, lay)] in CLatmDemux_ReadStreamMuxConfig()
442 pAsc[TPDEC_TRACKINDEX(prog, lay)] in CLatmDemux_ReadStreamMuxConfig()
450 FDKmemclear(&pAsc[TPDEC_TRACKINDEX(prog, lay)] in CLatmDemux_ReadStreamMuxConfig()
453 FDKmemcpy(&pAsc[TPDEC_TRACKINDEX(prog, lay)] in CLatmDemux_ReadStreamMuxConfig()
457 pAsc[TPDEC_TRACKINDEX(prog, lay)] in CLatmDemux_ReadStreamMuxConfig()
464 if (pAscDummy[TPDEC_TRACKINDEX(prog, lay)] in CLatmDemux_ReadStreamMuxConfig()
466 if (pAscDummy[TPDEC_TRACKINDEX(prog, lay)] in CLatmDemux_ReadStreamMuxConfig()
485 (pAsc[TPDEC_TRACKINDEX(prog, lay)].m_aot == AOT_AAC_SCAL || in CLatmDemux_ReadStreamMuxConfig()
486 pAsc[TPDEC_TRACKINDEX(prog, lay)].m_aot == in CLatmDemux_ReadStreamMuxConfig()
488 (pAsc[TPDEC_TRACKINDEX(prog, lay - 1)].m_aot == AOT_CELP || in CLatmDemux_ReadStreamMuxConfig()
489 pAsc[TPDEC_TRACKINDEX(prog, lay - 1)].m_aot == in CLatmDemux_ReadStreamMuxConfig()
549 UINT prog; in CLatmDemux_ReadStreamMuxConfig() local
550 for (prog = 0; prog < pLatmDemux->m_numProgram; prog++) { in CLatmDemux_ReadStreamMuxConfig()
552 for (lay = 0; lay < pLatmDemux->m_numLayer[prog]; lay++) { in CLatmDemux_ReadStreamMuxConfig()
553 if (updateConfig[TPDEC_TRACKINDEX(prog, lay)] != 0) { in CLatmDemux_ReadStreamMuxConfig()
557 &pAsc[TPDEC_TRACKINDEX(prog, lay)], in CLatmDemux_ReadStreamMuxConfig()
558 pAsc[TPDEC_TRACKINDEX(prog, lay)].configMode, in CLatmDemux_ReadStreamMuxConfig()
559 &pAsc[TPDEC_TRACKINDEX(prog, lay)].AacConfigChanged); in CLatmDemux_ReadStreamMuxConfig()
601 for (UINT prog = 0; prog < pLatmDemux->m_numProgram; prog++) { in CLatmDemux_ReadPayloadLengthInfo() local
602 FDK_ASSERT(pLatmDemux->m_numLayer[prog] <= LATM_MAX_LAYER); in CLatmDemux_ReadPayloadLengthInfo()
603 for (UINT lay = 0; lay < pLatmDemux->m_numLayer[prog]; lay++) { in CLatmDemux_ReadPayloadLengthInfo()
604 LATM_LAYER_INFO *p_linfo = &pLatmDemux->m_linfo[prog][lay]; in CLatmDemux_ReadPayloadLengthInfo()
647 UINT CLatmDemux_GetFrameLengthInBits(CLatmDemux *pLatmDemux, const UINT prog, in CLatmDemux_GetFrameLengthInBits() argument
650 if (prog < pLatmDemux->m_numProgram) { in CLatmDemux_GetFrameLengthInBits()
651 if (layer < pLatmDemux->m_numLayer[prog]) { in CLatmDemux_GetFrameLengthInBits()
652 nFrameLenBits = pLatmDemux->m_linfo[prog][layer].m_frameLengthInBits; in CLatmDemux_GetFrameLengthInBits()
670 UINT CLatmDemux_GetNrOfLayers(CLatmDemux *pLatmDemux, const UINT prog) { in CLatmDemux_GetNrOfLayers() argument
672 if (prog < pLatmDemux->m_numProgram) { in CLatmDemux_GetNrOfLayers()
673 numLayer = pLatmDemux->m_numLayer[prog]; in CLatmDemux_GetNrOfLayers()