| CPC H04N 19/117 (2014.11) [H04N 19/105 (2014.11); H04N 19/132 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11)] | 33 Claims | 

| 
               1. An electronic device for video decoding, the electronic device comprising: 
            a processor configured to: 
              determine, from a bitstream of encoded video data: 
                  parameter information indicating a subset of a plurality of reference samples used for predicting a prediction block, the plurality of reference samples including (i) nearest reference samples directly neighboring the prediction block and (ii) a plurality of extended reference samples, each extended reference sample of the plurality of extended reference samples separated from the prediction block by at least one of the nearest reference samples of the plurality of reference samples, and the subset of the plurality of reference samples indicating either the nearest reference samples or at least one of the plurality of extended reference samples, and 
                    mode information indicating a prediction mode, among multiple prediction modes, used for predicting the prediction block, the multiple prediction modes including prediction modes for predicting the prediction block using the nearest reference samples and prediction modes for predicting the prediction block using any of the plurality of extended reference samples; 
                  determine whether the parameter information is signaled in the bitstream; 
                  in response to the determination that the parameter information is not signaled in the bitstream, determine the parameter information by inferring that the parameter information indicates the nearest reference samples are used for predicting the prediction block; 
                  using the mode information, determine whether the prediction mode is from (i) a first set of prediction modes for predicting the prediction block using the nearest reference samples or (ii) a second set of prediction modes for predicting the prediction block using at least one of the plurality of extended reference samples, wherein the second set of prediction modes is a subset of the first set of prediction modes; 
                  in response to the determination that the mode information is from the first set of prediction modes, select the prediction mode from the first set of prediction modes; and 
                  decode, by block based predictive decoding, the prediction block using the nearest reference samples and the selected prediction mode. 
                 |