Skip to content

Commit

Permalink
Removed TU delimiter
Browse files Browse the repository at this point in the history
Added grid examples
  • Loading branch information
leo-barnes committed Mar 18, 2021
1 parent f5d3dd6 commit 596185f
Show file tree
Hide file tree
Showing 10 changed files with 83 additions and 1 deletion.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ aom_codec_control(codec, AOME_SET_SCALEMODE, &{ AOME_NORMAL, AOME_NORMAL })
AV1 stream contains two operating points. Operating point 0 contains both layers, operating point 1 contains the base layer (layer 0).

Stream is embedded in a HEIF container as a single item, with no lsel or a1op used.
ispe = 2048x1535
ispe = 2048x1536
iloc points to layer 0 and layer 1, separated in two extents
a1lx property is used to explicitly mark the sizes of the two layers.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
Input image is animals_00 from the Apple test set, rotated to upright (i.e. 180 degrees) and downscaled to 2048x1536 so encoding is faster.

Image is split into 4 tiles of size 1024x768, where each tile is encoded as follows:

AV1 is encoded using libaom and the following settings:
rc_end_usage = AOM_Q
g_error_resilient = 0
g_lag_in_frames = 0
save_as_annexb = 0
aom_codec_control(codec, AOME_SET_NUMBER_SPATIAL_LAYERS, 2)
aom_codec_control(codec, AV1E_SET_COLOR_RANGE, 1)

Layer 0:
flags = AOM_EFLAG_FORCE_KF
aom_codec_control(codec, AOME_SET_CQ_LEVEL, 62)
aom_codec_control(codec, AOME_SET_SCALEMODE, &{ AOME_ONETWO, AOME_ONETWO })

Layer 1:
flags = AOM_EFLAG_NO_REF_LAST2 | AOM_EFLAG_NO_REF_LAST3 |
AOM_EFLAG_NO_REF_GF | AOM_EFLAG_NO_REF_ARF |
AOM_EFLAG_NO_REF_BWD | AOM_EFLAG_NO_REF_ARF2 |
AOM_EFLAG_NO_UPD_GF | AOM_EFLAG_NO_UPD_ARF |
AOM_EFLAG_NO_UPD_ENTROPY;
aom_codec_control(codec, AOME_SET_CQ_LEVEL, 3)
aom_codec_control(codec, AOME_SET_SCALEMODE, &{ AOME_NORMAL, AOME_NORMAL })

AV1 streams contains two operating points. Operating point 0 contains both layers, operating point 1 contains the base layer (layer 0).

Stream is embedded in a HEIF container as follows:
item 1:
grid
ispe = 2048x1536
references to items 2-5
items 2-5:
ispe = 1024x1536
iloc points to layer 0 and layer 1, separated in two extents
a1lx property is used to explicitly mark the sizes of the two layers.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
Input image is animals_00 from the Apple test set, rotated to upright (i.e. 180 degrees) and downscaled to 2048x1536 so encoding is faster.

Image is split into 4 tiles of size 1024x768, where each tile is encoded as follows:

AV1 is encoded using libaom and the following settings:
rc_end_usage = AOM_Q
g_error_resilient = 0
g_lag_in_frames = 0
save_as_annexb = 0
aom_codec_control(codec, AOME_SET_NUMBER_SPATIAL_LAYERS, 2)
aom_codec_control(codec, AV1E_SET_COLOR_RANGE, 1)

Layer 0:
flags = AOM_EFLAG_FORCE_KF
aom_codec_control(codec, AOME_SET_CQ_LEVEL, 62)
aom_codec_control(codec, AOME_SET_SCALEMODE, &{ AOME_ONETWO, AOME_ONETWO })

Layer 1:
flags = AOM_EFLAG_NO_REF_LAST2 | AOM_EFLAG_NO_REF_LAST3 |
AOM_EFLAG_NO_REF_GF | AOM_EFLAG_NO_REF_ARF |
AOM_EFLAG_NO_REF_BWD | AOM_EFLAG_NO_REF_ARF2 |
AOM_EFLAG_NO_UPD_GF | AOM_EFLAG_NO_UPD_ARF |
AOM_EFLAG_NO_UPD_ENTROPY;
aom_codec_control(codec, AOME_SET_CQ_LEVEL, 3)
aom_codec_control(codec, AOME_SET_SCALEMODE, &{ AOME_NORMAL, AOME_NORMAL })

AV1 streams contains two operating points. Operating point 0 contains both layers, operating point 1 contains the base layer (layer 0).

Stream is embedded in a HEIF container as follows:
item 1:
grid
ispe = 2048x1536
references to items 3-6
item 2:
grid
ispe = 1024x738
references to items 7-10
items 3-6:
ispe = 1024x1536
iloc points to layer 0 and layer 1, separated in two extents
lsel property selects layer 1
items 7-10:
ispe = 1024x1536
iloc points to layer 0 and layer 1, separated in two extents
lsel property selects layer 0
Binary file not shown.
Binary file modified testFiles/Apple/multilayer_examples/animals_00_singlelayer.avif
Binary file not shown.

0 comments on commit 596185f

Please sign in to comment.