• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/

Lines Matching refs:count

72 static const char *auto_sep(int count, const char *sep, int i, int columns)
79 return columns < count ? "\n" : "";
82 int ff_tadd_rational_metadata(int count, const char *name, const char *sep,
90 if (count >= INT_MAX / sizeof(int64_t) || count <= 0)
92 if (bytestream2_get_bytes_left(gb) < count * sizeof(int64_t))
95 av_bprint_init(&bp, 10 * count, AV_BPRINT_SIZE_UNLIMITED);
97 for (i = 0; i < count; i++) {
100 av_bprintf(&bp, "%s%7i:%-7i", auto_sep(count, sep, i, 4), nom, denom);
116 int ff_tadd_long_metadata(int count, const char *name, const char *sep,
123 if (count >= INT_MAX / sizeof(int32_t) || count <= 0)
125 if (bytestream2_get_bytes_left(gb) < count * sizeof(int32_t))
128 av_bprint_init(&bp, 10 * count, AV_BPRINT_SIZE_UNLIMITED);
130 for (i = 0; i < count; i++) {
131 av_bprintf(&bp, "%s%7i", auto_sep(count, sep, i, 8), ff_tget_long(gb, le));
147 int ff_tadd_doubles_metadata(int count, const char *name, const char *sep,
154 if (count >= INT_MAX / sizeof(int64_t) || count <= 0)
156 if (bytestream2_get_bytes_left(gb) < count * sizeof(int64_t))
159 av_bprint_init(&bp, 10 * count, 100 * count);
161 for (i = 0; i < count; i++) {
162 av_bprintf(&bp, "%s%.15g", auto_sep(count, sep, i, 4), ff_tget_double(gb, le));
178 int ff_tadd_shorts_metadata(int count, const char *name, const char *sep,
185 if (count >= INT_MAX / sizeof(int16_t) || count <= 0)
187 if (bytestream2_get_bytes_left(gb) < count * sizeof(int16_t))
190 av_bprint_init(&bp, 10 * count, AV_BPRINT_SIZE_UNLIMITED);
192 for (i = 0; i < count; i++) {
194 av_bprintf(&bp, "%s%5i", auto_sep(count, sep, i, 8), v);
210 int ff_tadd_bytes_metadata(int count, const char *name, const char *sep,
217 if (count >= INT_MAX / sizeof(int8_t) || count < 0)
219 if (bytestream2_get_bytes_left(gb) < count * sizeof(int8_t))
222 av_bprint_init(&bp, 10 * count, AV_BPRINT_SIZE_UNLIMITED);
224 for (i = 0; i < count; i++) {
226 av_bprintf(&bp, "%s%3i", auto_sep(count, sep, i, 16), v);
241 int ff_tadd_string_metadata(int count, const char *name,
246 if (bytestream2_get_bytes_left(gb) < count || count < 0)
249 value = av_malloc(count + 1);
253 bytestream2_get_bufferu(gb, value, count);
254 value[count] = 0;
287 unsigned *count, int *next)
294 *count = ff_tget_long (gb, le);
307 // if count values do not fit into the offset value
308 if (ifd_tag || (*count > 4 || !(type_sizes[*type] * (*count) <= 4 || *type == TIFF_STRING))) {