Print this page
fixup .text where possible
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/1394/targets/dcam1394/dcam_frame.c
          +++ new/usr/src/uts/common/io/1394/targets/dcam1394/dcam_frame.c
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17   * fields enclosed by brackets "[]" replaced with your own identifying
  18   18   * information: Portions Copyright [yyyy] [name of copyright owner]
  19   19   *
  20   20   * CDDL HEADER END
  21   21   */
  22   22  /*
  23   23   * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
  26   26  
  27      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  28   27  
       28 +
  29   29  /*
  30   30   * dcam_frame.c
  31   31   *
  32   32   * dcam1394 driver.  Support for video frame access.
  33   33   */
  34   34  
  35   35  #include <sys/int_limits.h>
  36   36  #include <sys/types.h>
  37   37  #include <sys/kmem.h>
  38   38  #include <sys/cmn_err.h>
↓ open down ↓ 48 lines elided ↑ open up ↑
  87   87   *
  88   88   * 60fps
  89   89   *  mode_5 4H, 640q, 2560
  90   90   *
  91   91   */
  92   92  
  93   93  /* indexed by vid mode, frame rate */
  94   94  static int g_bytes_per_packet[6][5] = {
  95   95  
  96   96          /* fps:                 3.75    7.5     15      30      60 */
  97      -        /* vid mode 0 */        -1,     60,     120,    240,    -1,
  98      -        /* vid mode 1 */        80,     160,    320,    640,    -1,
  99      -        /* vid mode 2 */        240,    480,    960,    1920,   -1,
 100      -        /* vid mode 3 */        320,    640,    1280,   2560,   -1,
 101      -        /* vid mode 4 */        480,    960,    1920,   3840,   -1,
 102      -        /* vid mode 5 */        160,    320,    640,    1280,   2560
       97 +        /* vid mode 0 */        {  -1,  60,     120,    240,      -1 },
       98 +        /* vid mode 1 */        {  80,  160,    320,    640,      -1 },
       99 +        /* vid mode 2 */        { 240,  480,    960,    1920,     -1 },
      100 +        /* vid mode 3 */        { 320,  640,    1280,   2560,     -1 },
      101 +        /* vid mode 4 */        { 480,  960,    1920,   3840,     -1 },
      102 +        /* vid mode 5 */        { 160,  320,    640,    1280,   2560 }
 103  103  };
 104  104  
 105  105  /* indexed by vid mode */
 106  106  static int g_bytes_per_frame[6] = {
 107  107      57600,
 108  108      153600,
 109  109      460800,
 110  110      614400,
 111  111      921600,
 112  112      307200
↓ open down ↓ 533 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX