Patent ID: 8855202

Claim:
In a computing system that implements a video encoder, a method comprising: with the computing system that implements the video encoder, encoding plural pictures in a given entry point segment among plural entry point segments of a sequence to produce encoded data, wherein the encoding includes performing motion compensation for at least some macroblocks of the plural pictures as part of a motion compensation loop, and wherein the encoding also includes: if range reduction is used for the plural pictures, scaling down plural samples of the plural pictures from an original sample range to a reduced sample range prior to subsequent encoding of the plural samples in the reduced sample range, wherein the scaling down the plural samples of the plural pictures for the range reduction occurs outside of the motion compensation loop; and otherwise, range reduction not being used for the plural pictures, skipping the scaling down the plural samples of the plural pictures; and outputting the encoded data, including signaling one or more range reduction syntax elements in an entry point header for the given entry point segment to control scaling up of the plural samples of the plural pictures in the given entry point segment to the original sample range during decoding, wherein the one or more range reduction syntax elements apply to the plural pictures in the given entry point segment until a next entry point header for a next entry point segment among the plural entry point segments of the sequence, and wherein the entry point header further includes a one-bit syntax element that indicates whether the given entry point segment includes any B-pictures that reference a picture in a previous entry point segment among the plural entry point segments of the sequence; wherein the encoding further comprises, if the one-bit syntax element indicates the given entry point segment may include a B-picture that references a picture in the previous entry point segment, setting the one or more range reduction syntax elements for the given entry point segment to values of corresponding range reduction syntax elements for the previous entry point segment.