| CPC H04N 21/231 (2013.01) [H04N 21/232 (2013.01)] | 18 Claims |

|
1. A data storage device comprising:
a memory; and
a processor configured to communicate with the memory and further configured to:
retrieve a video frame stored in the memory, wherein the video frame is part of a group of pictures;
detect an error in the video frame;
determine whether the video frame is an intra-coded picture frame (I-frame) or another picture frame in the group of pictures that depends on the I-frame for decoding; and
select how to handle the error based on whether the video frame is the I-frame or the another picture frame in the group of pictures that depends on the I-frame for decoding;
wherein:
a relatively-more-robust data recovery mechanism is selected in response to determining that the video frame is the I-frame; and
a relatively-less-robust data recovery mechanism is selected in response to determining that the video frame is the another picture frame in the group of pictures that depends on the I-frame for decoding;
the relatively-more-robust data recovery mechanism comprises an exclusive-or (XOR) mode of recovery; and
the relatively-less-robust data recovery mechanism comprises an error correction code (ECC) mode of recovery.
|