摘要 |
An image decoding method related to one embodiment of the present invention comprises a context control step (S204) of determining the context to be used for a block to be processed, from among a plurality of contexts, and in this context control step (S204), when the signal type for a control parameter is a third type, the context is determined using a third condition that uses the depth of the hierarchy of a data unit belonging to the control parameter of the block to be processed and does not use the control parameter of an upper block (S213). The third type is one or more of "merge_flag," "ref_idx_l0" or "ref_idx_l1," "inter_pred_flag," "mvd_l0" or "mvd_l1," "intra_chroma_pred_mode," or "cbf_luma," "cbf_cb," or "cbf_cr.". |