Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/mpeg2dec/
DSoftMPEG2.cpp306 iv_mem_rec_t *ps_mem_rec; in initDecoder() local
321 ps_mem_rec = mMemRecords; in initDecoder()
323 ps_mem_rec[i].u4_size = sizeof(iv_mem_rec_t); in initDecoder()
337 ps_mem_rec = mMemRecords; in initDecoder()
340 ps_mem_rec->pv_base = ivd_aligned_malloc( in initDecoder()
341 ps_mem_rec->u4_mem_alignment, ps_mem_rec->u4_mem_size); in initDecoder()
342 if (ps_mem_rec->pv_base == NULL) { in initDecoder()
344 i, ps_mem_rec->u4_mem_size); in initDecoder()
349 ps_mem_rec++; in initDecoder()
416 iv_mem_rec_t *ps_mem_rec; in deInitDecoder() local
[all …]
/frameworks/av/media/libstagefright/codecs/avcenc/
DSoftAVCEnc.cpp690 iv_mem_rec_t *ps_mem_rec; in initEncoder() local
691 ps_mem_rec = mMemRecords; in initEncoder()
693 ps_mem_rec->u4_size = sizeof(iv_mem_rec_t); in initEncoder()
694 ps_mem_rec->pv_base = NULL; in initEncoder()
695 ps_mem_rec->u4_mem_size = 0; in initEncoder()
696 ps_mem_rec->u4_mem_alignment = 0; in initEncoder()
697 ps_mem_rec->e_mem_type = IV_NA_MEM_TYPE; in initEncoder()
699 ps_mem_rec++; in initEncoder()
712 s_fill_mem_rec_ip.ps_mem_rec = mMemRecords; in initEncoder()
737 iv_mem_rec_t *ps_mem_rec; in initEncoder() local
[all …]
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcEnc.cpp997 iv_mem_rec_t *ps_mem_rec; in initEncoder() local
998 ps_mem_rec = mMemRecords; in initEncoder()
1000 ps_mem_rec->u4_size = sizeof(iv_mem_rec_t); in initEncoder()
1001 ps_mem_rec->pv_base = nullptr; in initEncoder()
1002 ps_mem_rec->u4_mem_size = 0; in initEncoder()
1003 ps_mem_rec->u4_mem_alignment = 0; in initEncoder()
1004 ps_mem_rec->e_mem_type = IV_NA_MEM_TYPE; in initEncoder()
1006 ps_mem_rec++; in initEncoder()
1019 s_fill_mem_rec_ip.ps_mem_rec = mMemRecords; in initEncoder()
1042 iv_mem_rec_t *ps_mem_rec; in initEncoder() local
[all …]
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp412 iv_mem_rec_t *ps_mem_rec = (iv_mem_rec_t *) ivd_aligned_malloc( in fillMemRecords() local
414 if (!ps_mem_rec) { in fillMemRecords()
418 memset(ps_mem_rec, 0, mNumMemRecords * sizeof(iv_mem_rec_t)); in fillMemRecords()
420 ps_mem_rec[i].u4_size = sizeof(iv_mem_rec_t); in fillMemRecords()
421 mMemRecords = ps_mem_rec; in fillMemRecords()
445 for (size_t i = 0; i < mNumMemRecords; i++, ps_mem_rec++) { in fillMemRecords()
446 ps_mem_rec->pv_base = ivd_aligned_malloc( in fillMemRecords()
447 ps_mem_rec->u4_mem_alignment, ps_mem_rec->u4_mem_size); in fillMemRecords()
448 if (!ps_mem_rec->pv_base) { in fillMemRecords()
450 i, ps_mem_rec->u4_mem_size); in fillMemRecords()
[all …]