/* Maximum value of a q15 vector without index.  */
void arm_max_no_idx_q15(const q15_t *pSrc, uint32_t blockSize, q15_t *pResult)
/* Maximum value of a q15 vector without index.  */
void arm_max_no_idx_q15(const q15_t *pSrc, uint32_t blockSize, q15_t *pResult)
{
  q15_t maxVal1, out;     
  uint32_t blkCnt;         
  out = *pSrc++;                                                                   
  blkCnt = (blockSize - 1U);                                                       
  while (blkCnt > 0U)                                                              
  {              
    maxVal1 = *pSrc++;                                            
    if (out < maxVal1)                                                             
    {                                               
      out = maxVal1;                                                               
    }                                               
    blkCnt--;                                                                      
  }                           
  *pResult = out;
}