Searched refs:decoding_state (Results  1 – 6 of 6) sorted by relevance
| /system/cros-codecs/src/decoder/ | 
| D | stateless.rs | 322     decoding_state: DecodingState<C::FormatInfo>,  field 376             decoding_state: Default::default(),  in new() 387         self.decoding_state = DecodingState::AwaitingFormat(format_info);  in await_format_change() 394         if matches!(self.decoding_state, DecodingState::FlushingForDRC) {  in wait_for_drc_flush() 398                 self.decoding_state = DecodingState::Reset;  in wait_for_drc_flush() 421             if let DecodingState::AwaitingFormat(format_info) = self.decoding_state.clone() {  in query_next_event() 423                 self.decoding_state = DecodingState::Reset;  in query_next_event()
  | 
| /system/cros-codecs/src/decoder/stateless/ | 
| D | vp8.rs | 257                 if matches!(self.decoding_state, DecodingState::Decoding) {  in decode() 261                     self.decoding_state = DecodingState::FlushingForDRC;  in decode() 268             } else if matches!(self.decoding_state, DecodingState::Reset) {  in decode() 270                 self.decoding_state = DecodingState::Decoding;  in decode() 274         match &mut self.decoding_state {  in decode() 294         self.decoding_state = DecodingState::Reset;  in flush()
  | 
| D | vp9.rs | 270                 if matches!(self.decoding_state, DecodingState::Decoding) {  in decode() 274                     self.decoding_state = DecodingState::FlushingForDRC;  in decode() 281             } else if matches!(self.decoding_state, DecodingState::Reset) {  in decode() 283                 self.decoding_state = DecodingState::Decoding;  in decode() 287         match &mut self.decoding_state {  in decode() 340         self.decoding_state = DecodingState::Reset;  in flush()
  | 
| D | h264.rs | 1051         if let DecodingState::AwaitingFormat(_) = &self.decoding_state {  in begin_picture() 1272                 && matches!(self.decoding_state, DecodingState::Decoding)  in decode() 1277                 self.decoding_state = DecodingState::FlushingForDRC;  in decode() 1283             if matches!(self.decoding_state, DecodingState::AwaitingStreamInfo) {  in decode() 1286             } else if matches!(self.decoding_state, DecodingState::Reset) {  in decode() 1288                 self.decoding_state = DecodingState::Decoding;  in decode() 1290         } else if matches!(self.decoding_state, DecodingState::Reset) {  in decode() 1296                     self.decoding_state = DecodingState::Decoding;  in decode() 1304         match &mut self.decoding_state {  in decode() 1326         self.decoding_state = DecodingState::Reset;  in flush()
  | 
| D | av1.rs | 340             match self.decoding_state {  in decode() 373                         self.decoding_state = DecodingState::Decoding;  in decode() 388                 if matches!(self.decoding_state, DecodingState::AwaitingStreamInfo)  in decode() 496         self.decoding_state = DecodingState::Reset;  in flush()
  | 
| D | h265.rs | 843         if matches!(self.decoding_state, DecodingState::AwaitingFormat(_)) {  in begin_picture() 1155             if matches!(self.decoding_state, DecodingState::AwaitingStreamInfo) {  in decode() 1158             } else if matches!(self.decoding_state, DecodingState::Reset) {  in decode() 1160                 self.decoding_state = DecodingState::Decoding;  in decode() 1162         } else if matches!(self.decoding_state, DecodingState::Reset) {  in decode() 1168                     self.decoding_state = DecodingState::Decoding;  in decode() 1176         match &mut self.decoding_state {  in decode() 1203         self.decoding_state = DecodingState::Reset;  in flush()
  |