Searched refs:widths (Results 26 - 50 of 66) sorted by relevance

123

/external/libvpx/libvpx/vpx_dsp/
H A Dpsnr.c204 const int widths[3] = { a->y_crop_width, a->uv_crop_width, a->uv_crop_width }; local
218 const int w = widths[i];
252 const int widths[3] = { a->y_crop_width, a->uv_crop_width, a->uv_crop_width }; local
264 const int w = widths[i];
/external/skia/gm/
H A Dpath_stroke_with_zero_length.cpp116 SkScalar widths[] = { 0, .999f, 1, 1.001f, 20 }; variable
120 for (SkScalar width : widths) {
H A Dhairlines.cpp245 const SkScalar widths[] = { 0, 0.999f, 1, 1.001f }; local
249 for (auto width : widths) {
/external/skia/src/pdf/
H A DSkPDFFont.cpp437 sk_sp<SkPDFArray> widths = SkPDFMakeCIDGlyphWidthsArray( local
439 if (widths && widths->size() > 0) {
440 newCIDFont->insertObject("W", std::move(widths));
513 auto widths = sk_make_sp<SkPDFArray>(); local
515 widths->appendScalar(from_font_units(advance, SkToU16(emSize)));
518 widths->appendScalar(from_font_units(advance, SkToU16(emSize)));
520 font->insertObject("Widths", std::move(widths));
/external/pdfium/core/fpdfapi/parser/
H A Dcpdf_document.cpp193 void InsertWidthArrayImpl(int* widths, int size, CPDF_Array* pWidthArray) { argument
196 if (widths[i] != *widths)
202 pWidthArray->AddNew<CPDF_Number>(*widths);
206 pWidthArray1->AddNew<CPDF_Number>(widths[i]);
208 FX_Free(widths);
214 int* widths = FX_Alloc(int, size); local
215 GetCharWidth(hDC, start, end, widths);
216 InsertWidthArrayImpl(widths, size, pWidthArray);
238 int* widths local
[all...]
/external/freetype/src/autofit/
H A Daflatin.c57 /* Find segments and links, compute all stem widths, and initialize */
69 "latin standard widths computation (style `%s')\n"
217 axis->widths[num_widths++].org = dist;
221 /* this also replaces multiple almost identical stem widths */
223 af_sort_and_quantize_widths( &num_widths, axis->widths,
235 stdw = ( axis->width_count > 0 ) ? axis->widths[0].org
248 FT_TRACE5(( "%s widths:\n",
254 FT_TRACE5(( " %d", axis->widths[i].org ));
1112 /* Adjust scaling value, then scale and shift widths */
1263 FT_TRACE5(( "%s widths (styl
1901 af_latin_hints_link_segments( AF_GlyphHints hints, FT_UInt width_count, AF_WidthRec* widths, AF_Dimension dim ) argument
2622 af_latin_snap_width( AF_Width widths, FT_UInt count, FT_Pos width ) argument
[all...]
H A Dafcjk.c78 "cjk standard widths computation (style `%s')\n"
224 axis->widths[num_widths++].org = dist;
228 /* this also replaces multiple almost identical stem widths */
230 af_sort_and_quantize_widths( &num_widths, axis->widths,
242 stdw = ( axis->width_count > 0 ) ? axis->widths[0].org
255 FT_TRACE5(( "%s widths:\n",
261 FT_TRACE5(( " %d", axis->widths[i].org ));
641 /* Adjust scaling value, then scale and shift widths */
1433 /* current standard widths. */
1436 af_cjk_snap_width( AF_Width widths, argument
[all...]
H A Daflatin2.c143 axis->widths[num_widths++].org = dist;
147 af_sort_widths( num_widths, axis->widths );
159 ? axis->widths[0].org
619 /* scale the standard widths */
622 AF_Width width = axis->widths + nn;
1596 /* current standard widths */
1599 af_latin2_snap_width( AF_Width widths, argument
1615 w = widths[n].cur;
1676 /* leave the widths of serifs alone */
1698 delta = dist - axis->widths[
[all...]
H A Daftypes.h92 AF_Width widths,
/external/freetype/src/pshinter/
H A Dpshglob.c39 /* scale the widths/heights table */
47 PSH_Width width = stdw->widths;
100 w = dimension->stdw.widths[n].cur;
661 /* copy standard widths */
664 PSH_Width write = dim->stdw.widths;
684 PSH_Width write = dim->stdw.widths;
H A Dpshalgo.c352 FT_Pos delta = len - dim->stdw.widths[0].cur;
360 len = dim->stdw.widths[0].cur;
533 /* Stem adjustment tries to snap stem widths to standard
/external/pdfium/third_party/freetype/src/pshinter/
H A Dpshglob.c39 /* scale the widths/heights table */
47 PSH_Width width = stdw->widths;
100 w = dimension->stdw.widths[n].cur;
661 /* copy standard widths */
664 PSH_Width write = dim->stdw.widths;
684 PSH_Width write = dim->stdw.widths;
H A Dpshalgo.c352 FT_Pos delta = len - dim->stdw.widths[0].cur;
360 len = dim->stdw.widths[0].cur;
533 /* Stem adjustment tries to snap stem widths to standard
/external/ImageMagick/www/api/
H A Dimage-view.php103 <p>DuplexTransferImageViewIterator() iterates over three image views in parallel and calls your transfer method for each scanline of the view. The source and duplex pixel extent is not confined to the image canvas-- that is you can include negative offsets or widths or heights that exceed the image dimension. However, the destination image view is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension are permitted.</p>
275 <p>GetImageViewIterator() iterates over the image view in parallel and calls your get method for each scanline of the view. The pixel extent is not confined to the image canvas-- that is you can include negative offsets or widths or heights that exceed the image dimension. Any updates to the pixels in your callback are ignored.</p>
473 <p>SetImageViewIterator() iterates over the image view in parallel and calls your set method for each scanline of the view. The pixel extent is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension. The pixels are initiallly undefined and any settings you make in the callback method are automagically synced back to your image.</p>
519 <p>TransferImageViewIterator() iterates over two image views in parallel and calls your transfer method for each scanline of the view. The source pixel extent is not confined to the image canvas-- that is you can include negative offsets or widths or heights that exceed the image dimension. However, the destination image view is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension are permitted.</p>
570 <p>UpdateImageViewIterator() iterates over the image view in parallel and calls your update method for each scanline of the view. The pixel extent is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension are permitted. Updates to pixels in your callback are automagically synced back to the image.</p>
H A Dwand-view.php103 <p>DuplexTransferWandViewIterator() iterates over three wand views in parallel and calls your transfer method for each scanline of the view. The source and duplex pixel extent is not confined to the image canvas-- that is you can include negative offsets or widths or heights that exceed the image dimension. However, the destination wand view is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension are permitted.</p>
208 <p>GetWandViewIterator() iterates over the wand view in parallel and calls your get method for each scanline of the view. The pixel extent is not confined to the image canvas-- that is you can include negative offsets or widths or heights that exceed the image dimension. Any updates to the pixels in your callback are ignored.</p>
395 <p>SetWandViewIterator() iterates over the wand view in parallel and calls your set method for each scanline of the view. The pixel extent is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension. The pixels are initiallly undefined and any settings you make in the callback method are automagically synced back to your image.</p>
441 <p>TransferWandViewIterator() iterates over two wand views in parallel and calls your transfer method for each scanline of the view. The source pixel extent is not confined to the image canvas-- that is you can include negative offsets or widths or heights that exceed the image dimension. However, the destination wand view is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension are permitted.</p>
492 <p>UpdateWandViewIterator() iterates over the wand view in parallel and calls your update method for each scanline of the view. The pixel extent is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension are permitted. Updates to pixels in your callback are automagically synced back to the image.</p>
/external/skia/src/core/
H A DSkPaint.cpp956 SkScalar widths[], SkRect bounds[]) const {
963 if (nullptr == widths && nullptr == bounds) {
983 // we adjust the widths returned here through auto-kerning
990 if (widths) {
994 *widths++ = (prevWidth + adjust) * scale;
1003 if (count > 0 && widths) {
1004 *widths = prevWidth * scale;
1009 if (widths) {
1013 *widths++ = prevWidth + adjust;
1022 if (count > 0 && widths) {
955 getTextWidths(const void* textData, size_t byteLength, SkScalar widths[], SkRect bounds[]) const argument
[all...]
/external/iw/
H A Dinfo.c399 unsigned long widths = nla_get_u32(tb_comb[NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS]); local
401 if (widths) {
405 printf(", radar detect widths: {");
407 if (widths & (1 << width)) {
/external/skia/tests/
H A DStrokerTest.cpp23 const SkScalar widths[] = {-FLT_MAX, -1, -0.1f, -FLT_EPSILON, 0, FLT_EPSILON, variable
27 size_t widths_count = SK_ARRAY_COUNT(widths);
34 p.setStrokeWidth(widths[index]);
/external/skia/fuzz/
H A DFuzzCanvas.cpp1612 SkAutoTMalloc<SkScalar> widths(glyphCount);
1613 paint.getTextWidths(text.begin(), SkToSizeT(text.count()), widths.get());
1618 pos[i] = {pos[i - 1].x() + widths[i - 1], y};
1629 SkAutoTMalloc<SkScalar> widths(glyphCount);
1633 paint.getTextWidths(text.begin(), SkToSizeT(text.count()), widths.get());
1634 SkScalar x = widths[0];
1636 SkTSwap(x, widths[i]);
1637 x += widths[i];
1641 widths[i] += offset;
1645 canvas->drawPosTextH(text.begin(), SkToSizeT(text.count()), widths
[all...]
/external/autotest/client/cros/chameleon/
H A Dchameleon.py607 def fire_mixed_hpd_pulses(self, widths):
608 """Fires one or more HPD pulses, starting at low, of mixed widths.
610 One must specify a list of segment widths in the widths argument where
611 widths[0] is the width of the first low segment, widths[1] is that of
612 the first high segment, widths[2] is that of the second low segment...
613 etc. The HPD line stops at low if even number of segment widths are
616 @param widths: list of pulse segment widths i
[all...]
/external/skia/include/core/
H A DSkPaint.h842 * widths are <= maxWidth are measured.
856 * @param widths If not null, returns the array of advances for
863 int getTextWidths(const void* text, size_t byteLength, SkScalar widths[],
/external/deqp/modules/gles31/functional/
H A Des31fPrimitiveBoundingBoxTests.cpp3107 std::vector<tcu::IVec2> widths;
3187 widths.push_back(widthsUpwards[(int)widthsUpwards.size() - ndx - 1]);
3189 widths.push_back(widthsDownwards[ndx]);
3190 DE_ASSERT(!widths.empty());
3192 for (int y = 0; y < (int)widths.size() - expectedPointSize + 1; ++y)
3194 tcu::IVec2 unionRange = widths[y];
3198 unionRange.x() = de::max(unionRange.x(), widths[y+dy].x());
3199 unionRange.y() = de::min(unionRange.y(), widths[y+dy].y());
/external/libvorbis/doc/
H A D02-bitpacking.tex195 four-bit integer, reading some other combination of bit-widths from the
/external/clang/lib/Lex/
H A DLiteralSupport.cpp384 "only character widths of 1, 2, or 4 bytes supported");
/external/pdfium/xfa/fxfa/parser/
H A Dxfa_layout_itemlayout.cpp1751 auto widths = SeparateStringW(wsColumnWidths.c_str(), local
1753 for (auto& width : widths) {

Completed in 1288 milliseconds

123