Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On ItemReferenceBox version 1 in HEIF #87

Open
podborski opened this issue Jan 23, 2024 · 0 comments
Open

On ItemReferenceBox version 1 in HEIF #87

podborski opened this issue Jan 23, 2024 · 0 comments
Labels

Comments

@podborski
Copy link
Member

In HEIF we have this text in clause 6.6.1:

The number of SingleItemTypeReferenceBoxes with the box type 'dimg' and with the same value of from_item_ID shall not be greater than 1.

SingleItemTypeReferenceBoxes is also mentioned in a bunch of derived image items.

However, in ISOBMFF the ItemReferenceBox is defined as:

aligned(8) class ItemReferenceBox extends FullBox('iref', version, 0) {
	if (version==0) {
		SingleItemTypeReferenceBox				references[];
	} else if (version==1) {
		SingleItemTypeReferenceBoxLarge	references[];
	}
}

Allowing also item references to be specified using the SingleItemTypeReferenceBoxLarge. To me this seems to be a little bit ambiguous because I don't see a clear restriction of ItemReferenceBox to be version 0 only in the HEIF spec. I see that the mif1 brand actually mentions the iref versions 0 and 1.

Table 3 — Boxes to be supported under the mif1 brand

Hierarchy of boxes Version Box description
... ... ...
iref 0, 1 item reference box
... ... ...
@podborski podborski added the HEIF label Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant