[libbluray-devel] Changed HDMV navigation command field order to help debugging

hpi1 git at videolan.org
Wed Oct 19 13:34:30 CEST 2011


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Oct 19 14:24:09 2011 +0300| [4bcc2e598186c0aad4e8b5223a43537bbb2c09bf] | committer: hpi1

Changed HDMV navigation command field order to help debugging

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=4bcc2e598186c0aad4e8b5223a43537bbb2c09bf
---

 src/libbluray/hdmv/mobj_parse.h |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/libbluray/hdmv/mobj_parse.h b/src/libbluray/hdmv/mobj_parse.h
index 1ab43f1..cd1fb32 100644
--- a/src/libbluray/hdmv/mobj_parse.h
+++ b/src/libbluray/hdmv/mobj_parse.h
@@ -25,20 +25,20 @@
 #include <stdint.h>
 
 typedef struct {
+  uint8_t sub_grp    : 3;  /* command sub-group */
   uint8_t op_cnt     : 3;  /* operand count */
   uint8_t grp        : 2;  /* command group */
-  uint8_t sub_grp    : 3;  /* command sub-group */
 
-  uint8_t imm_op1    : 1;  /* I-flag for operand 1 */
-  uint8_t imm_op2    : 1;  /* I-flag for operand 2 */
-  uint8_t reserved1  : 2;
   uint8_t branch_opt : 4;  /* branch option */
+  uint8_t reserved1  : 2;
+  uint8_t imm_op2    : 1;  /* I-flag for operand 2 */
+  uint8_t imm_op1    : 1;  /* I-flag for operand 1 */
 
-  uint8_t reserved2  : 4;
   uint8_t cmp_opt    : 4;  /* compare option */
+  uint8_t reserved2  : 4;
 
-  uint8_t reserved3  : 3;
   uint8_t set_opt    : 5;  /* set option */
+  uint8_t reserved3  : 3;
 } HDMV_INSN;
 
 typedef struct bd_mobj_cmd_s {



More information about the libbluray-devel mailing list