Home
last modified time | relevance | path

Searched refs:static_size (Results 1 – 25 of 44) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dvlc.h99 h, i, j, flags, static_size) \ argument
101 static VLC_TYPE table[static_size][2]; \
103 (vlc)->table_allocated = static_size; \
108 #define INIT_VLC_SPARSE_STATIC(vlc, bits, a, b, c, d, e, f, g, h, i, j, static_size) \ argument
110 h, i, j, 0, static_size)
112 #define INIT_LE_VLC_SPARSE_STATIC(vlc, bits, a, b, c, d, e, f, g, h, i, j, static_size) \ argument
114 h, i, j, INIT_VLC_LE, static_size)
116 #define INIT_CUSTOM_VLC_STATIC(vlc, bits, a, b, c, d, e, f, g, flags, static_size) \ argument
118 NULL, 0, 0, flags, static_size)
120 #define INIT_VLC_STATIC(vlc, bits, a, b, c, d, e, f, g, static_size) \ argument
[all …]
Drl.h56 void ff_rl_init_vlc(RLTable *rl, unsigned static_size);
58 #define INIT_VLC_RL(rl, static_size)\ argument
61 static RL_VLC_ELEM rl_vlc_table[32][static_size];\
67 ff_rl_init_vlc(&rl, static_size);\
71 #define INIT_FIRST_VLC_RL(rl, static_size) \ argument
73 static RL_VLC_ELEM rl_vlc_table[static_size]; \
76 ff_rl_init_vlc(&rl, static_size); \
Dmpeg12.h30 #define INIT_2D_VLC_RL(rl, static_size, flags)\ argument
32 static RL_VLC_ELEM rl_vlc_table[static_size];\
34 ff_init_2d_vlc_rl(&rl, static_size, flags);\
37 void ff_init_2d_vlc_rl(RLTable *rl, unsigned static_size, int flags);
Drl.c71 av_cold void ff_rl_init_vlc(RLTable *rl, unsigned static_size) in ff_rl_init_vlc() argument
75 VLC vlc = { .table = table, .table_allocated = static_size }; in ff_rl_init_vlc()
76 av_assert0(static_size <= FF_ARRAY_ELEMS(table)); in ff_rl_init_vlc()
Dmpeg12.c69 av_cold void ff_init_2d_vlc_rl(RLTable *rl, unsigned static_size, int flags) in ff_init_2d_vlc_rl() argument
73 VLC vlc = { .table = table, .table_allocated = static_size }; in ff_init_2d_vlc_rl()
74 av_assert0(static_size <= FF_ARRAY_ELEMS(table)); in ff_init_2d_vlc_rl()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-subset-cff-common.cc124 …::min_size + FDSelect4::min_size + FDSelect4_Range::static_size * num_ranges + HBUINT32::static_si… in hb_plan_subset_cff_fdselect()
129 …unsigned int format0_size = FDSelect::min_size + FDSelect0::min_size + HBUINT8::static_size * subs… in hb_plan_subset_cff_fdselect()
131 …::min_size + FDSelect3::min_size + FDSelect3_Range::static_size * num_ranges + HBUINT16::static_si… in hb_plan_subset_cff_fdselect()
Dhb-ot-color-colr-table.hh193 DEFINE_SIZE_STATIC (4 + T::static_size);
222 DEFINE_SIZE_STATIC (T::static_size);
251 DEFINE_SIZE_STATIC (2 + 2 * F2DOT14::static_size);
368 DEFINE_SIZE_STATIC (6 * HBFixed::static_size);
423 DEFINE_SIZE_STATIC (3 + F2DOT14::static_size);
457 DEFINE_SIZE_STATIC (4 + 6 * FWORD::static_size);
491 DEFINE_SIZE_STATIC (4 + 6 * FWORD::static_size);
523 DEFINE_SIZE_STATIC (4 + 2 * FWORD::static_size + 2 * F2DOT14::static_size);
637 DEFINE_SIZE_STATIC (4 + 2 * FWORD::static_size);
664 DEFINE_SIZE_STATIC (4 + 2 * F2DOT14::static_size);
[all …]
Dhb-ot-cff-common.hh270 unsigned int data_size () const { return HBINT8::static_size; } in data_size()
283 return count.static_size; /* empty CFFIndex contains count only */ in get_size()
314 DEFINE_SIZE_ARRAY (COUNT::static_size + HBUINT8::static_size, offsets);
487 { return HBUINT8::static_size * num_glyphs; } in get_size()
506 DEFINE_SIZE_STATIC (GID_TYPE::static_size + FD_TYPE::static_size);
513 { return GID_TYPE::static_size * 2 + ranges.get_size (); } in get_size()
550 DEFINE_SIZE_ARRAY (GID_TYPE::static_size, ranges);
572 case 0: return format.static_size + u.format0.get_size (num_glyphs); in get_size()
573 case 3: return format.static_size + u.format3.get_size (); in get_size()
Dhb-open-type.hh243 const HBUINT32 *EndPtr = Table + Length / HBUINT32::static_size; in CalcTableChecksum()
464 { return len * Type::static_size; } in get_size()
620 { return len.static_size + len * Type::static_size; } in get_size()
779 static constexpr unsigned item_size = Type::static_size;
796 { return lenP1.static_size + get_length () * Type::static_size; } in get_size()
880 { return lenM1.static_size + (lenM1 + 1) * Type::static_size; } in get_size()
1031 static constexpr unsigned item_size = Type::static_size;
1066 { return header.static_size + header.nUnits * header.unitSize; } in get_size()
1100 Type::static_size <= header.unitSize && in sanitize_shallow()
Dhb-aat-layout-common.hh103 DEFINE_SIZE_STATIC (4 + T::static_size);
231 DEFINE_SIZE_STATIC (2 + T::static_size);
450 static_assert (T::static_size, ""); in sanitize()
462 DEFINE_SIZE_STATIC (4 + T::static_size);
539 if (unlikely (hb_unsigned_mul_overflows (num_classes, states[0].static_size))) in sanitize()
541 unsigned int row_stride = num_classes * states[0].static_size; in sanitize()
685 return (offset - unsigned ((const char *) array - (const char *) base)) / T::static_size; in offsetToIndex()
Dhb-ot-cff1-table.hh196 …Encoding0 *fmt0 = c->allocate_size<Encoding0> (Encoding0::min_size + HBUINT8::static_size * enc_co… in serialize()
213 … = c->allocate_size<Encoding1> (Encoding1::min_size + Encoding1_Range::static_size * code_ranges.l… in serialize()
230 …ocate_size<CFF1SuppEncData> (CFF1SuppEncData::min_size + SuppEncoding::static_size * supp_codes.le… in serialize()
345 return HBUINT16::static_size * (num_glyphs - 1); in get_size()
364 DEFINE_SIZE_STATIC (HBUINT16::static_size + TYPE::static_size);
416 unsigned int size = HBUINT8::static_size; in get_size()
424 size += Charset_Range<TYPE>::static_size; in get_size()
467 …Charset0 *fmt0 = c->allocate_size<Charset0> (Charset0::min_size + HBUINT16::static_size * (num_gly… in serialize()
481 …Charset1 *fmt1 = c->allocate_size<Charset1> (Charset1::min_size + Charset1_Range::static_size * si… in serialize()
495 …Charset2 *fmt2 = c->allocate_size<Charset2> (Charset2::min_size + Charset2_Range::static_size * si… in serialize()
Dhb-ot-post-table-v2subset.hh61 HBUINT8 *o = c->allocate_size<HBUINT8> (HBUINT8::static_size * (s.length + 1)); in serialize()
64 memcpy (o+1, s.arrayZ, HBUINT8::static_size * s.length); in serialize()
Dhb-machinery.hh108 static constexpr unsigned static_size = (size)
111 DEFINE_COMPILES_ASSERTION ((void) this->u._member.static_size) \
126 DEFINE_COMPILES_ASSERTION ((void) (array)[0].static_size) \
Dhb-ot-cff2-table.hh67 case 0: return format.static_size + u.format0.get_size (num_glyphs); in get_size()
68 case 3: return format.static_size + u.format3.get_size (); in get_size()
69 case 4: return format.static_size + u.format4.get_size (); in get_size()
131 unsigned int get_size () const { return HBUINT16::static_size + size; } in get_size()
Dhb-aat-layout-kerx-table.hh145 DEFINE_SIZE_ARRAY (KernSubTableHeader::static_size + 16, pairs);
371 DEFINE_SIZE_STATIC (KernSubTableHeader::static_size + 5 * sizeof (HBUINT));
448 DEFINE_SIZE_STATIC (KernSubTableHeader::static_size + 4 * sizeof (HBUINT));
615 DEFINE_SIZE_STATIC (KernSubTableHeader::static_size + 20);
726 DEFINE_SIZE_STATIC (KernSubTableHeader::static_size + 24);
791 u.header.length <= u.header.static_size || in sanitize()
Dhb-ot-var-common.hh49 memcpy (p, this, HBUINT8::static_size * total_size); in copy()
154 memcpy (p, this, HBUINT8::static_size * total_size); in copy()
Dhb-subset-cff1.cc457 size0 = Encoding0::min_size + HBUINT8::static_size * subset_enc_num_codes; in plan_subset_encoding()
458 size1 = Encoding1::min_size + Encoding1_Range::static_size * subset_enc_code_ranges.length; in plan_subset_encoding()
501 size0 = Charset0::min_size + HBUINT16::static_size * (plan->num_output_glyphs () - 1); in plan_subset_charset()
503 size_ranges = Charset1::min_size + Charset1_Range::static_size * subset_charset_ranges.length; in plan_subset_charset()
505 size_ranges = Charset2::min_size + Charset2_Range::static_size * subset_charset_ranges.length; in plan_subset_charset()
Dhb-ot-cmap-table.hh176 if ((char *)idDelta - (char *)startCode != (int) segcount * (int) HBINT16::static_size) in serialize_idDelta_array()
224 HBUINT16 *idRangeOffset = c->allocate_size<HBUINT16> (HBUINT16::static_size * segcount); in serialize_rangeoffset_glyid()
226 …r *)idRangeOffset - (char *)idDelta != (int) segcount * (int) HBINT16::static_size)) return nullpt… in serialize_rangeoffset_glyid()
264 unsigned segcount = (c->length () - min_size) / HBUINT16::static_size; in serialize()
267 … if (unlikely (!c->allocate_size<HBUINT16> (HBUINT16::static_size))) return; // 2 bytes of padding. in serialize()
759 this->groups.len = (this->length - min_size)/CmapSubtableLongGroup::static_size; in serialize()
881 (c->length () - init_len) / UnicodeValueRange::static_size, in copy()
1145 VariationSelectorRecord::static_size, in serialize()
1442 (c->length () - cmap::min_size)/EncodingRecord::static_size, in serialize()
Dhb-ot-var-mvar-table.hh69 valueRecordSize >= VariationValueRecord::static_size && in sanitize()
Dhb-ot-kern-table.hh111 DEFINE_SIZE_ARRAY (KernSubTableHeader::static_size + 6, kernValueZ);
166 DEFINE_SIZE_MIN (KernSubTableHeader::static_size);
Dhb-ot-name-table.hh217 NameRecord *name_records = (NameRecord *) hb_calloc (it.len (), NameRecord::static_size); in serialize()
224 memcpy (name_records, &record, NameRecord::static_size); in serialize()
Dhb-ot-math-table.hh78 HBINT16 *p = c->allocate_size<HBINT16> (HBINT16::static_size * 2); in copy()
80 memcpy (p, percentScaleDown, HBINT16::static_size * 2); in copy()
82 HBUINT16 *m = c->allocate_size<HBUINT16> (HBUINT16::static_size * 2); in copy()
84 memcpy (m, minHeight, HBUINT16::static_size * 2); in copy()
Dhb-ot-var-gvar-table.hh295 p += HBUINT16::static_size; in unpack_points()
340 p += HBUINT16::static_size; in unpack_deltas()
442 unsigned int shared_tuple_size = F2DOT14::static_size * axisCount * sharedTupleCount; in subset()
Dhb-ot-hdmx-table.hh45 { return hb_ceil_to_4 (min_size + count * HBUINT8::static_size); } in get_size()
Dhb-null.hh70 …tic_size<T, hb_void_t<decltype (T::min_size)>> : hb_integral_constant<unsigned, T::static_size> {};

12