<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "quicktime-file-format",
  "identifier" : "/documentation/quicktime-file-format/Sample_dependency_flags_atom/Sample_dependency_flags_table",
  "metadataVersion" : "0.1.0",
  "role" : "Data field",
  "symbol" : {
    "kind" : "Data field",
    "modules" : [
      "QuickTime File Format"
    ],
    "preciseIdentifier" : "__docc_universal_symbol_reference_$Sample_dependency_flags_atom_Sample_dependency_flags_table"
  },
  "title" : "Sample dependency flags table"
}
-->

# Sample dependency flags table

A table of 8-bit values indicating the sample flag settings.

## Overview

The number of entries in the table is obtained from the associated sample size atom’s number of samples field.

An example of a sample dependency flags table is as follows.

|Sample dependency flag|Sample  |
|----------------------|--------|
|Flags                 |Sample 1|
|Flags                 |Sample 2|
|Flags                 |Sample 3|
|Flags                 |Sample 4|
|Flags                 |Sample 5|

Flag values are specified as follows.

```objc
enum {
// bit 0x80 is reserved; bit combinations 0x30, 0xC0 and 0x03 are reserved
kQTSampleDependency_EarlierDisplayTimesAllowed = 1<<6, // mediaSampleEarlierDisplayTimesAllowed
kQTSampleDependency_SampleDoesNotDependOnOthers = 1<<5, // ie: an I picture
kQTSampleDependency_SampleDependsOnOthers = 1<<4, // ie: not an I picture
kQTSampleDependency_NoOtherSampleDependsOnThisSample = 1<<3,  // mediaSampleDroppable
kQTSampleDependency_OtherSamplesDependOnThisSample = 1<<2,
kQTSampleDependency_ThereIsNoRedundantCodingInThisSample = 1<<1,
kQTSampleDependency_ThereIsRedundantCodingInThisSample = 1<<0
};
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)