Home
last modified time | relevance | path

Searched refs:vfactor (Results 1 – 2 of 2) sorted by relevance

/aosp12/hardware/google/graphics/common/libhwjpeg/
H A DExynosJpegEncoder.cpp165 unsigned int hfactor, vfactor; in setJpegFormat() local
169 vfactor = 1; in setJpegFormat()
173 vfactor = 1; in setJpegFormat()
177 vfactor = 2; in setJpegFormat()
181 vfactor = 0; in setJpegFormat()
185 vfactor = 2; in setJpegFormat()
189 vfactor = 1; in setJpegFormat()
196 if (!m_hwjpeg.SetChromaSampFactor(hfactor, vfactor)) in setJpegFormat()
/aosp12/hardware/google/graphics/common/libacryl/
H A Dacrylic_g2d.cpp322 void getChromaScaleFactor(uint32_t colormode, unsigned int *hfactor, unsigned int *vfactor) in getChromaScaleFactor() argument
331 *vfactor /= 2; in getChromaScaleFactor()
338 static unsigned int writeFilterCoefficients(uint32_t hfactor, uint32_t vfactor, uint32_t colormode, in writeFilterCoefficients() argument
342 unsigned int vindex = findFilterCoefficientsIndex(vfactor); in writeFilterCoefficients()
354 getChromaScaleFactor(colormode, &hfactor, &vfactor); in writeFilterCoefficients()
357 vindex = findFilterCoefficientsIndex(vfactor); in writeFilterCoefficients()
374 unsigned int vfactor = src_cmds[i][G2DSFR_SRC_YSCALE]; in getFilterCoefficientCount() local
378 if (vfactor > G2D_SCALE_FACTOR(8, 8)) in getFilterCoefficientCount()
381 getChromaScaleFactor(src_cmds[i][G2DSFR_IMG_COLORMODE], &hfactor, &vfactor); in getFilterCoefficientCount()
384 if (vfactor > G2D_SCALE_FACTOR(8, 8)) in getFilterCoefficientCount()