Searched refs:ndata (Results 1 – 2 of 2) sorted by relevance
134 size_t ndata /* Number of bytes to allocate */ in alloc_pool() argument140 ndata = (ndata + 3) & ~3; /* Align block size to the word boundary */ in alloc_pool()142 if (jd->sz_pool >= ndata) { in alloc_pool()143 jd->sz_pool -= ndata; in alloc_pool()145 jd->pool = (void*)(rp + ndata); /* Allocate requierd bytes */ in alloc_pool()161 size_t ndata /* Size of input data */ in create_qt_tbl() argument169 while (ndata) { /* Process all tables in the segment */ in create_qt_tbl()170 if (ndata < 65) return JDR_FMT1; /* Err: table size is unaligned */ in create_qt_tbl()171 ndata -= 65; in create_qt_tbl()197 size_t ndata /* Size of input data */ in create_huffman_tbl() argument[all …]
113 static size_t input_func(JDEC * jd, uint8_t * buff, size_t ndata);302 static size_t input_func(JDEC * jd, uint8_t * buff, size_t ndata) in input_func() argument310 const uint32_t to_read = ndata <= bytes_left ? (uint32_t)ndata : bytes_left; in input_func()325 lv_fs_read(lv_file_p, buff, (uint32_t)ndata, &rn); in input_func()331 lv_fs_seek(lv_file_p, (uint32_t)(ndata + pos), LV_FS_SEEK_SET); in input_func()332 return ndata; in input_func()