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