[x265] [PATCH] Fix the order of fields in x265_picture

Divya Manivannan divya at multicorewareinc.com
Mon Apr 4 07:30:36 CEST 2016


# HG changeset patch
# User Divya Manivannan <divya at multicorewareinc.com>
# Date 1459421498 -19800
#      Thu Mar 31 16:21:38 2016 +0530
# Node ID 353dc1bf15e5fb60547fe71bcc857695959ffee6
# Parent  5b01678f6fb4e89e23cd41295592a9aa5d51d4ba
Fix the order of fields in x265_picture

diff -r 5b01678f6fb4 -r 353dc1bf15e5 source/x265.h
--- a/source/x265.h	Sat Apr 02 19:08:49 2016 +0100
+++ b/source/x265.h	Thu Mar 31 16:21:38 2016 +0530
@@ -189,10 +189,6 @@
     /* Stride is the number of bytes between row starts */
     int     stride[3];
 
-    uint64_t framesize;
-
-    int    height;
-
     /* Must be specified on input pictures. x265_picture_init() will set it to
      * the encoder's internal bit depth, but this field must describe the depth
      * of the input pictures. Must be between 8 and 16. Values larger than 8
@@ -245,6 +241,10 @@
      * It is not used for collecting the last pass ratecontrol data in 
      * multi pass ratecontrol mode. */
     x265_rc_stats rcData;
+
+    uint64_t framesize;
+
+    int    height;
 } x265_picture;
 
 typedef enum


More information about the x265-devel mailing list