Lines Matching refs:VideoError
101 return Err(VideoError::InvalidParameter); in queue_resource()
268 VideoError::InvalidResourceId { in get_resource_info()
278 Ok(_) => Err(VideoError::InvalidArgument), in get_resource_info()
279 Err(e) => Err(VideoError::ResourceBridgeFailure(e)), in get_resource_info()
373 Err(VideoError::InvalidStreamId(ctx.stream_id)) in insert()
381 VideoError::InvalidStreamId(*stream_id) in get()
388 VideoError::InvalidStreamId(*stream_id) in get_mut()
444 return Err(VideoError::InvalidParameter); in create_session()
457 VideoError::InvalidOperation in create_session()
504 return Err(VideoError::InvalidOperation); in create_resource()
538 let session = ctx.session.as_ref().ok_or(VideoError::InvalidOperation)?; in queue_input_resource()
542 return Err(VideoError::InvalidOperation); in queue_input_resource()
600 let session = ctx.session.as_ref().ok_or(VideoError::InvalidOperation)?; in queue_output_resource()
610 return Err(VideoError::InvalidOperation); in queue_output_resource()
614 return Err(VideoError::InvalidOperation); in queue_output_resource()
695 return Err(VideoError::InvalidParameter); in set_params()
714 Err(VideoError::InvalidArgument) in query_control()
733 return Err(VideoError::InvalidArgument); in get_control()
737 return Err(VideoError::InvalidArgument); in get_control()
748 return Err(VideoError::InvalidArgument); in get_control()
752 return Err(VideoError::InvalidArgument); in get_control()
760 Err(VideoError::InvalidArgument) in get_control()
771 .ok_or(VideoError::InvalidOperation)? in drain_stream()
784 let session = ctx.session.as_ref().ok_or(VideoError::InvalidOperation)?; in clear_queue()
896 Err(VideoError::InvalidOperation) in process_cmd()