| 271 | } |
| 272 | |
| 273 | void |
| 274 | NodeMetadata::setBitDepth(int inputNb, |
| 275 | ImageBitDepthEnum depth) |
| 276 | { |
| 277 | if (inputNb == -1) { |
| 278 | _imp->outputData.bitdepth = depth; |
| 279 | } else { |
| 280 | if ( inputNb < (int)_imp->inputsData.size() ) { |
| 281 | _imp->inputsData[inputNb].bitdepth = depth; |
| 282 | } |
| 283 | |
| 284 | } |
| 285 | } |
| 286 | |
| 287 | ImageBitDepthEnum |
| 288 | NodeMetadata::getBitDepth(int inputNb) const |
no test coverage detected