+ img->samp_h0 = dinfo.comp_info[0].h_samp_factor;
+ img->samp_v0 = dinfo.comp_info[0].v_samp_factor;
+
+ img->samp_h1 = dinfo.comp_info[1].h_samp_factor;
+ img->samp_v1 = dinfo.comp_info[1].v_samp_factor;
+
+ img->samp_h2 = dinfo.comp_info[2].h_samp_factor;
+ img->samp_v2 = dinfo.comp_info[2].v_samp_factor;
+