Searched refs:media_buffer (Results 1 – 4 of 4) sorted by relevance
3844 LEGACY_CAM_METADATA_TYPE *media_buffer = NULL; in empty_this_buffer_proxy() local3864 media_buffer = (LEGACY_CAM_METADATA_TYPE *)meta_buffer_hdr[nBufIndex].pBuffer; in empty_this_buffer_proxy()3865 if (!media_buffer) { in empty_this_buffer_proxy()3869 if ((media_buffer->buffer_type == LEGACY_CAM_SOURCE) in empty_this_buffer_proxy()3874 } else if (media_buffer) { in empty_this_buffer_proxy()3875 if (media_buffer->buffer_type != LEGACY_CAM_SOURCE && in empty_this_buffer_proxy()3876 media_buffer->buffer_type != kMetadataBufferTypeGrallocSource) { in empty_this_buffer_proxy()3879 if (media_buffer->buffer_type == LEGACY_CAM_SOURCE) { in empty_this_buffer_proxy()3880 if (media_buffer->meta_handle == NULL) in empty_this_buffer_proxy()3884 int nFds = media_buffer->meta_handle->numFds, in empty_this_buffer_proxy()[all …]
3434 encoder_media_buffer_type *media_buffer = NULL; in empty_this_buffer_proxy() local3454 media_buffer = (encoder_media_buffer_type *)meta_buffer_hdr[nBufIndex].pBuffer; in empty_this_buffer_proxy()3455 if (media_buffer) { in empty_this_buffer_proxy()3456 if (media_buffer->buffer_type != kMetadataBufferTypeCameraSource && in empty_this_buffer_proxy()3457 media_buffer->buffer_type != kMetadataBufferTypeGrallocSource && in empty_this_buffer_proxy()3458 media_buffer->buffer_type != kMetadataBufferTypeNativeHandleSource) { in empty_this_buffer_proxy()3461 if ((media_buffer->buffer_type == kMetadataBufferTypeCameraSource) || in empty_this_buffer_proxy()3462 (media_buffer->buffer_type == kMetadataBufferTypeNativeHandleSource)) { in empty_this_buffer_proxy()3463 if (media_buffer->meta_handle == NULL) in empty_this_buffer_proxy()3465 else if ((media_buffer->meta_handle->numFds != 1 && in empty_this_buffer_proxy()[all …]
3373 encoder_media_buffer_type *media_buffer; in empty_this_buffer_proxy() local3375 media_buffer = (encoder_media_buffer_type *)meta_buffer_hdr[nBufIndex].pBuffer; in empty_this_buffer_proxy()3376 if(media_buffer) in empty_this_buffer_proxy()3378 if (media_buffer->buffer_type != kMetadataBufferTypeCameraSource && in empty_this_buffer_proxy()3379 media_buffer->buffer_type != kMetadataBufferTypeGrallocSource) { in empty_this_buffer_proxy()3382 if(media_buffer->buffer_type == kMetadataBufferTypeCameraSource) in empty_this_buffer_proxy()3384 if(media_buffer->meta_handle == NULL) { in empty_this_buffer_proxy()3387 else if((media_buffer->meta_handle->numFds != 1 && in empty_this_buffer_proxy()3388 media_buffer->meta_handle->numInts != 2)) in empty_this_buffer_proxy()3405 if(media_buffer->buffer_type == kMetadataBufferTypeCameraSource) in empty_this_buffer_proxy()[all …]
3741 encoder_media_buffer_type *media_buffer = NULL; in empty_this_buffer_proxy() local3761 media_buffer = (encoder_media_buffer_type *)meta_buffer_hdr[nBufIndex].pBuffer; in empty_this_buffer_proxy()3762 if (media_buffer) { in empty_this_buffer_proxy()3763 if (media_buffer->buffer_type != kMetadataBufferTypeCameraSource && in empty_this_buffer_proxy()3764 media_buffer->buffer_type != kMetadataBufferTypeGrallocSource) { in empty_this_buffer_proxy()3767 if (media_buffer->buffer_type == kMetadataBufferTypeCameraSource) { in empty_this_buffer_proxy()3768 if (media_buffer->meta_handle == NULL) in empty_this_buffer_proxy()3771 int nFds = media_buffer->meta_handle->numFds, in empty_this_buffer_proxy()3772 nInt = media_buffer->meta_handle->numInts; in empty_this_buffer_proxy()3813 if (!media_buffer) { in empty_this_buffer_proxy()[all …]