Home
last modified time | relevance | path

Searched refs:mNumMemRecords (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/codecs/mpeg2dec/
DSoftMPEG2.cpp290 mNumMemRecords = s_num_mem_rec_op.u4_num_mem_rec; in initDecoder()
294 128, mNumMemRecords * sizeof(iv_mem_rec_t)); in initDecoder()
300 memset(mMemRecords, 0, mNumMemRecords * sizeof(iv_mem_rec_t)); in initDecoder()
322 for (i = 0; i < mNumMemRecords; i++) { in initDecoder()
334 mNumMemRecords = in initDecoder()
339 for (i = 0; i < mNumMemRecords; i++) { in initDecoder()
371 s_init_ip.s_ivd_init_ip_t.u4_num_mem_rec = mNumMemRecords; in initDecoder()
419 for (i = 0; i < mNumMemRecords; i++) { in deInitDecoder()
DSoftMPEG2.h76 size_t mNumMemRecords; // Number of memory records requested by the codec member
/frameworks/av/media/libstagefright/codecs/avcenc/
DSoftAVCEnc.cpp172 mNumMemRecords = DEFAULT_MEM_REC_CNT; in initEncParams()
672 mNumMemRecords = s_num_mem_rec_op.u4_num_mem_rec; in initEncoder()
676 if (mNumMemRecords > SIZE_MAX / sizeof(iv_mem_rec_t)) { in initEncoder()
680 mMemRecords = (iv_mem_rec_t *)malloc(mNumMemRecords * sizeof(iv_mem_rec_t)); in initEncoder()
683 mNumMemRecords * sizeof(iv_mem_rec_t)); in initEncoder()
692 for (size_t i = 0; i < mNumMemRecords; i++) { in initEncoder()
713 s_fill_mem_rec_ip.u4_num_mem_rec = mNumMemRecords; in initEncoder()
741 for (size_t i = 0; i < mNumMemRecords; i++) { in initEncoder()
771 s_init_ip.u4_num_mem_rec = mNumMemRecords; in initEncoder()
DSoftAVCEnc.h194 size_t mNumMemRecords; // Number of memory records requested by codec member
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp406 mNumMemRecords = s_num_mem_rec_op.u4_num_mem_rec; in getNumMemRecords()
413 128, mNumMemRecords * sizeof(iv_mem_rec_t)); in fillMemRecords()
418 memset(ps_mem_rec, 0, mNumMemRecords * sizeof(iv_mem_rec_t)); in fillMemRecords()
419 for (size_t i = 0; i < mNumMemRecords; i++) in fillMemRecords()
444 CHECK_EQ(mNumMemRecords, s_fill_mem_op.s_ivd_fill_mem_rec_op_t.u4_num_mem_rec_filled); in fillMemRecords()
445 for (size_t i = 0; i < mNumMemRecords; i++, ps_mem_rec++) { in fillMemRecords()
469 s_init_ip.s_ivd_init_ip_t.u4_num_mem_rec = mNumMemRecords; in createDecoder()
734 for (size_t i = 0; i < mNumMemRecords; i++, ps_mem_rec++) { in deleteDecoder()
DC2SoftMpeg2Dec.h153 size_t mNumMemRecords; member
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcEnc.cpp489 mNumMemRecords = DEFAULT_MEM_REC_CNT; in initEncParams()
980 mNumMemRecords = s_num_mem_rec_op.u4_num_mem_rec; in initEncoder()
984 if (mNumMemRecords > SIZE_MAX / sizeof(iv_mem_rec_t)) { in initEncoder()
988 mMemRecords = (iv_mem_rec_t *)malloc(mNumMemRecords * sizeof(iv_mem_rec_t)); in initEncoder()
991 mNumMemRecords * sizeof(iv_mem_rec_t)); in initEncoder()
999 for (size_t i = 0; i < mNumMemRecords; i++) { in initEncoder()
1020 s_fill_mem_rec_ip.u4_num_mem_rec = mNumMemRecords; in initEncoder()
1046 for (size_t i = 0; i < mNumMemRecords; i++) { in initEncoder()
1074 s_init_ip.u4_num_mem_rec = mNumMemRecords; in initEncoder()
DC2SoftAvcEnc.h183 size_t mNumMemRecords; // Number of memory records requested by codec member