Advertisement
gartimusprime01

Untitled

Nov 14th, 2014
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.02 KB | None | 0 0
  1. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1154:17: error: 'GPS_MEASUREMENT_HAS_SNR' was not declared in this scope
  2. if (flags & GPS_MEASUREMENT_HAS_SNR) {
  3. ^
  4. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1157:78: error: request for member 'snr_db' in '* measurement', which is of non-class type 'int'
  5. env->CallVoidMethod(gpsMeasurementObject, setterMethod, measurement->snr_db);
  6. ^
  7. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1160:9: error: 'flags' was not declared in this scope
  8. if (flags & GPS_MEASUREMENT_HAS_ELEVATION) {
  9. ^
  10. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1160:17: error: 'GPS_MEASUREMENT_HAS_ELEVATION' was not declared in this scope
  11. if (flags & GPS_MEASUREMENT_HAS_ELEVATION) {
  12. ^
  13. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1163:78: error: request for member 'elevation_deg' in '* measurement', which is of non-class type 'int'
  14. env->CallVoidMethod(gpsMeasurementObject, setterMethod, measurement->elevation_deg);
  15. ^
  16. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1166:9: error: 'flags' was not declared in this scope
  17. if (flags & GPS_MEASUREMENT_HAS_ELEVATION_UNCERTAINTY) {
  18. ^
  19. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1166:17: error: 'GPS_MEASUREMENT_HAS_ELEVATION_UNCERTAINTY' was not declared in this scope
  20. if (flags & GPS_MEASUREMENT_HAS_ELEVATION_UNCERTAINTY) {
  21. ^
  22. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1172:30: error: request for member 'elevation_uncertainty_deg' in '* measurement', which is of non-class type 'int'
  23. measurement->elevation_uncertainty_deg);
  24. ^
  25. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1175:9: error: 'flags' was not declared in this scope
  26. if (flags & GPS_MEASUREMENT_HAS_AZIMUTH) {
  27. ^
  28. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1175:17: error: 'GPS_MEASUREMENT_HAS_AZIMUTH' was not declared in this scope
  29. if (flags & GPS_MEASUREMENT_HAS_AZIMUTH) {
  30. ^
  31. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1178:78: error: request for member 'azimuth_deg' in '* measurement', which is of non-class type 'int'
  32. env->CallVoidMethod(gpsMeasurementObject, setterMethod, measurement->azimuth_deg);
  33. ^
  34. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1181:9: error: 'flags' was not declared in this scope
  35. if (flags & GPS_MEASUREMENT_HAS_AZIMUTH_UNCERTAINTY) {
  36. ^
  37. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1181:17: error: 'GPS_MEASUREMENT_HAS_AZIMUTH_UNCERTAINTY' was not declared in this scope
  38. if (flags & GPS_MEASUREMENT_HAS_AZIMUTH_UNCERTAINTY) {
  39. ^
  40. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1189:30: error: request for member 'azimuth_uncertainty_deg' in '* measurement', which is of non-class type 'int'
  41. measurement->azimuth_uncertainty_deg);
  42. ^
  43. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1196:14: error: 'flags' was not declared in this scope
  44. (flags & GPS_MEASUREMENT_HAS_USED_IN_FIX) && measurement->used_in_fix);
  45. ^
  46. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1196:22: error: 'GPS_MEASUREMENT_HAS_USED_IN_FIX' was not declared in this scope
  47. (flags & GPS_MEASUREMENT_HAS_USED_IN_FIX) && measurement->used_in_fix);
  48. ^
  49. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1196:71: error: request for member 'used_in_fix' in '* measurement', which is of non-class type 'int'
  50. (flags & GPS_MEASUREMENT_HAS_USED_IN_FIX) && measurement->used_in_fix);
  51. ^
  52. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp: At global scope:
  53. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1201:61: error: 'GpsData' has not been declared
  54. static jobjectArray translate_gps_measurements(JNIEnv* env, GpsData* data) {
  55. ^
  56. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp: In function '_jobjectArray* android::translate_gps_measurements(JNIEnv*, int*)':
  57. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1202:37: error: request for member 'measurement_count' in '* data', which is of non-class type 'int'
  58. size_t measurementCount = data->measurement_count;
  59. ^
  60. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1213:5: error: 'GpsMeasurement' was not declared in this scope
  61. GpsMeasurement* gpsMeasurements = data->measurements;
  62. ^
  63. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1213:21: error: 'gpsMeasurements' was not declared in this scope
  64. GpsMeasurement* gpsMeasurements = data->measurements;
  65. ^
  66. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1213:45: error: request for member 'measurements' in '* data', which is of non-class type 'int'
  67. GpsMeasurement* gpsMeasurements = data->measurements;
  68. ^
  69. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp: At global scope:
  70. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1224:34: error: variable or field 'measurement_callback' declared void
  71. static void measurement_callback(GpsData* data) {
  72. ^
  73. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1224:34: error: 'GpsData' was not declared in this scope
  74. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1224:43: error: 'data' was not declared in this scope
  75. static void measurement_callback(GpsData* data) {
  76. ^
  77. frameworks/base/services/core/jni/com_android_server_location_GpsLocationProvider.cpp:1527:1: error: expected '}' at end of input
  78. } /* namespace android */
  79. ^
  80. build/core/binary.mk:617: recipe for target '/home/garth/cm12/out/target/product/klteusc/obj/SHARED_LIBRARIES/libandroid_servers_intermediates/core/jni/com_android_server_location_GpsLocationProvider.o' failed
  81. make: *** [/home/garth/cm12/out/target/product/klteusc/obj/SHARED_LIBRARIES/libandroid_servers_intermediates/core/jni/com_android_server_location_GpsLocationProvider.o] Error 1
  82. make: *** Waiting for unfinished jobs....
  83. In file included from bionic/libc/include/sys/select.h:35:0,
  84. from bionic/libc/include/unistd.h:34,
  85. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:32:
  86. bionic/libc/include/signal.h:64:0: warning: "NSIG" redefined [enabled by default]
  87. #define NSIG _NSIG
  88. ^
  89. In file included from out/target/product/klteusc/obj/KERNEL_OBJ/usr/include/linux/signal.h:4:0,
  90. from bionic/libc/include/signal.h:50,
  91. from bionic/libc/include/sys/select.h:35,
  92. from bionic/libc/include/unistd.h:34,
  93. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:32:
  94. out/target/product/klteusc/obj/KERNEL_OBJ/usr/include/asm/signal.h:11:0: note: this is the location of the previous definition
  95. #define NSIG 32
  96. ^
  97. In file included from bionic/libc/include/sys/select.h:35:0,
  98. from bionic/libc/include/unistd.h:34,
  99. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:32:
  100. bionic/libc/include/signal.h:67:0: warning: "SIGRTMIN" redefined [enabled by default]
  101. #define SIGRTMIN (__libc_current_sigrtmin())
  102. ^
  103. In file included from out/target/product/klteusc/obj/KERNEL_OBJ/usr/include/linux/signal.h:4:0,
  104. from bionic/libc/include/signal.h:50,
  105. from bionic/libc/include/sys/select.h:35,
  106. from bionic/libc/include/unistd.h:34,
  107. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:32:
  108. out/target/product/klteusc/obj/KERNEL_OBJ/usr/include/asm/signal.h:54:0: note: this is the location of the previous definition
  109. #define SIGRTMIN 32
  110. ^
  111. In file included from bionic/libc/include/sys/select.h:35:0,
  112. from bionic/libc/include/unistd.h:34,
  113. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:32:
  114. bionic/libc/include/signal.h:68:0: warning: "SIGRTMAX" redefined [enabled by default]
  115. #define SIGRTMAX (__libc_current_sigrtmax())
  116. ^
  117. In file included from out/target/product/klteusc/obj/KERNEL_OBJ/usr/include/linux/signal.h:4:0,
  118. from bionic/libc/include/signal.h:50,
  119. from bionic/libc/include/sys/select.h:35,
  120. from bionic/libc/include/unistd.h:34,
  121. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:32:
  122. out/target/product/klteusc/obj/KERNEL_OBJ/usr/include/asm/signal.h:55:0: note: this is the location of the previous definition
  123. #define SIGRTMAX _NSIG
  124. ^
  125. In file included from bionic/libc/include/unistd.h:34:0,
  126. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:32:
  127. bionic/libc/include/sys/select.h:40:0: warning: "FD_SETSIZE" redefined [enabled by default]
  128. #define FD_SETSIZE 1024
  129. ^
  130. In file included from bionic/libc/include/sys/time.h:33:0,
  131. from bionic/libc/include/sys/select.h:33,
  132. from bionic/libc/include/unistd.h:34,
  133. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:32:
  134. out/target/product/klteusc/obj/KERNEL_OBJ/usr/include/linux/time.h:28:0: note: this is the location of the previous definition
  135. #define FD_SETSIZE __FD_SETSIZE
  136. ^
  137. In file included from bionic/libc/include/unistd.h:34:0,
  138. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:32:
  139. bionic/libc/include/sys/select.h:41:0: warning: "NFDBITS" redefined [enabled by default]
  140. #define NFDBITS (8 * sizeof(unsigned long))
  141. ^
  142. In file included from bionic/libc/include/sys/time.h:33:0,
  143. from bionic/libc/include/sys/select.h:33,
  144. from bionic/libc/include/unistd.h:34,
  145. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:32:
  146. out/target/product/klteusc/obj/KERNEL_OBJ/usr/include/linux/time.h:26:0: note: this is the location of the previous definition
  147. #define NFDBITS __NFDBITS
  148. ^
  149. In file included from bionic/libc/include/unistd.h:34:0,
  150. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:32:
  151. bionic/libc/include/sys/select.h:42:0: warning: "__FDSET_LONGS" redefined [enabled by default]
  152. #define __FDSET_LONGS (FD_SETSIZE/NFDBITS)
  153. ^
  154. In file included from out/target/product/klteusc/obj/KERNEL_OBJ/usr/include/linux/types.h:8:0,
  155. from out/target/product/klteusc/obj/KERNEL_OBJ/usr/include/linux/termios.h:4,
  156. from bionic/libc/include/sys/ioctl.h:37,
  157. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:30:
  158. out/target/product/klteusc/obj/KERNEL_OBJ/usr/include/linux/posix_types.h:28:0: note: this is the location of the previous definition
  159. #define __FDSET_LONGS (__FD_SETSIZE/__NFDBITS)
  160. ^
  161. In file included from bionic/libc/include/unistd.h:34:0,
  162. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:32:
  163. bionic/libc/include/sys/select.h:48:0: warning: "__FDELT" redefined [enabled by default]
  164. #define __FDELT(fd) ((fd) / NFDBITS)
  165. ^
  166. In file included from out/target/product/klteusc/obj/KERNEL_OBJ/usr/include/linux/types.h:8:0,
  167. from out/target/product/klteusc/obj/KERNEL_OBJ/usr/include/linux/termios.h:4,
  168. from bionic/libc/include/sys/ioctl.h:37,
  169. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:30:
  170. out/target/product/klteusc/obj/KERNEL_OBJ/usr/include/linux/posix_types.h:31:0: note: this is the location of the previous definition
  171. #define __FDELT(d) ((d) / __NFDBITS)
  172. ^
  173. In file included from bionic/libc/include/unistd.h:34:0,
  174. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:32:
  175. bionic/libc/include/sys/select.h:49:0: warning: "__FDMASK" redefined [enabled by default]
  176. #define __FDMASK(fd) (1UL << ((fd) % NFDBITS))
  177. ^
  178. In file included from out/target/product/klteusc/obj/KERNEL_OBJ/usr/include/linux/types.h:8:0,
  179. from out/target/product/klteusc/obj/KERNEL_OBJ/usr/include/linux/termios.h:4,
  180. from bionic/libc/include/sys/ioctl.h:37,
  181. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:30:
  182. out/target/product/klteusc/obj/KERNEL_OBJ/usr/include/linux/posix_types.h:34:0: note: this is the location of the previous definition
  183. #define __FDMASK(d) (1UL << ((d) % __NFDBITS))
  184. ^
  185. In file included from bionic/libc/include/unistd.h:34:0,
  186. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:32:
  187. bionic/libc/include/sys/select.h:52:0: warning: "FD_ZERO" redefined [enabled by default]
  188. #define FD_ZERO(set) (memset(set, 0, sizeof(*(fd_set*)(set))))
  189. ^
  190. In file included from bionic/libc/include/sys/time.h:33:0,
  191. from bionic/libc/include/sys/select.h:33,
  192. from bionic/libc/include/unistd.h:34,
  193. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:32:
  194. out/target/product/klteusc/obj/KERNEL_OBJ/usr/include/linux/time.h:32:0: note: this is the location of the previous definition
  195. #define FD_ZERO(fdsetp) __FD_ZERO(fdsetp)
  196. ^
  197. In file included from bionic/libc/include/unistd.h:34:0,
  198. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:32:
  199. bionic/libc/include/sys/select.h:58:0: warning: "FD_CLR" redefined [enabled by default]
  200. #define FD_CLR(fd, set) __FD_CLR_chk(fd, set, __bos(set))
  201. ^
  202. In file included from bionic/libc/include/sys/time.h:33:0,
  203. from bionic/libc/include/sys/select.h:33,
  204. from bionic/libc/include/unistd.h:34,
  205. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:32:
  206. out/target/product/klteusc/obj/KERNEL_OBJ/usr/include/linux/time.h:30:0: note: this is the location of the previous definition
  207. #define FD_CLR(fd,fdsetp) __FD_CLR(fd,fdsetp)
  208. ^
  209. In file included from bionic/libc/include/unistd.h:34:0,
  210. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:32:
  211. bionic/libc/include/sys/select.h:59:0: warning: "FD_SET" redefined [enabled by default]
  212. #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set))
  213. ^
  214. In file included from bionic/libc/include/sys/time.h:33:0,
  215. from bionic/libc/include/sys/select.h:33,
  216. from bionic/libc/include/unistd.h:34,
  217. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:32:
  218. out/target/product/klteusc/obj/KERNEL_OBJ/usr/include/linux/time.h:29:0: note: this is the location of the previous definition
  219. #define FD_SET(fd,fdsetp) __FD_SET(fd,fdsetp)
  220. ^
  221. In file included from bionic/libc/include/unistd.h:34:0,
  222. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:32:
  223. bionic/libc/include/sys/select.h:60:0: warning: "FD_ISSET" redefined [enabled by default]
  224. #define FD_ISSET(fd, set) __FD_ISSET_chk(fd, set, __bos(set))
  225. ^
  226. In file included from bionic/libc/include/sys/time.h:33:0,
  227. from bionic/libc/include/sys/select.h:33,
  228. from bionic/libc/include/unistd.h:34,
  229. from hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:32:
  230. out/target/product/klteusc/obj/KERNEL_OBJ/usr/include/linux/time.h:31:0: note: this is the location of the previous definition
  231. #define FD_ISSET(fd,fdsetp) __FD_ISSET(fd,fdsetp)
  232. ^
  233. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp: In member function 'bool venc_dev::handle_extradata(void*, int)':
  234. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:50:80: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  235. #define ALIGN(x, to_align) ((((unsigned) x) + (to_align - 1)) & ~(to_align - 1))
  236. ^
  237. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:487:35: note: in expansion of macro 'ALIGN'
  238. p_bufhdr->nAllocLen - ALIGN(p_bufhdr->nOffset + p_bufhdr->nFilledLen, 4)) {
  239. ^
  240. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp: In member function 'int venc_dev::venc_output_log_buffers(const char*, int)':
  241. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:632:100: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=]
  242. m_debug.log_loc, m_sVenc_cfg.input_width, m_sVenc_cfg.input_height, this);
  243. ^
  244. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:632:100: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat=]
  245. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:635:100: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=]
  246. m_debug.log_loc, m_sVenc_cfg.input_width, m_sVenc_cfg.input_height, this);
  247. ^
  248. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:635:100: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat=]
  249. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:638:100: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=]
  250. m_debug.log_loc, m_sVenc_cfg.input_width, m_sVenc_cfg.input_height, this);
  251. ^
  252. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:638:100: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat=]
  253. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:641:100: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=]
  254. m_debug.log_loc, m_sVenc_cfg.input_width, m_sVenc_cfg.input_height, this);
  255. ^
  256. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:641:100: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat=]
  257. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp: In member function 'int venc_dev::venc_extradata_log_buffers(char*)':
  258. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:668:100: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=]
  259. m_debug.log_loc, m_sVenc_cfg.input_width, m_sVenc_cfg.input_height, this);
  260. ^
  261. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:668:100: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat=]
  262. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:671:100: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=]
  263. m_debug.log_loc, m_sVenc_cfg.input_width, m_sVenc_cfg.input_height, this);
  264. ^
  265. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:671:100: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat=]
  266. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:674:100: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=]
  267. m_debug.log_loc, m_sVenc_cfg.input_width, m_sVenc_cfg.input_height, this);
  268. ^
  269. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:674:100: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat=]
  270. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:677:100: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=]
  271. m_debug.log_loc, m_sVenc_cfg.input_width, m_sVenc_cfg.input_height, this);
  272. ^
  273. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:677:100: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat=]
  274. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp: In member function 'int venc_dev::venc_input_log_buffers(OMX_BUFFERHEADERTYPE*, int, int)':
  275. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:707:101: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=]
  276. m_debug.log_loc, m_sVenc_cfg.input_width, m_sVenc_cfg.input_height, this);
  277. ^
  278. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:707:101: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat=]
  279. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:732:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  280. for (i = 0; i < m_sVenc_cfg.input_height; i++) {
  281. ^
  282. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:737:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  283. for(i = 0; i < m_sVenc_cfg.input_height/2; i++) {
  284. ^
  285. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:747:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  286. for (i = 0; i < m_sVenc_cfg.input_height; i++) {
  287. ^
  288. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:754:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  289. for(i = 0; i < m_sVenc_cfg.input_height/2; i++) {
  290. ^
  291. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp: At global scope:
  292. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:1028:6: warning: unused parameter 'min_buff_count' [-Wunused-parameter]
  293. bool venc_dev::venc_set_buf_req(unsigned long *min_buff_count,
  294. ^
  295. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:1028:6: warning: unused parameter 'buff_size' [-Wunused-parameter]
  296. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:1074:6: warning: unused parameter 'buffer' [-Wunused-parameter]
  297. bool venc_dev::venc_get_seq_hdr(void *buffer,
  298. ^
  299. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:1074:6: warning: unused parameter 'buffer_size' [-Wunused-parameter]
  300. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:1074:6: warning: unused parameter 'header_len' [-Wunused-parameter]
  301. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp: In member function 'bool venc_dev::venc_set_param(void*, OMX_INDEXTYPE)':
  302. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:1417:50: warning: comparison between 'OMX_VIDEO_AVCPROFILETYPE {aka enum OMX_VIDEO_AVCPROFILETYPE}' and 'enum QOMX_VIDEO_AVCPROFILETYPE' [-Wenum-compare]
  303. (pParam->eProfile != QOMX_VIDEO_AVCProfileConstrainedBaseline)) {
  304. ^
  305. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp: At global scope:
  306. hardware/qcom/media-caf/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:4420:6: warning: unused parameter 'mode' [-Wunused-parameter]
  307. bool venc_dev::venc_set_meta_mode(bool mode)
  308. ^
  309.  
  310. real 8m50.904s
  311. user 2m53.810s
  312. sys 4m4.485s
  313. garth@garth-desktop:~/cm12$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement