Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  reset_post_proc_state.patch   Sprache: unbekannt

 
Spracherkennung für: .patch vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

# HG changeset patch
# User Jan-Ivar Bruaroey <jib@mozilla.com>

Bug 2029423 - Reset post_proc state.

diff --git a/vp8/common/alloccommon.c b/vp8/common/alloccommon.c
--- a/vp8/common/alloccommon.c
+++ b/vp8/common/alloccommon.c
@@ -34,7 +34,7 @@ void vp8_de_alloc_frame_buffers(VP8_COMM
   oci->pp_limits_buffer = NULL;

   vpx_free(oci->postproc_state.generated_noise);
-  oci->postproc_state.generated_noise = NULL;
+  memset(&oci->postproc_state, 0, sizeof(oci->postproc_state));
 #endif

   vpx_free(oci->above_context);
@@ -42,10 +42,14 @@ void vp8_de_alloc_frame_buffers(VP8_COMM
 #if CONFIG_ERROR_CONCEALMENT
   vpx_free(oci->prev_mip);
   oci->prev_mip = NULL;
+  oci->prev_mi = NULL;
 #endif

   oci->above_context = NULL;
   oci->mip = NULL;
+  oci->mi = NULL;
+  oci->show_frame_mi = NULL;
+  oci->frame_to_show = NULL;
 }

 int vp8_alloc_frame_buffers(VP8_COMMON *oci, int width, int height) {

[Dauer der Verarbeitung: 0.26 Sekunden]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=141584
#Domains=752002