(format: AVSampleFormat)
| 449 | } |
| 450 | |
| 451 | private formatIsPlanar(format: AVSampleFormat): boolean { |
| 452 | switch (format) { |
| 453 | case AV_SAMPLE_FMT_U8P: |
| 454 | case AV_SAMPLE_FMT_S16P: |
| 455 | case AV_SAMPLE_FMT_S32P: |
| 456 | case AV_SAMPLE_FMT_FLTP: |
| 457 | return true; |
| 458 | default: |
| 459 | return false; |
| 460 | } |
| 461 | } |
| 462 | |
| 463 | private createOutputBuffers(frameSize: number): Buffer[] { |
| 464 | assert(this.codecContext); |
no outgoing calls
no test coverage detected