in response to one or both of the first value indicating that dependent quantization is enabled for the slice or the second value indicating that sign data hiding is enabled for the slice, determining that transform skip residual coding is enabled for the slice; and decoding the slice based on...