Home
last modified time | relevance | path

Searched refs:np (Results 1 – 2 of 2) sorted by relevance

/lvgl-3.6.0/demos/music/assets/
Dspectrum.py1 import numpy as np namespace
11 S = np.abs(spectrum)
/lvgl-3.6.0/src/extra/libs/sjpg/
Dtjpgd.c201 size_t np; in create_huffman_tbl() local
215 for (np = i = 0; i < 16; i++) { /* Load number of patterns for 1 to 16-bit code */ in create_huffman_tbl()
216 np += (pb[i] = *data++); /* Get sum of code words for each code */ in create_huffman_tbl()
218 ph = alloc_pool(jd, np * sizeof (uint16_t));/* Allocate a memory block for the code word table */ in create_huffman_tbl()
228 if (ndata < np) return JDR_FMT1; /* Err: wrong data size */ in create_huffman_tbl()
229 ndata -= np; in create_huffman_tbl()
230 pd = alloc_pool(jd, np); /* Allocate a memory block for the decoded data */ in create_huffman_tbl()
233 for (i = 0; i < np; i++) { /* Load decoded data corresponds to each code word */ in create_huffman_tbl()