Patent ID: 11961526
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 4:
5. The method according to claim 1, wherein the switch fade-in/fade-out factor of the second target frame is determined in the following manner:

when frame_nrg_ratio>NRG_TH1 and res_dmx_ratio<RATIO_TH1,switch_fade_factor=FACTOR_1;

when frame_nrg_ratio<NRG_TH2 and res_dmx_ratio>RATIO_TH2,switch_fade_factor=FACTOR_2; or

in another case,switch_fade_factor=FACTOR_3; wherein

frame_nrg_ratio represents the inter-frame energy fluctuation parameter or the inter-frame amplitude fluctuation parameter; NRG_TH1 represents a preset first threshold of the inter-frame energy fluctuation parameter or the inter-frame amplitude fluctuation parameter; NRG_TH2 represents a preset second threshold of the inter-frame energy fluctuation parameter or the inter-frame amplitude fluctuation parameter; res_dmx_ratio represents the residual signal coding parameter; RATIO_TH1 represents a preset first threshold of the residual signal coding parameter; RATIO_TH2 represents a preset second threshold of the residual signal coding parameter, switch_fade_factor represents the switch fade-in/fade-out factor of the second target frame; and FACTOR_1, FACTOR_2, and FACTOR_3 represent preset values; and

NRG_TH1>NRG_TH2,RATIO_TH1<RATIO_TH2, and FACTOR_1>FACTOR_3>FACTOR_2;

or
wherein the switch fade-in/fade-out factor is determined in the following manner:
when

 
  
   
    frame_nrg
    ⁢
    _ratio
   
   >
   
    NRG_TH
    ⁢
    1
    ⁢
       
    and
    ⁢
       
    res_dmx
    ⁢
    _ratio
   
   <
   
    RATIO_TH
    ⁢
    1
   
  
  ,
  

  ⁠
  
   
    switch_fade
    ⁢
    _factor
   
   =
   
    
     (
     
      1
      -
      
       1
       
        frame_nrg
        ⁢
        _ratio
       
      
     
     )
    
    *
    
     (
     
      1
      -
      
       rem_dmx
       ⁢
       _ratio
      
     
     )
    
    *
    FADE_FACTOR
    ⁢
    _
    ⁢
    1
    ;
   
  
 

when frame_nrg_ratio<NRG_TH2 and res_dmx_ratio>RATIO_TH2,switch_fade_factor=(1−frame_nrg_ratio)*rem_dmx_ratio*FADE_FACTOR_2; or

in another case,switch_fade_factor=FADE_FACTOR_3; wherein

frame_nrg_ratio represents the inter-frame energy fluctuation parameter or the inter-frame amplitude fluctuation parameter; NRG_TH1 represents a preset first threshold of the inter-frame energy fluctuation parameter or the inter-frame amplitude fluctuation parameter; NRG_TH2 represents a preset second threshold of the inter-frame energy fluctuation parameter or the inter-frame amplitude fluctuation parameter; res_dmx_ratio represents the residual signal coding parameter of the second target frame; RATIO_TH1 represents a preset first threshold of the residual signal coding parameter; RATIO_TH2 represents a preset second threshold of the residual signal coding parameter; switch_fade_factor represents the switch fade-in/fade-out factor of the second target frame; and FADE_FACTOR_1, FADE_FACTOR_2, and FADE_FACTOR_3 represent preset values; and

NRG_TH1>NRG_TH2,RATIO_TH1<RATIO_TH2, and FADE_FACTOR_1>FADE_FACTOR_3>FADE_FACTOR_2.