A method for tone mapping of a video for a display, the method comprising: receiving the video and metadata representative of a global tone mapping function and one or more local tone mapping functions; determining the global tone mapping function based on the metadata and a peak luminance value of the display; and generating, by at least one processor, a tone mapped video by applying the global tone mapping function and by applying the one or more local tone mapping functions to the video, wherein the metadata comprises information associated with an order in which the global tone mapping function and the one or more local tone mapping functions are applied, wherein the information associated with the order indicates that the global tone mapping function and the one or more local tone mapping functions are applied in series or in parallel, and wherein the one or more local tone mapping functions are applied using an elliptical shape that is parameterized by: a location on an image that the elliptical shape is centered at, a focus distance, an angle of rotation of the elliptical shape, a first range distance and a second range distance, wherein pixels inside the first range distance belong to a local mapping area processed with the one or more local tone mapping functions, pixels outside the second range distance belong to a global mapping area processed with the global tone mapping function and pixels between the first range distance and the second range distance belong to a transition mapping area processed with a transition weighting factor and the one or more local tone mapping functions. receiving the video and metadata representative of a global tone mapping function and one or more local tone mapping functions; determining the global tone mapping function based on the metadata and a peak luminance value of the display; and generating, by at least one processor, a tone mapped video by applying the global tone mapping function and by applying the one or more local tone mapping functions to the video, wherein the metadata comprises information associated with an order in which the global tone mapping function and the one or more local tone mapping functions are applied, wherein the information associated with the order indicates that the global tone mapping function and the one or more local tone mapping functions are applied in series or in parallel, and wherein the one or more local tone mapping functions are applied using an elliptical shape that is parameterized by: a location on an image that the elliptical shape is centered at, a focus distance, an angle of rotation of the elliptical shape, a first range distance and a second range distance, wherein pixels inside the first range distance belong to a local mapping area processed with the one or more local tone mapping functions, pixels outside the second range distance belong to a global mapping area processed with the global tone mapping function and pixels between the first range distance and the second range distance belong to a transition mapping area processed with a transition weighting factor and the one or more local tone mapping functions. a location on an image that the elliptical shape is centered at, a focus distance, an angle of rotation of the elliptical shape, a first range distance and a second range distance, wherein pixels inside the first range distance belong to a local mapping area processed with the one or more local tone mapping functions, pixels outside the second range distance belong to a global mapping area processed with the global tone mapping function and pixels between the first range distance and the second range distance belong to a transition mapping area processed with a transition weighting factor and the one or more local tone mapping functions.