/third_party/ffmpeg/libavcodec/ |
H A D | vlc.h | 104 h, i, j, flags, static_size) \ 106 static VLCElem table[static_size]; \ 108 (vlc)->table_allocated = static_size; \ 113 #define INIT_VLC_SPARSE_STATIC(vlc, bits, a, b, c, d, e, f, g, h, i, j, static_size) \ 115 h, i, j, 0, static_size) 117 #define INIT_LE_VLC_SPARSE_STATIC(vlc, bits, a, b, c, d, e, f, g, h, i, j, static_size) \ 119 h, i, j, INIT_VLC_LE, static_size) 121 #define INIT_CUSTOM_VLC_STATIC(vlc, bits, a, b, c, d, e, f, g, flags, static_size) \ 123 NULL, 0, 0, flags, static_size) 125 #define INIT_VLC_STATIC(vlc, bits, a, b, c, d, e, f, g, static_size) \ [all...] |
H A D | rl.h | 65 * buffer of `static_size` RL_VLC_ELEM elements; if a pointer is NULL, 71 void ff_rl_init_vlc(RLTable *rl, unsigned static_size); 73 #define INIT_VLC_RL(rl, static_size)\ 75 static RL_VLC_ELEM rl_vlc_table[32][static_size];\ 80 ff_rl_init_vlc(&rl, static_size); \ 83 #define INIT_FIRST_VLC_RL(rl, static_size) \ 85 static RL_VLC_ELEM rl_vlc_table[static_size]; \ 88 ff_rl_init_vlc(&rl, static_size); \
|
H A D | mpeg12dec.h | 29 #define INIT_2D_VLC_RL(rl, static_size, flags)\ 31 static RL_VLC_ELEM rl_vlc_table[static_size];\ 33 ff_init_2d_vlc_rl(&rl, static_size, flags);\ 36 void ff_init_2d_vlc_rl(RLTable *rl, unsigned static_size, int flags);
|
H A D | rl.c | 62 av_cold void ff_rl_init_vlc(RLTable *rl, unsigned static_size) in ff_rl_init_vlc() argument 66 VLC vlc = { .table = table, .table_allocated = static_size }; in ff_rl_init_vlc() 67 av_assert0(static_size <= FF_ARRAY_ELEMS(table)); in ff_rl_init_vlc()
|
H A D | mpeg12.c | 66 av_cold void ff_init_2d_vlc_rl(RLTable *rl, unsigned static_size, int flags) in ff_init_2d_vlc_rl() argument 70 VLC vlc = { .table = table, .table_allocated = static_size }; in ff_init_2d_vlc_rl() 71 av_assert0(static_size <= FF_ARRAY_ELEMS(table)); in ff_init_2d_vlc_rl()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-subset-cff-common.cc | 124 subset_fdselect_size = FDSelect::min_size + FDSelect4::min_size + FDSelect4_Range::static_size * num_ranges + HBUINT32::static_size; in hb_plan_subset_cff_fdselect() 129 unsigned int format0_size = FDSelect::min_size + FDSelect0::min_size + HBUINT8::static_size * subset_num_glyphs; in hb_plan_subset_cff_fdselect() 131 unsigned int format3_size = FDSelect::min_size + FDSelect3::min_size + FDSelect3_Range::static_size * num_ranges + HBUINT16::static_size; in hb_plan_subset_cff_fdselect()
|
H A D | hb-ot-cff-common.hh | 270 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 in get_size() [all...] |
H A D | hb-ot-color-colr-table.hh | 193 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); [all...] |
H A D | hb-aat-layout-common.hh | 103 DEFINE_SIZE_STATIC (4 + T::static_size); 231 DEFINE_SIZE_STATIC (2 + T::static_size); 444 * That said, in our DEFINE_SIZE_STATIC we access T::static_size, in sanitize() 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()
|
H A D | hb-open-type.hh | 243 const HBUINT32 *EndPtr = Table + Length / HBUINT32::static_size; 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; [all...] |
H A D | hb-ot-cff1-table.hh | 196 Encoding0 *fmt0 = c->allocate_size<Encoding0> (Encoding0::min_size + HBUINT8::static_size * enc_count); in serialize() 213 Encoding1 *fmt1 = c->allocate_size<Encoding1> (Encoding1::min_size + Encoding1_Range::static_size * code_ranges.length); in serialize() 230 CFF1SuppEncData *suppData = c->allocate_size<CFF1SuppEncData> (CFF1SuppEncData::min_size + SuppEncoding::static_size * supp_codes.length); 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_glyphs - 1)); in serialize() 481 Charset1 *fmt1 = c->allocate_size<Charset1> (Charset1::min_size + Charset1_Range::static_size * sid_range in serialize() [all...] |
H A D | hb-ot-post-table-v2subset.hh | 61 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()
|
H A D | hb-machinery.hh | 108 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) \
|
H A D | hb-ot-cff2-table.hh | 67 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()
|
H A D | hb-aat-layout-kerx-table.hh | 145 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()
|
H A D | hb-ot-var-common.hh | 49 memcpy (p, this, HBUINT8::static_size * total_size); in copy() 154 memcpy (p, this, HBUINT8::static_size * total_size); in copy()
|
H A D | hb-subset-cff1.cc | 457 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()
|
H A D | hb-ot-var-mvar-table.hh | 69 valueRecordSize >= VariationValueRecord::static_size && in sanitize()
|
H A D | hb-ot-kern-table.hh | 111 DEFINE_SIZE_ARRAY (KernSubTableHeader::static_size + 6, kernValueZ); 166 DEFINE_SIZE_MIN (KernSubTableHeader::static_size);
|
H A D | hb-ot-name-table.hh | 217 NameRecord *name_records = (NameRecord *) hb_calloc (it.len (), NameRecord::static_size); in serialize() 224 memcpy (name_records, &record, NameRecord::static_size); in serialize()
|
H A D | hb-ot-cmap-table.hh | 176 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 if (unlikely ((char *)idRangeOffset - (char *)idDelta != (int) segcount * (int) HBINT16::static_size)) return nullptr; 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()
|
H A D | hb-ot-math-table.hh | 78 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()
|
H A D | hb-ot-var-gvar-table.hh | 295 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()
|
H A D | hb-null.hh | 65 * Returns T::static_size if T::min_size is defined, or sizeof (T) otherwise. */ 70 struct _hb_static_size<T, hb_void_t<decltype (T::min_size)>> : hb_integral_constant<unsigned, T::static_size> {};
|
H A D | hb-ot-hdmx-table.hh | 45 { return hb_ceil_to_4 (min_size + count * HBUINT8::static_size); } in get_size()
|