HomeSort by relevance Sort by last modified time
    Searched refs:FAILIF (Results 1 - 3 of 3) sorted by null

  /development/tools/yuv420sp2rgb/
debug.h 12 #define FAILIF(cond, msg...) do { \
32 #define FAILIF(cond, msg...) do { \
45 FAILIF(cond, "%s(): %s\n", #function, elf_errmsg(elf_errno()));
49 FAILIF(NULL == m, "malloc(%d) failed!\n", size);
55 FAILIF(NULL == m, "calloc(%d, %d) failed!\n", num_entries, entry_size);
61 FAILIF(NULL == m, "realloc(%p, %d) failed!\n", ptr, size);
cmdline.c 98 FAILIF(1 != sscanf(optarg+2, "%x", val), \
101 FAILIF(1 != sscanf(optarg, "%d", val), \
142 FAILIF(1, "Unknown option");
yuv420sp2rgb.c 154 FAILIF(1, "Unexpected roation value %d!\n", ctx->rotate);
159 FAILIF(offset < 0, "point (%d, %d) generates a negative offset.\n", ctx->i, ctx->j);
160 FAILIF(offset + bpp > ctx->size, "point (%d, %d) at offset %d exceeds the size %d of the buffer.\n",
231 FAILIF(ifd < 0, "open(%s) failed: %s (%d)\n",
236 FAILIF(ofd < 0, "open(%s) failed: %s (%d)\n",
241 FAILIF(in == MAP_FAILED, "could not mmap input file: %s (%d)\n",
245 FAILIF(ftruncate(ofd, outsize) < 0,
251 FAILIF(out == MAP_FAILED, "could not mmap output file: %s (%d)\n",
255 FAILIF(write(ofd, header, header_size) != header_size,
300 FAILIF(rotate % 90, "Rotation angle must be a multiple of 90 degrees!\n")
    [all...]

Completed in 46 milliseconds