Lajos Molnar | 64fd571 | 2024-01-11 15:50:25 -0800 | [diff] [blame] | 1 | # Codec framework feature flags. |
| 2 | # |
| 3 | # !!! Please add flags in alphabetical order. !!! |
| 4 | |
| 5 | package: "android.media.codec" |
Oriol Prieto Gasco | 9f47fcf | 2024-02-03 02:38:42 +0000 | [diff] [blame] | 6 | container: "system" |
Lajos Molnar | 64fd571 | 2024-01-11 15:50:25 -0800 | [diff] [blame] | 7 | |
| 8 | flag { |
Sungtak Lee | 458b793 | 2023-12-07 08:39:50 +0000 | [diff] [blame] | 9 | name: "aidl_hal_input_surface" |
Sungtak Lee | 587aa32 | 2024-11-13 08:47:32 +0000 | [diff] [blame] | 10 | is_exported: true |
Sungtak Lee | 458b793 | 2023-12-07 08:39:50 +0000 | [diff] [blame] | 11 | namespace: "codec_fwk" |
| 12 | description: "Feature flags for enabling AIDL HAL InputSurface handling" |
| 13 | bug: "201479783" |
| 14 | } |
| 15 | |
| 16 | flag { |
Fyodor Kyslov | ca3a89b | 2024-10-12 03:05:50 +0000 | [diff] [blame] | 17 | name: "apv_support" |
| 18 | is_exported: true |
| 19 | namespace: "codec_fwk" |
| 20 | description: "Feature flag for Android support for APV Content" |
| 21 | bug: "375464302" |
| 22 | } |
| 23 | |
| 24 | flag { |
Girish | 8bfca18 | 2024-10-31 18:14:22 +0000 | [diff] [blame] | 25 | name: "codec_availability" |
| 26 | namespace: "codec_fwk" |
| 27 | description: "Feature flag for codec availability HAL API support" |
| 28 | bug: "363282971" |
| 29 | } |
| 30 | |
| 31 | flag { |
Girish | a3fa8cd | 2024-11-22 17:45:40 +0000 | [diff] [blame] | 32 | name: "codec_availability_support" |
| 33 | namespace: "codec_fwk" |
| 34 | description: "Feature flag for codec availability HAL API implementation" |
| 35 | bug: "363282971" |
| 36 | } |
| 37 | |
| 38 | flag { |
Wonsik Kim | b756141 | 2024-10-03 18:06:09 +0000 | [diff] [blame] | 39 | name: "codec_buffer_state_cleanup" |
| 40 | namespace: "codec_fwk" |
| 41 | description: "Bugfix flag for more buffer state cleanup in MediaCodec" |
| 42 | bug: "343502509" |
| 43 | metadata { |
| 44 | purpose: PURPOSE_BUGFIX |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | flag { |
Wonsik Kim | 1c86727 | 2024-09-04 20:47:54 +0000 | [diff] [blame] | 49 | name: "dataspace_v0_partial" |
| 50 | namespace: "codec_fwk" |
| 51 | description: "Bugfix flag for using V0 dataspace in some cases" |
| 52 | bug: "313827126" |
| 53 | metadata { |
| 54 | purpose: PURPOSE_BUGFIX |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | flag { |
Lajos Molnar | 64fd571 | 2024-01-11 15:50:25 -0800 | [diff] [blame] | 59 | name: "dynamic_color_aspects" |
Oriol Prieto Gasco | 77cd63f | 2024-03-01 17:12:01 +0000 | [diff] [blame] | 60 | is_exported: true |
Lajos Molnar | 64fd571 | 2024-01-11 15:50:25 -0800 | [diff] [blame] | 61 | namespace: "codec_fwk" |
| 62 | description: "Feature flag for dynamic color aspect support" |
| 63 | bug: "297914560" |
| 64 | } |
Lajos Molnar | 9a30c8b | 2024-01-11 15:49:29 -0800 | [diff] [blame] | 65 | |
| 66 | flag { |
| 67 | name: "hlg_editing" |
Oriol Prieto Gasco | 77cd63f | 2024-03-01 17:12:01 +0000 | [diff] [blame] | 68 | is_exported: true |
Lajos Molnar | 9a30c8b | 2024-01-11 15:49:29 -0800 | [diff] [blame] | 69 | namespace: "codec_fwk" |
| 70 | description: "Feature flag for HLG editing support" |
| 71 | bug: "316397061" |
| 72 | } |
Lajos Molnar | 515e1a9 | 2024-01-11 15:48:47 -0800 | [diff] [blame] | 73 | |
| 74 | flag { |
Wonsik Kim | 9b75ad1 | 2024-01-31 16:49:03 -0800 | [diff] [blame] | 75 | name: "in_process_sw_audio_codec" |
Oriol Prieto Gasco | 77cd63f | 2024-03-01 17:12:01 +0000 | [diff] [blame] | 76 | is_exported: true |
Wonsik Kim | 9b75ad1 | 2024-01-31 16:49:03 -0800 | [diff] [blame] | 77 | namespace: "codec_fwk" |
Lajos Molnar | d152434 | 2024-02-15 21:13:16 -0800 | [diff] [blame] | 78 | description: "Feature flag for in-process software audio codec API" |
Wonsik Kim | 9b75ad1 | 2024-01-31 16:49:03 -0800 | [diff] [blame] | 79 | bug: "297922713" |
| 80 | } |
| 81 | |
| 82 | flag { |
Lajos Molnar | d152434 | 2024-02-15 21:13:16 -0800 | [diff] [blame] | 83 | name: "in_process_sw_audio_codec_support" |
| 84 | namespace: "codec_fwk" |
| 85 | description: "Feature flag for in-process software audio codec support" |
| 86 | bug: "325520135" |
| 87 | } |
| 88 | |
| 89 | flag { |
Wonsik Kim | 1951d93 | 2024-05-23 22:59:00 +0000 | [diff] [blame] | 90 | name: "input_surface_throttle" |
| 91 | namespace: "codec_fwk" |
| 92 | description: "Bugfix flag for input surface throttle" |
| 93 | bug: "342269852" |
| 94 | metadata { |
| 95 | purpose: PURPOSE_BUGFIX |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | flag { |
Lajos Molnar | d152434 | 2024-02-15 21:13:16 -0800 | [diff] [blame] | 100 | name: "large_audio_frame_finish" |
| 101 | namespace: "codec_fwk" |
| 102 | description: "Implementation flag for large audio frame finishing tasks" |
| 103 | bug: "325512893" |
| 104 | } |
| 105 | |
| 106 | flag { |
Lajos Molnar | 34c9266 | 2024-03-08 08:37:55 -0800 | [diff] [blame] | 107 | name: "native_capabilites" |
| 108 | namespace: "codec_fwk" |
| 109 | description: "Feature flag for native codec capabilities" |
| 110 | bug: "306023029" |
| 111 | } |
| 112 | |
| 113 | flag { |
Lajos Molnar | 515e1a9 | 2024-01-11 15:48:47 -0800 | [diff] [blame] | 114 | name: "null_output_surface" |
Oriol Prieto Gasco | 77cd63f | 2024-03-01 17:12:01 +0000 | [diff] [blame] | 115 | is_exported: true |
Lajos Molnar | 515e1a9 | 2024-01-11 15:48:47 -0800 | [diff] [blame] | 116 | namespace: "codec_fwk" |
Lajos Molnar | d152434 | 2024-02-15 21:13:16 -0800 | [diff] [blame] | 117 | description: "Feature flag for null output Surface API" |
Lajos Molnar | 515e1a9 | 2024-01-11 15:48:47 -0800 | [diff] [blame] | 118 | bug: "297920102" |
| 119 | } |
Ram Mohan | 04b5602 | 2024-02-03 06:08:37 +0530 | [diff] [blame] | 120 | |
| 121 | flag { |
Lajos Molnar | d152434 | 2024-02-15 21:13:16 -0800 | [diff] [blame] | 122 | name: "null_output_surface_support" |
| 123 | namespace: "codec_fwk" |
| 124 | description: "Feature flag for null output Surface support" |
| 125 | bug: "325550522" |
| 126 | } |
| 127 | |
| 128 | flag { |
Wonsik Kim | 38d0b3d | 2024-11-06 23:09:55 +0000 | [diff] [blame] | 129 | name: "num_input_slots" |
| 130 | namespace: "codec_fwk" |
| 131 | description: "Feature flag for exposing number of input slots" |
| 132 | bug: "159891571" |
| 133 | } |
| 134 | |
| 135 | flag { |
Eino-Ville Talvala | 5b9d407 | 2024-10-23 02:34:42 +0000 | [diff] [blame] | 136 | name: "p210_format_support" |
| 137 | is_exported: true |
| 138 | namespace: "codec_fwk" |
| 139 | description: "Feature flag for Android support for P210 YCbCr format" |
| 140 | bug: "368395888" |
| 141 | } |
| 142 | |
| 143 | flag { |
Ram Mohan | 04b5602 | 2024-02-03 06:08:37 +0530 | [diff] [blame] | 144 | name: "region_of_interest" |
Oriol Prieto Gasco | 77cd63f | 2024-03-01 17:12:01 +0000 | [diff] [blame] | 145 | is_exported: true |
Ram Mohan | 04b5602 | 2024-02-03 06:08:37 +0530 | [diff] [blame] | 146 | namespace: "codec_fwk" |
Lajos Molnar | d152434 | 2024-02-15 21:13:16 -0800 | [diff] [blame] | 147 | description: "Feature flag for region of interest API" |
Ram Mohan | 04b5602 | 2024-02-03 06:08:37 +0530 | [diff] [blame] | 148 | bug: "299191092" |
| 149 | } |
Lajos Molnar | d152434 | 2024-02-15 21:13:16 -0800 | [diff] [blame] | 150 | |
| 151 | flag { |
| 152 | name: "region_of_interest_support" |
| 153 | namespace: "codec_fwk" |
| 154 | description: "Feature flag for region of interest support" |
| 155 | bug: "325549730" |
| 156 | } |
Lajos Molnar | 4d4c95c | 2024-03-08 08:50:16 -0800 | [diff] [blame] | 157 | |
| 158 | flag { |
Wonsik Kim | c556d80 | 2024-10-15 21:42:25 +0000 | [diff] [blame] | 159 | name: "rendering_depth_removal" |
| 160 | namespace: "codec_fwk" |
| 161 | description: "Feature flag for removing rendering depth" |
| 162 | bug: "275527219" |
| 163 | } |
| 164 | |
| 165 | flag { |
Wonsik Kim | 8147140 | 2024-09-06 21:56:52 +0000 | [diff] [blame] | 166 | name: "secure_codecs_require_crypto" |
| 167 | namespace: "codec_fwk" |
| 168 | description: "Bugfix flag for requiring setting crypto for secure codecs" |
| 169 | bug: "365162324" |
| 170 | metadata { |
| 171 | purpose: PURPOSE_BUGFIX |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | flag { |
Wonsik Kim | 7391be1 | 2024-04-17 18:29:11 +0000 | [diff] [blame] | 176 | name: "set_callback_stall" |
| 177 | namespace: "codec_fwk" |
| 178 | description: "Bugfix flag for setCallback stall" |
| 179 | bug: "326010604" |
| 180 | metadata { |
| 181 | purpose: PURPOSE_BUGFIX |
| 182 | } |
| 183 | } |
| 184 | |
| 185 | flag { |
| 186 | name: "set_state_early" |
| 187 | namespace: "codec_fwk" |
| 188 | description: "Bugfix flag for setting state early to avoid a race condition" |
Wonsik Kim | b892fcc | 2024-04-29 17:04:14 +0000 | [diff] [blame] | 189 | bug: "298613712" |
Wonsik Kim | 7391be1 | 2024-04-17 18:29:11 +0000 | [diff] [blame] | 190 | metadata { |
| 191 | purpose: PURPOSE_BUGFIX |
| 192 | } |
| 193 | } |
| 194 | |
| 195 | flag { |
Sungtak Lee | 6c6c7b2 | 2024-05-07 19:03:10 +0000 | [diff] [blame] | 196 | name: "stop_hal_before_surface" |
| 197 | namespace: "codec_fwk" |
| 198 | description: "Bugfix flag for setting state early to avoid a race condition" |
| 199 | bug: "339247977" |
| 200 | metadata { |
| 201 | purpose: PURPOSE_BUGFIX |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | flag { |
Lajos Molnar | b74e689 | 2024-11-06 23:59:53 +0000 | [diff] [blame] | 206 | name: "subsession_metrics" |
| 207 | namespace: "codec_fwk" |
| 208 | description: "Feature flag for subsession codec metrics" |
| 209 | bug: "363382811" |
| 210 | } |
| 211 | |
| 212 | flag { |
Lajos Molnar | 4d4c95c | 2024-03-08 08:50:16 -0800 | [diff] [blame] | 213 | name: "teamfood" |
| 214 | namespace: "codec_fwk" |
| 215 | description: "Feature flag to track teamfood population" |
| 216 | bug: "328770262" |
| 217 | } |
Yixiao Luo | c458547 | 2024-08-26 23:49:50 +0000 | [diff] [blame] | 218 | |
| 219 | flag { |
| 220 | name: "thumbnail_block_model" |
| 221 | namespace: "codec_fwk" |
| 222 | description: "Feature flag for using block model decoder in thumbnail generation" |
| 223 | bug: "329521645" |
| 224 | } |