Abstract: A media processing tool adds custom data to an elementary media bitstream or media container. The custom data indicates nominal range of samples of media content, but the meaning of the custom data is not defined in the codec format or media container format. For example, the custom data indicates the nominal range is full range or limited range. For playback, a media processing tool parses the custom data and determines an indication of media content type. A rendering engine performs color conversion operations whose logic changes based at least in part on the media content type. In this way, a codec format or media container format can in effect be extended to support full nominal range media content as well as limited nominal range media content, and hence preserve full or correct color fidelity, while maintaining backward compatibility and conformance with the codec format or media container format.
Abstract: An image generator configured to generate a face detecting image used in face detection processing of detecting a face from an image, has a representative luminance calculator that calculates a representative luminance value representing a luminance value of each pixel of a photographed image obtained by photographing; and a gamma converter that generates the face detecting image by performing gamma conversion processing on the photographed image. The luminance value of each pixel of the image is converted using a predetermined gamma value. The gamma converter performs the gamma conversion processing using a first gamma value when the representative luminance value calculated by the representative luminance calculator is greater than or equal to a predetermined threshold.
Abstract: A media processing tool adds custom data to an elementary media bitstream or media container. The custom data indicates nominal range of samples of media content, but the meaning of the custom data is not defined in the codec format or media container format. For example, the custom data indicates the nominal range is full range or limited range. For playback, a media processing tool parses the custom data and determines an indication of media content type. A rendering engine performs color conversion operations whose logic changes based at least in part on the media content type. In this way, a codec format or media container format can in effect be extended to support full nominal range media content as well as limited nominal range media content, and hence preserve full or correct color fidelity, while maintaining backward compatibility and conformance with the codec format or media container format.