-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
10 changed files
with
83 additions
and
1 deletion.
There are no files selected for viewing
Binary file modified
BIN
-2 Bytes
(100%)
testFiles/Apple/multilayer_examples/animals_00_multilayer_a1lx.avif
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-2 Bytes
(100%)
testFiles/Apple/multilayer_examples/animals_00_multilayer_a1op.avif
Binary file not shown.
Binary file modified
BIN
-2 Bytes
(100%)
testFiles/Apple/multilayer_examples/animals_00_multilayer_a1op_lsel.avif
Binary file not shown.
Binary file added
BIN
+2.2 MB
testFiles/Apple/multilayer_examples/animals_00_multilayer_grid_a1lx.avif
Binary file not shown.
37 changes: 37 additions & 0 deletions
37
testFiles/Apple/multilayer_examples/animals_00_multilayer_grid_a1lx.avif.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 added
BIN
+2.2 MB
testFiles/Apple/multilayer_examples/animals_00_multilayer_grid_lsel.avif
Binary file not shown.
45 changes: 45 additions & 0 deletions
45
testFiles/Apple/multilayer_examples/animals_00_multilayer_grid_lsel.avif.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 modified
BIN
-2 Bytes
(100%)
testFiles/Apple/multilayer_examples/animals_00_multilayer_lsel.avif
Binary file not shown.
Binary file modified
BIN
-2 Bytes
(100%)
testFiles/Apple/multilayer_examples/animals_00_singlelayer.avif
Binary file not shown.