Kconfig.media 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. menu "MEDIA Modules"
  2. config MEDIA_ENABLE
  3. bool "Media"
  4. default y
  5. help
  6. Selecting this option causes media function included.
  7. if (MEDIA_ENABLE)
  8. menu "Support Photo format"
  9. config MEDIA_PHOTO_JPG
  10. bool "MEDIA_PHOTO_JPG"
  11. default y
  12. config MEDIA_PHOTO_PNG
  13. bool "MEDIA_PHOTO_PNG"
  14. default y
  15. config MEDIA_PHOTO_BMP
  16. bool "MEDIA_PHOTO_BMP"
  17. default y
  18. config HIGH_RES_BMP
  19. bool "HIGH_RES_BMP"
  20. default n
  21. endmenu # Support Photo format
  22. choice
  23. depends on (CHIP_533 || CHIP_512L)
  24. prompt "JPG Module"
  25. default JPG_HW444outFormat_USE422
  26. config JPG_HW444outFormat_USE422
  27. bool "JPG_HW444outFormat_USE422"
  28. config JPG_HW444outFormat_USE444
  29. bool "JPG_HW444outFormat_USE444"
  30. endchoice
  31. config PIC_SPECIAL_EFFECT
  32. bool
  33. prompt "Enable Picture Special Effect"
  34. default y
  35. choice
  36. prompt "music type select - MP3,AAC,REAL,WMASTD,VORBIS"
  37. config MUSIC_FULL_TYPE
  38. bool "All type music"
  39. endchoice
  40. config PIC_FULL_PANEL
  41. bool
  42. prompt "Enable Picture Full Panel"
  43. default n
  44. config PIC_DISABLE_DIRECT_IO
  45. bool
  46. prompt "Disable Picture read file use direct IO"
  47. default n
  48. config SUPPORT_PHOTO_ZOOMINOUT
  49. bool
  50. prompt "Enable Picture Zoom In/Out"
  51. default n
  52. config SUPPORT_PHOTO_ZOOMINOUT_WITH_ROTATE
  53. bool
  54. prompt "Enable Picture Zoom In/Out with rotate"
  55. default n
  56. config SUPPORT_PHOTO_TWO_DISPLAY_BUFFER
  57. bool
  58. prompt "Enable Picture Use Two Display Buffer"
  59. default n
  60. config SUPPORT_PHOTO_EFFECT_TWO_BUFFER
  61. bool
  62. prompt "Enable Picture Effect Use Two Display Buffer"
  63. default y
  64. config USB_DEMO_SUPPORT
  65. bool
  66. prompt "Enable USB Demo Mode"
  67. default n
  68. config SUPPORT_MEDIA_COPY_FILE
  69. bool "SUPPORT MEDIA COPY FILE"
  70. default n
  71. config SUPPORT_MUSIC_REPEATAB
  72. bool "SUPPORT MUSIC REPEATAB"
  73. default n
  74. config SUPPORT_MEDIA_MOVIE_RESUME
  75. bool
  76. prompt "SUPPORT MEDIA MOVIE RESUME"
  77. default n
  78. config USB_RECOVER_SPOT_SUPPORT
  79. bool
  80. prompt "SUPPORT MEDIA MOVIE RESUME FROM FLASH"
  81. default n
  82. config SUPPORT_MEDIA_AUTO_BGPLAYBACK
  83. bool
  84. prompt "SUPPORT MEDIA AUTO BGPLAYBACK"
  85. default n
  86. config SUPPORT_MEDIA_ASANO_BGPLAYBACK
  87. bool
  88. prompt "SUPPORT MEDIA ASANO BGPLAYBACK"
  89. default n
  90. config SUPPORT_MEDIA_AD
  91. bool "SUPPORT MEDIA AD"
  92. default y
  93. config SUPPORT_MEDIA_ESD_TEST
  94. bool
  95. prompt "SUPPORT MEDIA ESD TEST"
  96. default y
  97. config SUPPORT_MEDIA_AUTO_PLAY
  98. bool
  99. prompt "SUPPORT MEDIA AUTO PLAY"
  100. default n
  101. config SUPPORT_KARAOKE_AUTO_PLAY
  102. depends on SUPPORT_MEDIA_AUTO_PLAY
  103. bool
  104. prompt "SUPPORT MEDIA AUTO PLAY HAS UI"
  105. default n
  106. config SUPPORT_MEDIA_AUTO_PLAY_SWITCH_ON_OFF
  107. bool
  108. prompt "SUPPORT MEDIA AUTO PLAY SWITCH ON OFF"
  109. default y
  110. config SUPPORT_MEDIA_FAC_AUTO_PLAY
  111. bool
  112. prompt "SUPPORT MEDIA FAC AUTO PLAY"
  113. default n
  114. config VFORMAT_INIT_BY_VIP
  115. bool "VFORMAT_INIT_BY_VIP"
  116. default y
  117. config SUPPORT_CHARSETDET
  118. bool
  119. prompt "Support Char-Set Auto-Detecting"
  120. default n
  121. config REDUCE_RUNAV_MEMORY
  122. bool
  123. prompt "REDUCE MEDIA MEMORY USAGE"
  124. default y
  125. config RUNAV_MEMORY_DEBUG
  126. bool
  127. prompt "RUNAV MEMORY LEAK DEBUG"
  128. default n
  129. config RUNAV_USE_RESERVE_MEMORY
  130. bool
  131. prompt "RUNAV USE RESERVE MEMORY"
  132. default n
  133. config SUPPORT_DXSA
  134. bool
  135. prompt "Support XSUB+ Subtitle (DXSA format)"
  136. default y
  137. config DVDSUB_ALTERNATIVE_CLUT_GUESS
  138. bool
  139. prompt "DVD subtitle alternative CLUT guess"
  140. default n
  141. config RUNAV_FINETUNE_SKIPREPEAT
  142. bool
  143. prompt "RUNAV_FINETUNE_SKIPREPEAT"
  144. default n
  145. endif
  146. choice
  147. prompt "JPG Module"
  148. config JPG_MFD_Module
  149. depends on ((CHIP_533) || (CHIP_8503) || (CHIP_8506) || CHIP_512L || CHIP_6710)
  150. bool "JPG_MFD_Module"
  151. endchoice
  152. choice
  153. prompt "Support NTFS write"
  154. optional
  155. config FS_NTFS_WRITE_SUPPORT
  156. bool "Support NTFS write"
  157. config TUXERA_FS_NTFS_WRITE_SUPPORT
  158. bool "Support TUXERA_NTFS write"
  159. endchoice
  160. config FS_EXFAT_SUPPORT
  161. bool "Support EXFAT format"
  162. default n
  163. config SUPPORT_PARTITIONNUM_MAX
  164. bool "Support partition number max 20"
  165. default n
  166. config SUPPORT_DIVXDRM
  167. bool "SUPPORT DIVX DRM"
  168. default n
  169. config EBOOK_USE_VIP_RESERVE_MM
  170. bool "Ebook use vip reserve memory"
  171. default n
  172. config VIDEO_CODEC
  173. hex "Video Codec"
  174. default 0xC if (!MEDIA_ENABLE && DTV_SUPPORT)
  175. default 0x003F0FFF if (MEDIA_ENABLE)
  176. help
  177. #define CODEC_MPEG4 0x00000001
  178. #define CODEC_MSMPEG4V3 0x00000002
  179. #define CODEC_MPEG12VIDEO 0x00000004
  180. #define CODEC_H264 0x00000008
  181. #define CODEC_VC1 0x00000010
  182. #define CODEC_RV 0x00000020
  183. #define CODEC_CAVS 0x00000040
  184. #define CODEC_VP6 0x00000080
  185. #define CODEC_VP8 0x00000100
  186. #define CODEC_H263 0x00000200
  187. #define CODEC_MJPEG 0x00000400
  188. #define CODEC_DIVX 0x00000800
  189. #define CODEC_HEVC 0x00001000
  190. #define CODEC_MPEGAUDIO 0x00010000 (Audio codec)
  191. #define CODEC_AAC 0x00020000 (Audio codec)
  192. #define CODEC_AC3 0x00040000 (Audio codec)
  193. #define CODEC_VORBIS 0x00080000 (Audio codec)
  194. #define CODEC_WMA 0x00100000 (Audio codec)
  195. #define CODEC_COOK 0x00200000 (Audio codec)
  196. #define CODEC_AMR 0x00400000 (Audio codec)
  197. #define CODEC_DTS 0x00800000 (Audio codec)
  198. #define CODEC_DRA 0x01000000 (Audio codec)
  199. #define CODEC_FLAC 0x10000000 (Audio codec)
  200. config VIDEO_FORMAT
  201. hex "Container"
  202. default 0x20 if (!MEDIA_ENABLE && DTV_SUPPORT)
  203. default 0x01FF02FF if (MEDIA_ENABLE)
  204. help
  205. #define FORMAT_ASF 0x00000001
  206. #define FORMAT_AVI 0x00000002
  207. #define FORMAT_FLV 0x00000004
  208. #define FORMAT_MKV 0x00000008
  209. #define FORMAT_MPEGPS 0x00000010
  210. #define FORMAT_MPEGTS 0x00000020
  211. #define FORMAT_RM 0x00000040
  212. #define FORMAT_MOV 0x00000080
  213. #define FORMAT_T1PLAYLIST 0x00000100
  214. #define FORMAT_T1AIRP 0x00000200
  215. #define FORMAT_DTS 0x00010000
  216. #define FORMAT_AAC 0x00020000
  217. #define FORMAT_AC3 0x00040000
  218. #define FORMAT_MP3 0x00080000
  219. #define FORMAT_EAC3 0x00100000
  220. #define FORMAT_W64 0x00200000
  221. #define FORMAT_WAV 0x00400000
  222. #define FORMAT_OGG 0x00800000
  223. #define FORMAT_AMR 0x01000000
  224. #define FORMAT_FLAC 0x02000000
  225. endmenu # "MEDIA Modules"