Home
last modified time | relevance | path

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

/hardware/google/av/media/codecs/avc/
DC2SoftAvcEnc.cpp900 iv_mem_rec_t *ps_mem_rec; in initEncoder() local
901 ps_mem_rec = mMemRecords; in initEncoder()
903 ps_mem_rec->u4_size = sizeof(iv_mem_rec_t); in initEncoder()
904 ps_mem_rec->pv_base = nullptr; in initEncoder()
905 ps_mem_rec->u4_mem_size = 0; in initEncoder()
906 ps_mem_rec->u4_mem_alignment = 0; in initEncoder()
907 ps_mem_rec->e_mem_type = IV_NA_MEM_TYPE; in initEncoder()
909 ps_mem_rec++; in initEncoder()
922 s_fill_mem_rec_ip.ps_mem_rec = mMemRecords; in initEncoder()
945 iv_mem_rec_t *ps_mem_rec; in initEncoder() local
[all …]
/hardware/google/av/media/codecs/mpeg2/
DC2SoftMpeg2Dec.cpp411 iv_mem_rec_t *ps_mem_rec = (iv_mem_rec_t *) ivd_aligned_malloc( in fillMemRecords() local
413 if (!ps_mem_rec) { in fillMemRecords()
417 memset(ps_mem_rec, 0, mNumMemRecords * sizeof(iv_mem_rec_t)); in fillMemRecords()
419 ps_mem_rec[i].u4_size = sizeof(iv_mem_rec_t); in fillMemRecords()
420 mMemRecords = ps_mem_rec; in fillMemRecords()
444 for (size_t i = 0; i < mNumMemRecords; i++, ps_mem_rec++) { in fillMemRecords()
445 ps_mem_rec->pv_base = ivd_aligned_malloc( in fillMemRecords()
446 ps_mem_rec->u4_mem_alignment, ps_mem_rec->u4_mem_size); in fillMemRecords()
447 if (!ps_mem_rec->pv_base) { in fillMemRecords()
449 i, ps_mem_rec->u4_mem_size); in fillMemRecords()
[all …]