camera_test1.c 600 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (C) 2021 Alibaba Group Holding Limited
  3. * Author: LuChongzhi <chongzhi.lcz@alibaba-inc.com>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. */
  9. #include <stdio.h>
  10. #include <stdlib.h>
  11. #include <string.h>
  12. #define LOG_LEVEL 2
  13. #define LOG_PREFIX "test1"
  14. #include <syslog.h>
  15. #include <csi_frame.h>
  16. #include <csi_camera.h>
  17. #define TEST_DEVICE_NAME "/dev/video"
  18. int main(int argc, char *argv[])
  19. {
  20. LOG_I("This is camera_test1\n");
  21. return 0;
  22. }