| 263 | } |
| 264 | |
| 265 | bool CPUProcessor::Impl::hasDynamicProperty(DynamicPropertyType type) const noexcept |
| 266 | { |
| 267 | if (m_inBitDepthOp->hasDynamicProperty(type)) |
| 268 | { |
| 269 | return true; |
| 270 | } |
| 271 | |
| 272 | for (const auto & op : m_cpuOps) |
| 273 | { |
| 274 | if (op->hasDynamicProperty(type)) |
| 275 | { |
| 276 | return true; |
| 277 | } |
| 278 | } |
| 279 | |
| 280 | if (m_outBitDepthOp->hasDynamicProperty(type)) |
| 281 | { |
| 282 | return true; |
| 283 | } |
| 284 | |
| 285 | return false; |
| 286 | } |
| 287 | |
| 288 | DynamicPropertyRcPtr CPUProcessor::Impl::getDynamicProperty(DynamicPropertyType type) const |
| 289 | { |
no test coverage detected