≥
              0
            
          
        
        
          
            
              -
              
                (
                
                  
                    (
                    
                      
                        -
                        x
                      
                      +
                      off
                    
                    )
                  
                  ?
                  
                    
                  
                  >>
                  s
                
                )
              
            
          
          
            
              x
              <
              0
            
          
        
      
      ,
    
  
wherein off and s are integers, and wherein >> represents a shift operation. The method 1300 or 1400 also includes applying a factor to the intermediate set of motion vectors to obtain the derived motion vectors, wherein the factor is associated with the color format.