Skip to content

Commit d053583

Browse files
authored
Clarify APV sample format (#72)
* clarification of APV sample format Signed-off-by: Kwang Pyo Choi <kp5.choi@samsung.com> * removed 'sample_size' loop Signed-off-by: Kwang Pyo Choi <kp5.choi@samsung.com> * clarification more Signed-off-by: Kwang Pyo Choi <kp5.choi@samsung.com> --------- Signed-off-by: Kwang Pyo Choi <kp5.choi@samsung.com>
1 parent 938691c commit d053583

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

readme/apv_isobmff.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,20 @@ the full_range_flag field in the frame header of the frames whose value of the p
159159
## APV Sample Description
160160

161161
### Format of sample
162-
When APV coded bitstream is encapsulated in a track with APVSamspleEntry, each sample shall contain one and only one access unit of APV coded data
162+
When APV coded bitstream is encapsulated in a track with APVSampleEntry, each sample shall contain a size of access unit and an access unit of APV coded data.
163+
164+
~~~~
165+
aligned(8) class APVSample{
166+
unsigned int(32) au_length;
167+
bit(au_length * 8) access_unit;
168+
}
169+
~~~~
170+
171+
+ au_length
172+
> indicates the size of an access unit measured in bytes. The size does not include the length field itself.
173+
174+
+ access_unit
175+
> contains a single access unit. It includes both the 4-characters signature and the variable length encapsulated PBU streams.
163176
164177
### Sync sample
165178
Every samples of APV bitstream shall be sync samples.

0 commit comments

Comments
 (0)