| 286 | } |
| 287 | |
| 288 | DynamicPropertyRcPtr CPUProcessor::Impl::getDynamicProperty(DynamicPropertyType type) const |
| 289 | { |
| 290 | if (m_inBitDepthOp->hasDynamicProperty(type)) |
| 291 | { |
| 292 | return m_inBitDepthOp->getDynamicProperty(type); |
| 293 | } |
| 294 | |
| 295 | for (const auto & op : m_cpuOps) |
| 296 | { |
| 297 | if (op->hasDynamicProperty(type)) |
| 298 | { |
| 299 | return op->getDynamicProperty(type); |
| 300 | } |
| 301 | } |
| 302 | |
| 303 | if (m_outBitDepthOp->hasDynamicProperty(type)) |
| 304 | { |
| 305 | return m_outBitDepthOp->getDynamicProperty(type); |
| 306 | } |
| 307 | |
| 308 | throw Exception("Cannot find dynamic property; not used by CPU processor."); |
| 309 | } |
| 310 | |
| 311 | void FinalizeOpsForCPU(OpRcPtrVec & ops, const OpRcPtrVec & rawOps, |
| 312 | BitDepth in, BitDepth out, |
nothing calls this directly
no test coverage detected