Lines Matching refs:nh
1258 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); in allocate() local
1259 if (!nh) { in allocate()
1263 nh->data[0] = mMemInfo[i].fd; in allocate()
1264 nh->data[1] = 0; in allocate()
1265 nh->data[2] = (int)mMemInfo[i].size; in allocate()
1266 nh->data[3] = private_handle_t::PRIV_FLAGS_ITU_R_709; in allocate()
1312 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); in allocateMore() local
1313 if (!nh) { in allocateMore()
1317 nh->data[0] = mMemInfo[i].fd; in allocateMore()
1318 nh->data[1] = 0; in allocateMore()
1319 nh->data[2] = (int)mMemInfo[i].size; in allocateMore()
1394 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); in deallocate() local
1395 if (NULL != nh) { in deallocate()
1396 if (native_handle_delete(nh)) { in deallocate()