| 368 | } |
| 369 | |
| 370 | void WriteMaskID(EncodeStream* stream, MaskData* mask) { |
| 371 | if (mask != nullptr) { |
| 372 | stream->writeEncodedUint32(mask->id); |
| 373 | } else { |
| 374 | stream->writeEncodedUint32(0); |
| 375 | } |
| 376 | } |
| 377 | |
| 378 | void WriteCompositionID(EncodeStream* stream, Composition* composition) { |
| 379 | if (composition != nullptr) { |
no test coverage detected