Home
last modified time | relevance | path

Searched refs:col (Results 1 – 25 of 1079) sorted by relevance

12345678910>>...44

/external/libhevc/common/
Dihevc_sao.c85 WORD32 row, col; in ihevc_sao_band_offset_luma() local
93 for(col = 0; col < wd; col++) in ihevc_sao_band_offset_luma()
95 pu1_src_top[col] = pu1_src[(ht - 1) * src_strd + col]; in ihevc_sao_band_offset_luma()
110 for(col = 0; col < wd; col++) in ihevc_sao_band_offset_luma()
114 band_idx = band_table[pu1_src[col] >> band_shift]; in ihevc_sao_band_offset_luma()
115 … pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[band_idx], 0, (1 << (band_shift + 5)) - 1); in ihevc_sao_band_offset_luma()
140 WORD32 row, col; in ihevc_sao_band_offset_chroma() local
150 for(col = 0; col < wd; col++) in ihevc_sao_band_offset_chroma()
152 pu1_src_top[col] = pu1_src[(ht - 1) * src_strd + col]; in ihevc_sao_band_offset_chroma()
170 for(col = 0; col < wd; col++) in ihevc_sao_band_offset_chroma()
[all …]
Dihevc_inter_pred_filters.c116 WORD32 row, col; in ihevc_inter_pred_luma_copy() local
120 for(col = 0; col < wd; col++) in ihevc_inter_pred_luma_copy()
122 pu1_dst[col] = pu1_src[col]; in ihevc_inter_pred_luma_copy()
178 WORD32 row, col, i; in ihevc_inter_pred_luma_horz() local
183 for(col = 0; col < wd; col++) in ihevc_inter_pred_luma_horz()
187 i2_tmp += pi1_coeff[i] * pu1_src[col + (i - 3)]; in ihevc_inter_pred_luma_horz()
192 pu1_dst[col] = (UWORD8)i2_tmp; in ihevc_inter_pred_luma_horz()
251 WORD32 row, col, i; in ihevc_inter_pred_luma_vert() local
256 for(col = 0; col < wd; col++) in ihevc_inter_pred_luma_vert()
260 i2_tmp += pi1_coeff[i] * pu1_src[col + (i - 3) * src_strd]; in ihevc_inter_pred_luma_vert()
[all …]
Dihevc_weighted_pred.c117 WORD32 row, col; in ihevc_weighted_pred_uni() local
122 for(col = 0; col < wd; col++) in ihevc_weighted_pred_uni()
124 i4_tmp = (pi2_src[col] + lvl_shift) * wgt0; in ihevc_weighted_pred_uni()
128 pu1_dst[col] = CLIP_U8(i4_tmp); in ihevc_weighted_pred_uni()
202 WORD32 row, col; in ihevc_weighted_pred_chroma_uni() local
207 for(col = 0; col < 2 * wd; col += 2) in ihevc_weighted_pred_chroma_uni()
209 i4_tmp = (pi2_src[col] + lvl_shift) * wgt0_cb; in ihevc_weighted_pred_chroma_uni()
213 pu1_dst[col] = CLIP_U8(i4_tmp); in ihevc_weighted_pred_chroma_uni()
215 i4_tmp = (pi2_src[col + 1] + lvl_shift) * wgt0_cr; in ihevc_weighted_pred_chroma_uni()
219 pu1_dst[col + 1] = CLIP_U8(i4_tmp); in ihevc_weighted_pred_chroma_uni()
[all …]
Dihevc_chroma_intra_pred_filters.c475 WORD32 row, col; in ihevc_intra_pred_chroma_planar() local
499 for(col = 0; col < (2 * nt); col += 2) in ihevc_intra_pred_chroma_planar()
501 pu1_dst[row * dst_strd + col] = ((nt - 1 - col / 2) in ihevc_intra_pred_chroma_planar()
503 + (col / 2 + 1) * pu1_ref[2 * (three_nt + 1)] in ihevc_intra_pred_chroma_planar()
504 + (nt - 1 - row) * pu1_ref[2 * (two_nt + 1) + col] in ihevc_intra_pred_chroma_planar()
507 pu1_dst[row * dst_strd + col + 1] = ((nt - 1 - col / 2) in ihevc_intra_pred_chroma_planar()
509 + (col / 2 + 1) * pu1_ref[2 * (three_nt + 1) + 1] in ihevc_intra_pred_chroma_planar()
510 + (nt - 1 - row) * pu1_ref[2 * (two_nt + 1) + col + 1] in ihevc_intra_pred_chroma_planar()
566 WORD32 row, col; in ihevc_intra_pred_chroma_dc() local
611 for(col = 0; col < (2 * nt); col += 2) in ihevc_intra_pred_chroma_dc()
[all …]
Dihevc_intra_pred_filters.c780 WORD32 row, col; in ihevc_intra_pred_luma_planar() local
807 for(col = 0; col < nt; col++) in ihevc_intra_pred_luma_planar()
809 pu1_dst[row * dst_strd + col] = ((nt - 1 - col) in ihevc_intra_pred_luma_planar()
811 + (col + 1) * pu1_ref[three_nt + 1] in ihevc_intra_pred_luma_planar()
812 + (nt - 1 - row) * pu1_ref[two_nt + 1 + col] in ihevc_intra_pred_luma_planar()
868 WORD32 row, col; in ihevc_intra_pred_luma_dc() local
910 for(col = 0; col < nt; col++) in ihevc_intra_pred_luma_dc()
911 pu1_dst[(row * dst_strd) + col] = dc_val; in ihevc_intra_pred_luma_dc()
919 for(col = 1; col < nt; col++) in ihevc_intra_pred_luma_dc()
920 pu1_dst[col] = (pu1_ref[two_nt + 1 + col] + three_dc_val + 2) >> 2; in ihevc_intra_pred_luma_dc()
[all …]
/external/libavc/common/
Dih264_inter_pred_filters.c119 WORD32 row, col; in ih264_inter_pred_luma_copy() local
124 for(col = 0; col < wd; col++) in ih264_inter_pred_luma_copy()
126 pu1_dst[col] = pu1_src[col]; in ih264_inter_pred_luma_copy()
177 WORD32 row, col; in ih264_interleave_copy() local
182 for(col = 0; col < wd; col+=2) in ih264_interleave_copy()
184 pu1_dst[col] = pu1_src[col]; in ih264_interleave_copy()
236 WORD32 row, col; in ih264_inter_pred_luma_horz() local
243 for(col = 0; col < wd; col++) in ih264_inter_pred_luma_horz()
247 (pu1_src[col - 2] + pu1_src[col + 3]) in ih264_inter_pred_luma_horz()
249 (pu1_src[col - 1] + pu1_src[col + 2]) in ih264_inter_pred_luma_horz()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DLUDecompositionImpl.java101 for (int col = 0; col < m; col++) { in LUDecompositionImpl()
106 for (int row = 0; row < col; row++) { in LUDecompositionImpl()
108 sum = luRow[col]; in LUDecompositionImpl()
110 sum -= luRow[i] * lu[i][col]; in LUDecompositionImpl()
112 luRow[col] = sum; in LUDecompositionImpl()
116 int max = col; // permutation row in LUDecompositionImpl()
118 for (int row = col; row < m; row++) { in LUDecompositionImpl()
120 sum = luRow[col]; in LUDecompositionImpl()
121 for (int i = 0; i < col; i++) { in LUDecompositionImpl()
122 sum -= luRow[i] * lu[i][col]; in LUDecompositionImpl()
[all …]
DFieldLUDecompositionImpl.java95 for (int col = 0; col < m; col++) { in FieldLUDecompositionImpl()
100 for (int row = 0; row < col; row++) { in FieldLUDecompositionImpl()
102 sum = luRow[col]; in FieldLUDecompositionImpl()
104 sum = sum.subtract(luRow[i].multiply(lu[i][col])); in FieldLUDecompositionImpl()
106 luRow[col] = sum; in FieldLUDecompositionImpl()
110 int nonZero = col; // permutation row in FieldLUDecompositionImpl()
111 for (int row = col; row < m; row++) { in FieldLUDecompositionImpl()
113 sum = luRow[col]; in FieldLUDecompositionImpl()
114 for (int i = 0; i < col; i++) { in FieldLUDecompositionImpl()
115 sum = sum.subtract(luRow[i].multiply(lu[i][col])); in FieldLUDecompositionImpl()
[all …]
DBigMatrixImpl.java286 for (int col = 0; col < columnCount; col++) { in add()
287 outDataRow[col] = dataRow[col].add(m.getEntry(row, col)); in add()
313 for (int col = 0; col < columnCount; col++) { in add()
314 outDataRow[col] = dataRow[col].add(mRow[col]); in add()
341 for (int col = 0; col < columnCount; col++) { in subtract()
342 outDataRow[col] = dataRow[col].subtract(getEntry(row, col)); in subtract()
368 for (int col = 0; col < columnCount; col++) { in subtract()
369 outDataRow[col] = dataRow[col].subtract(mRow[col]); in subtract()
388 for (int col = 0; col < columnCount; col++) { in scalarAdd()
389 outDataRow[col] = dataRow[col].add(d); in scalarAdd()
[all …]
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_CollectionTest.java28 Collection<Integer> col; // must contain the Integers 0 to 99 field in Support_CollectionTest
36 col = c; in Support_CollectionTest()
41 new Support_UnmodifiableCollectionTest("", col).runTest(); in runTest()
50 assertTrue("CollectionTest - a) add did not work", col.add(new Integer( in runTest()
52 assertTrue("CollectionTest - b) add did not work", col in runTest()
56 assertTrue("CollectionTest - a) remove did not work", col in runTest()
58 assertTrue("CollectionTest - b) remove did not work", !col in runTest()
62 assertTrue("CollectionTest - a) addAll failed", col in runTest()
64 assertTrue("CollectionTest - b) addAll failed", col in runTest()
68 assertTrue("CollectionTest - a) containsAll failed", col in runTest()
[all …]
/external/deqp/framework/common/
DtcuMatrix.hpp68 inline const T& operator() (int row, int col) const { return m_data[col][row]; } in operator ()()
69 inline T& operator() (int row, int col) { return m_data[col][row]; } in operator ()() argument
315 for (int col = 0; col < Cols; col++) in Matrix() local
316 (*this)(row, col) = (row == col) ? T(1) : T(0); in Matrix()
324 for (int col = 0; col < Cols; col++) in Matrix() local
325 (*this)(row, col) = (row == col) ? src : T(0); in Matrix()
333 for (int col = 0; col < Cols; col++) in Matrix() local
334 (*this)(row, col) = src[row*Cols + col]; in Matrix()
343 for (int col = 0; col < Cols; col++) in Matrix() local
344 (*this)(row, col) = (row == col) ? src.m_data[row] : T(0); in Matrix()
[all …]
/external/pdfium/xfa/src/fxbarcode/datamatrix/
DBC_DefaultPlacement.cpp49 FX_BOOL CBC_DefaultPlacement::getBit(int32_t col, int32_t row) { in getBit() argument
50 return m_bits[row * m_numcols + col] == 1; in getBit()
52 void CBC_DefaultPlacement::setBit(int32_t col, int32_t row, FX_BOOL bit) { in setBit() argument
53 m_bits[row * m_numcols + col] = bit ? (uint8_t)1 : (uint8_t)0; in setBit()
55 FX_BOOL CBC_DefaultPlacement::hasBit(int32_t col, int32_t row) { in hasBit() argument
56 return m_bits[row * m_numcols + col] != 2; in hasBit()
61 int32_t col = 0; in place() local
63 if ((row == m_numrows) && (col == 0)) { in place()
66 if ((row == m_numrows - 2) && (col == 0) && ((m_numcols % 4) != 0)) { in place()
69 if ((row == m_numrows - 2) && (col == 0) && (m_numcols % 8 == 4)) { in place()
[all …]
/external/libavc/encoder/
Dih264e_half_pel.c187 WORD32 row, col; in ih264e_sixtap_filter_2dvh_vert() local
194 for (col = -2; col < wd + 3; col++) in ih264e_sixtap_filter_2dvh_vert()
196 tmp = ih264_g_six_tap[0] * (pu1_src[col - 2 * src_strd] + pu1_src[col + 3 * src_strd]) + in ih264e_sixtap_filter_2dvh_vert()
197 … ih264_g_six_tap[1] * (pu1_src[col - 1 * src_strd] + pu1_src[col + 2 * src_strd]) + in ih264e_sixtap_filter_2dvh_vert()
198 ih264_g_six_tap[2] * (pu1_src[col] + pu1_src[col + 1 * src_strd]); in ih264e_sixtap_filter_2dvh_vert()
200 pi4_pred_temp[col] = tmp; in ih264e_sixtap_filter_2dvh_vert()
209 for (col = 0; col < wd; col++) in ih264e_sixtap_filter_2dvh_vert()
211 tmp = (pi4_pred[col - 2] + pi4_pred[col + 3]) + in ih264e_sixtap_filter_2dvh_vert()
212 ih264_g_six_tap[1] * (pi4_pred[col - 1] + pi4_pred[col + 2]) + in ih264e_sixtap_filter_2dvh_vert()
213 ih264_g_six_tap[2] * (pi4_pred[col] + pi4_pred[col + 1]); in ih264e_sixtap_filter_2dvh_vert()
[all …]
/external/libjpeg-turbo/java/
DTJUnitTest.java160 int index, row, col, halfway = 16; in initBuf() local
165 for (col = 0; col < w; col++) { in initBuf()
167 index = pitch * (h - row - 1) + col; in initBuf()
169 index = pitch * row + col; in initBuf()
170 if (((row / 8) + (col / 8)) % 2 == 0) in initBuf()
181 for (col = 0; col < w; col++) { in initBuf()
183 index = (h - row - 1) * w + col; in initBuf()
185 index = row * w + col; in initBuf()
186 if (((row / 8) + (col / 8)) % 2 == 0) { in initBuf()
200 for (col = 0; col < w; col++) { in initBuf()
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_tile.c43 unsigned col; /* current source column */ in micro_tile_8_x_4_8bit() local
51 for (col = 0; col < width; col += tile_width, ++k) in micro_tile_8_x_4_8bit()
53 uint8_t *src2 = (uint8_t *)src + src_pitch * row + col; in micro_tile_8_x_4_8bit()
60 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_4_8bit()
74 unsigned col; /* current source column */ in micro_tile_4_x_4_16bit() local
82 for (col = 0; col < width; col += tile_width, ++k) in micro_tile_4_x_4_16bit()
84 uint16_t *src2 = (uint16_t *)src + src_pitch * row + col; in micro_tile_4_x_4_16bit()
91 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_4_16bit()
105 unsigned col; /* current source column */ in micro_tile_8_x_2_16bit() local
113 for (col = 0; col < width; col += tile_width, ++k) in micro_tile_8_x_2_16bit()
[all …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tile.c43 unsigned col; /* current source column */ in micro_tile_8_x_4_8bit() local
51 for (col = 0; col < width; col += tile_width, ++k) in micro_tile_8_x_4_8bit()
53 uint8_t *src2 = (uint8_t *)src + src_pitch * row + col; in micro_tile_8_x_4_8bit()
60 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_4_8bit()
74 unsigned col; /* current source column */ in micro_tile_4_x_4_16bit() local
82 for (col = 0; col < width; col += tile_width, ++k) in micro_tile_4_x_4_16bit()
84 uint16_t *src2 = (uint16_t *)src + src_pitch * row + col; in micro_tile_4_x_4_16bit()
91 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_4_16bit()
105 unsigned col; /* current source column */ in micro_tile_8_x_2_16bit() local
113 for (col = 0; col < width; col += tile_width, ++k) in micro_tile_8_x_2_16bit()
[all …]
/external/pdfium/core/src/fxge/dib/
Dfx_dib_composite.cpp233 for (int col = 0; col < pixel_count; col++) { in _CompositeRow_Argb2Mask() local
236 src_alpha = clip_scan[col] * src_alpha / 255; in _CompositeRow_Argb2Mask()
252 for (int col = 0; col < pixel_count; col++) { in _CompositeRow_Rgba2Mask() local
255 src_alpha = clip_scan[col] * src_alpha / 255; in _CompositeRow_Rgba2Mask()
296 for (int col = 0; col < pixel_count; col++) { in _CompositeRow_Argb2Graya() local
301 src_alpha = clip_scan[col] * src_alpha / 255; in _CompositeRow_Argb2Graya()
319 src_alpha = clip_scan[col] * src_alpha / 255; in _CompositeRow_Argb2Graya()
347 for (int col = 0; col < pixel_count; col++) { in _CompositeRow_Argb2Graya() local
352 src_alpha = clip_scan[col] * src_alpha / 255; in _CompositeRow_Argb2Graya()
370 src_alpha = clip_scan[col] * src_alpha / 255; in _CompositeRow_Argb2Graya()
[all …]
/external/dng_sdk/source/
Ddng_reference.cpp99 for (uint32 col = 0; col < cols; col++) in RefSetArea8() local
140 for (uint32 col = 0; col < cols; col++) in RefSetArea16() local
181 for (uint32 col = 0; col < cols; col++) in RefSetArea32() local
226 for (uint32 col = 0; col < cols; col++) in RefCopyArea8() local
275 for (uint32 col = 0; col < cols; col++) in RefCopyArea16() local
324 for (uint32 col = 0; col < cols; col++) in RefCopyArea32() local
373 for (uint32 col = 0; col < cols; col++) in RefCopyArea8_16() local
422 for (uint32 col = 0; col < cols; col++) in RefCopyArea8_S16() local
473 for (uint32 col = 0; col < cols; col++) in RefCopyArea8_32() local
522 for (uint32 col = 0; col < cols; col++) in RefCopyArea16_S16() local
[all …]
/external/libvpx/libvpx/vp8/encoder/
Dmcomp.c39 …[0][(mv->as_mv.row - ref->as_mv.row) >> 1] + mvcost[1][(mv->as_mv.col - ref->as_mv.col) >> 1]) * W… in vp8_mv_bit_cost()
47 mvcost[1][(mv->as_mv.col - ref->as_mv.col) >> 1]) in mv_err_cost()
58 mvsadcost[1][(mv->as_mv.col - ref->as_mv.col)]) in mvsad_err_cost()
71 x->ss[search_site_count].mv.col = 0; in vp8_init_dsmotion_compensation()
80 x->ss[search_site_count].mv.col = 0; in vp8_init_dsmotion_compensation()
86 x->ss[search_site_count].mv.col = 0; in vp8_init_dsmotion_compensation()
92 x->ss[search_site_count].mv.col = -Len; in vp8_init_dsmotion_compensation()
98 x->ss[search_site_count].mv.col = Len; in vp8_init_dsmotion_compensation()
118 x->ss[search_site_count].mv.col = 0; in vp8_init3smotion_compensation()
127 x->ss[search_site_count].mv.col = 0; in vp8_init3smotion_compensation()
[all …]
/external/pdfium/core/src/fxge/skia/
Dfx_skia_blitter_new.cpp119 for (int col = col_start; col < col_end; col++) { in CompositeSpan1bpp_0() local
122 *dest_scan1 &= ~(1 << (7 - (col + span_left) % 8)); in CompositeSpan1bpp_0()
124 *dest_scan1 |= 1 << (7 - (col + span_left) % 8); in CompositeSpan1bpp_0()
126 dest_scan1 = dest_scan + (span_left % 8 + col - col_start + 1) / 8; in CompositeSpan1bpp_0()
164 for (int col = col_start; col < col_end; col++) { in CompositeSpan1bpp_4() local
165 int src_alpha1 = src_alpha * clip_scan[col] / 255; in CompositeSpan1bpp_4()
168 *dest_scan1 &= ~(1 << (7 - (col + span_left) % 8)); in CompositeSpan1bpp_4()
170 *dest_scan1 |= 1 << (7 - (col + span_left) % 8); in CompositeSpan1bpp_4()
172 dest_scan1 = dest_scan + (span_left % 8 + col - col_start + 1) / 8; in CompositeSpan1bpp_4()
203 for (int col = col_start; col < col_end; col++) { in CompositeSpanGray_2() local
[all …]
/external/javasqlite/src/main/java/SQLite/JDBC2z/
DJDBCResultSet.java229 int col = findColumn(columnName);
230 return getString(col);
256 int col = findColumn(columnName);
257 return getInt(col);
266 int col = findColumn(columnName);
267 return getBoolean(col);
300 int col = findColumn(columnName);
301 return getShort(col);
337 int col = findColumn(columnName);
338 return getTime(col);
[all …]
/external/opencv3/3rdparty/libjpeg/
Djdcolor.c149 register JDIMENSION col; in ycc_rgb_convert() local
165 for (col = 0; col < num_cols; col++) { in ycc_rgb_convert()
166 y = GETJSAMPLE(inptr0[col]); in ycc_rgb_convert()
167 cb = GETJSAMPLE(inptr1[col]); in ycc_rgb_convert()
168 cr = GETJSAMPLE(inptr2[col]); in ycc_rgb_convert()
222 register JDIMENSION col; in rgb_gray_convert() local
231 for (col = 0; col < num_cols; col++) { in rgb_gray_convert()
232 r = GETJSAMPLE(inptr0[col]); in rgb_gray_convert()
233 g = GETJSAMPLE(inptr1[col]); in rgb_gray_convert()
234 b = GETJSAMPLE(inptr2[col]); in rgb_gray_convert()
[all …]
/external/opencv3/modules/imgproc/test/
Dtest_cvtyuv.cpp23 virtual YUV read(const Mat& yuv, int row, int col) = 0;
37 virtual RGB read(const Mat& rgb, int row, int col) = 0;
48 virtual void write(Mat& rgb, int row, int col, const RGB& val) = 0;
59 virtual void write(Mat& gray, int row, int col, const uchar& val) in write() argument
61 gray.at<uchar>(row, col) = val; in write()
74 virtual void write(Mat& yuv, int row, int col, const YUV& val) = 0;
86 void write(Mat& rgb, int row, int col, const RGB& val) in write() argument
88 rgb.at<Vec3b>(row, col) = val; in write()
96 void write(Mat& rgb, int row, int col, const RGB& val) in write() argument
99 rgb.at<Vec3b>(row, col) = tmp; in write()
[all …]
/external/eigen/Eigen/src/SparseCore/
DSparseColEtree.h73 Index row,col; variable
78 for (col = 0; col < nc; col++)
80 Index pcol = col;
81 if(perm) pcol = perm[col];
85 firstRowElt(row) = (std::min)(firstRowElt(row), col);
93 for (col = 0; col < nc; col++)
95 found_diag = col>=m;
96 pp(col) = col;
97 cset = col;
98 root(cset) = col;
[all …]
/external/eigen/unsupported/Eigen/src/Skyline/
DSkylineInplaceLU.h131 const Index& col = row; in compute() local
132 for (typename MatrixType::InnerLowerIterator lIt(m_lu, col); lIt; ++lIt) { in compute()
137 typename MatrixType::InnerLowerIterator lIt(m_lu, col); in compute()
156 typename MatrixType::InnerLowerIterator lIt3(m_lu, col); in compute()
169 typename MatrixType::InnerLowerIterator lIt2(m_lu, col); in compute()
195 for (Index col = llIt.col(); col < row; col++) { in computeRowMajor() local
196 if (m_lu.coeffExistLower(row, col)) { in computeRowMajor()
197 const double diag = m_lu.coeffDiag(col); in computeRowMajor()
200 typename MatrixType::InnerUpperIterator uIt(m_lu, col); in computeRowMajor()
203 const Index offset = lIt.col() - uIt.row(); in computeRowMajor()
[all …]

12345678910>>...44