Lines Matching refs:pic_param
618 VAPictureParameterBufferJPEGBaseline pic_param; in tinyjpeg_decode() local
619 memset(&pic_param, 0, sizeof(pic_param)); in tinyjpeg_decode()
620 pic_param.picture_width = priv->width[scan_num]; in tinyjpeg_decode()
621 pic_param.picture_height = priv->height[scan_num]; in tinyjpeg_decode()
622 pic_param.num_components = priv->nf_components; in tinyjpeg_decode()
625 …for (i=0; i<pic_param.num_components; i++) { // tinyjpeg support 3 components only, does it match … in tinyjpeg_decode()
626 pic_param.components[i].component_id = priv->component_infos[i].cid; in tinyjpeg_decode()
627 pic_param.components[i].h_sampling_factor = priv->component_infos[i].Hfactor; in tinyjpeg_decode()
628 pic_param.components[i].v_sampling_factor = priv->component_infos[i].Vfactor; in tinyjpeg_decode()
629 … pic_param.components[i].quantiser_table_selector = priv->component_infos[i].quant_table_index; in tinyjpeg_decode()
632 h1 = pic_param.components[0].h_sampling_factor; in tinyjpeg_decode()
633 h2 = pic_param.components[1].h_sampling_factor; in tinyjpeg_decode()
634 h3 = pic_param.components[2].h_sampling_factor; in tinyjpeg_decode()
635 v1 = pic_param.components[0].v_sampling_factor; in tinyjpeg_decode()
636 v2 = pic_param.components[1].v_sampling_factor; in tinyjpeg_decode()
637 v3 = pic_param.components[2].v_sampling_factor; in tinyjpeg_decode()
719 1, &pic_param, in tinyjpeg_decode()