Lines Matching refs:packet
1402 media_metadata_buffer * packet = in allocateMore() local
1406 packet->eType = kMetadataBufferTypeNativeHandleSource; in allocateMore()
1407 packet->pHandle = NULL; in allocateMore()
1409 packet->buffer_type = kMetadataBufferTypeCameraSource; in allocateMore()
1410 packet->meta_handle = mNativeHandle[i]; in allocateMore()
1470 media_metadata_buffer *packet = in allocateMeta() local
1499 packet->eType = kMetadataBufferTypeNativeHandleSource; in allocateMeta()
1500 packet->pHandle = NULL; in allocateMeta()
1502 packet->buffer_type = kMetadataBufferTypeCameraSource; in allocateMeta()
1503 packet->meta_handle = mNativeHandle[i]; in allocateMeta()
1577 media_metadata_buffer *packet = NULL; in getMemory() local
1580 packet = (media_metadata_buffer *)mMetadata[i]->data; in getMemory()
1581 if (packet != NULL && packet->pHandle == NULL) { in getMemory()
1582 packet->pHandle = mNativeHandle[index]; in getMemory()
1660 const media_metadata_buffer *packet = in closeNativeHandle() local
1662 if ((packet != NULL) && (packet->eType == in closeNativeHandle()
1664 && (packet->pHandle)) { in closeNativeHandle()
1665 native_handle_close(packet->pHandle); in closeNativeHandle()
1666 native_handle_delete(packet->pHandle); in closeNativeHandle()
1695 const media_metadata_buffer *packet = in closeNativeHandle() local
1697 if ((packet != NULL) && (packet->eType == in closeNativeHandle()
1699 && (packet->pHandle)) { in closeNativeHandle()
1700 native_handle_close(packet->pHandle); in closeNativeHandle()
1701 native_handle_delete(packet->pHandle); in closeNativeHandle()
1743 const media_metadata_buffer *packet = in getMatchBufIndex() local
1746 if ((packet != NULL) && (packet->eType == in getMatchBufIndex()
1748 && (packet->pHandle)) { in getMatchBufIndex()
1749 nh = (native_handle_t *)packet->pHandle; in getMatchBufIndex()
1842 const media_metadata_buffer *packet = in needPerfEvent() local
1846 if ((packet != NULL) && (packet->eType == in needPerfEvent()
1848 && (packet->pHandle)) { in needPerfEvent()
1849 nh = (native_handle_t *)packet->pHandle; in needPerfEvent()
1854 if ((packet != NULL) && (packet->buffer_type == in needPerfEvent()
1856 && (packet->meta_handle)) { in needPerfEvent()
1857 nh = (native_handle_t *)packet->meta_handle; in needPerfEvent()