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