             //    s: ac value
             s = gpujpeg_huffman_gpu_decoder_value_from_category(s, r);
 
-            s_data_output[data_output_start + gpujpeg_huffman_gpu_decoder_order_natural[k]] = s;
+            data_output[gpujpeg_huffman_gpu_decoder_order_natural[k]] = s;
         } else {
             // s = 0, means ac value is 0 ? Only if r = 15.  
             //means all the left ac are zero

    assert(comp_count >= 1 && comp_count <= GPUJPEG_MAX_COMPONENT_COUNT);
    
    // Run kernel
    dim3 thread(THREAD_BLOCK_SIZE);
    dim3 grid(gpujpeg_div_and_round_up(decoder->segment_count, thread.x));
    gpujpeg_huffman_decoder_decode_kernel<<<grid, thread>>>(
        coder->d_component, 

        printf("\n");
    }*/
    
    return 0;
}

