Add more stream export attributes

This commit is contained in:
JonnyWong16
2020-08-04 20:15:41 -07:00
parent 588b1b1bc3
commit 07a9bdbde3
2 changed files with 21 additions and 0 deletions

View File

@@ -1292,6 +1292,11 @@ def dict_merge(a, b, path=None):
return a
def is_hdr(bit_depth, color_space):
bit_depth = cast_to_int(bit_depth)
return bit_depth > 8 and color_space == 'bt2020nc'
def page(endpoint, *args, **kwargs):
endpoints = {
'pms_image_proxy': pms_image_proxy,