Patent attributes
A method and device for controlling coding tools are provided. The video decoding method includes decoding, from a high level of a bitstream, an enable flag indicating whether one or more coding tools are enabled. The coding tools includes a first coding tool that encodes sample values using luma component mapping based on a piecewise linear model. The method includes acquiring a value of an application flag depending on a value of the enable flag, by setting the application flag indicating whether to apply the coding tools to a predetermined value, or by decoding the application flag from a low level of the bitstream, the application flag including a first application flag indicating whether to apply the first coding tool. The coding tools are operated when the value of the application flag is a value indicating that the coding tools are applied.