<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 7.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/vImageConverter_MustOperateOutOfPlace(_:_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@F@vImageConverter_MustOperateOutOfPlace"
  },
  "title" : "vImageConverter_MustOperateOutOfPlace(_:_:_:_:)"
}
-->

# vImageConverter_MustOperateOutOfPlace(_:_:_:_:)

Determines whether a converter is capable of operating in place.

```
func vImageConverter_MustOperateOutOfPlace(_ converter: vImageConverter, _ srcs: UnsafePointer<vImage_Buffer>!, _ dests: UnsafePointer<vImage_Buffer>!, _ flags: vImage_Flags) -> vImage_Error
```

## Parameters

`converter`

The converter to check to determine if it’s capable of operating in place.

`srcs`

The list of source buffers you plan to use with [`vImageConvert_AnyToAny(_:_:_:_:_:)`](/documentation/Accelerate/vImageConvert_AnyToAny(_:_:_:_:_:)). This parameter may be `NULL`.

`dests`

The list of destination buffers you plan to use with [`vImageConvert_AnyToAny(_:_:_:_:_:)`](/documentation/Accelerate/vImageConvert_AnyToAny(_:_:_:_:_:)). This parameter may be `NULL`.

`flags`

The flags you’ll pass to [`vImageConvert_AnyToAny(_:_:_:_:_:)`](/documentation/Accelerate/vImageConvert_AnyToAny(_:_:_:_:_:)).

## Return Value

[`kvImageNoError`](/documentation/Accelerate/kvImageNoError) if the conversion will work in place, [`kvImageOutOfPlaceOperationRequired`](/documentation/Accelerate/kvImageOutOfPlaceOperationRequired) if the conversion requires out of place operation; otherwise, one of the error codes that <doc://com.apple.documentation/documentation/Accelerate/data-types-and-constants> describes.

## Discussion

Some conversions work if the source and destination image buffer scanlines start at the same address. Others don’t; for those cases, you need to allocate additional storage to hold the destination buffer.

In-place operation is considered to mean `srcs[i].data = dests[i].data` and `srcs[i].rowBytes = dests[i].rowBytes`. Other styles of partial buffer overlap produce undefined behavior.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)