A method for decoding a video signal, the method comprising: determining whether a prediction mode of a current block is an inter prediction mode or an intra prediction mode based on a value of a prediction mode parameter (pred_mode_flag); determining whether the prediction mode of the current block is an Intra Block Copy prediction mode based on a value of an IBC mode parameter (pred_mode_ibc_flag); when the prediction mode of the current block is the IBC prediction mode, decoding the current block based on the IBC prediction mode and motion information for at least one location among a first set of spatial neighboring locations of the current block; when the prediction mode of the current block is the inter prediction mode, decoding the current block based on the inter prediction mode and motion information for at least one location among a second set of spatial neighboring locations of the current block, characterized in that wherein the first set of spatial neighboring locations of the current block does not include locations (xCb-1, yCb + cbHeight), and (xCb + cbWidth, yCb - 1), and the first set of spatial neighboring locations of the current block includes (xCb - 1, yCb + cbHeight - 1), and (xCb + cbWidth - 1, yCb - 1), wherein the second set of spatial neighboring locations of the current block includes locations (xCb-1, yCb + cbHeight), (xCb + cbWidth, yCb - 1), (xCb - 1, yCb + cbHeight - 1), and (xCb + cbWidth - 1, yCb - 1), wherein the cbWidth is a width of the current block and the cbHeight is a height of the current block, wherein a top-left location of the current block is (xCb, yCb), when the IBC mode parameter is not parsed: when a slice to which the current block belongs is an I slice and signaling information (sps_ibc_enabled_flag) of a higher level than the current block indicates that the IBC prediction mode is available, the value of the IBC mode parameter is inferred as a value indicating that the prediction mode of the current block is the IBC prediction mode, when the slice to which the current block belongs is a P slice or a B slice, the value of the IBC mode parameter is inferred as a value indicating that the prediction mode of the current block is not the IBC prediction mode, wherein the I slice is a slice that refers to a current picture as a reference picture, and the P slice or the B slice is a slice capable of referring to a picture other than the current picture as a reference picture. determining whether a prediction mode of a current block is an inter prediction mode or an intra prediction mode based on a value of a prediction mode parameter (pred_mode_flag); determining whether the prediction mode of the current block is an Intra Block Copy prediction mode based on a value of an IBC mode parameter (pred_mode_ibc_flag); when the prediction mode of the current block is the IBC prediction mode, decoding the current block based on the IBC prediction mode and motion information for at least one location among a first set of spatial neighboring locations of the current block; when the prediction mode of the current block is the inter prediction mode, decoding the current block based on the inter prediction mode and motion information for at least one location among a second set of spatial neighboring locations of the current block, characterized in that wherein the first set of spatial neighboring locations of the current block does not include locations (xCb-1, yCb + cbHeight), and (xCb + cbWidth, yCb - 1), and the first set of spatial neighboring locations of the current block includes (xCb - 1, yCb + cbHeight - 1), and (xCb + cbWidth - 1, yCb - 1), wherein the second set of spatial neighboring locations of the current block includes locations (xCb-1, yCb + cbHeight), (xCb + cbWidth, yCb - 1), (xCb - 1, yCb + cbHeight - 1), and (xCb + cbWidth - 1, yCb - 1), wherein the cbWidth is a width of the current block and the cbHeight is a height of the current block, wherein a top-left location of the current block is (xCb, yCb), when the IBC mode parameter is not parsed: when a slice to which the current block belongs is an I slice and signaling information (sps_ibc_enabled_flag) of a higher level than the current block indicates that the IBC prediction mode is available, the value of the IBC mode parameter is inferred as a value indicating that the prediction mode of the current block is the IBC prediction mode, when the slice to which the current block belongs is a P slice or a B slice, the value of the IBC mode parameter is inferred as a value indicating that the prediction mode of the current block is not the IBC prediction mode, wherein the I slice is a slice that refers to a current picture as a reference picture, and the P slice or the B slice is a slice capable of referring to a picture other than the current picture as a reference picture. when a slice to which the current block belongs is an I slice and signaling information (sps_ibc_enabled_flag) of a higher level than the current block indicates that the IBC prediction mode is available, the value of the IBC mode parameter is inferred as a value indicating that the prediction mode of the current block is the IBC prediction mode, when the slice to which the current block belongs is a P slice or a B slice, the value of the IBC mode parameter is inferred as a value indicating that the prediction mode of the current block is not the IBC prediction mode, wherein the I slice is a slice that refers to a current picture as a reference picture, and the P slice or the B slice is a slice capable of referring to a picture other than the current picture as a reference picture.