hornetseye-frame 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/config.rb +1 -1
  3. data/ext/colourspace.cc +8 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ad24f11ea347c06a805829e789b500c0ece713da
4
- data.tar.gz: c8198dd0d2431597e58f354da54a29d31844e74c
3
+ metadata.gz: aaec34f25734b2d0f708433a1de0c23e8eb43e4e
4
+ data.tar.gz: dda60fa602ccdd4a30936ebaa572adda9642f3a0
5
5
  SHA512:
6
- metadata.gz: 1dad1388396b4e650ea01f6d774c403035efa18c0d4f2d609f1db1269212c86390b36a5ba59450be4df57c6bdd23b3e933089af1db617e0e340405cab667b69b
7
- data.tar.gz: 5192aca47175977bff6449df45e45d100a30a4381fabd1c9fbcf95156417cb47d37fec7ae770b3e12a14b4a742ba060418abd577669578e475a0a94946e8b15f
6
+ metadata.gz: e3b01fbb7c2db6239f2ed4f5737f74086da600fc442b76412e24e8d21ca7b973cfdc49dc0eb9d9037b4d1f01fe67a5a3f0a1ec0b675a830d7fef9d3fbfd8a19f
7
+ data.tar.gz: 1f9c09871a980d5c2b470667017294f5adb7951e688e679428794bfedd96fb6c5b62a20a6ad40808a78f5a6759c9056782f2c4185f14e6a3b47260fd696d34c0
data/config.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'rake'
2
2
 
3
3
  PKG_NAME = 'hornetseye-frame'
4
- PKG_VERSION = '1.1.2'
4
+ PKG_VERSION = '1.1.3'
5
5
  CFG = RbConfig::CONFIG
6
6
  CXX = ENV[ 'CXX' ] || 'g++'
7
7
  RB_FILES = ['config.rb'] + FileList[ 'lib/**/*.rb' ]
@@ -33,23 +33,23 @@ static void setupFormat( const string &typecode, int width, int height, char *me
33
33
  uint8_t **data, int *lineSize ) throw (Error)
34
34
  {
35
35
  if ( typecode == "UBYTE" ) {
36
- *format = PIX_FMT_GRAY8;
36
+ *format = AV_PIX_FMT_GRAY8;
37
37
  data[ 0 ] = (uint8_t *)memory;
38
38
  lineSize[ 0 ] = width;
39
39
  } else if ( typecode == "UBYTERGB" ) {
40
- *format = PIX_FMT_RGB24;
40
+ *format = AV_PIX_FMT_RGB24;
41
41
  data[ 0 ] = (uint8_t *)memory;
42
42
  lineSize[ 0 ] = width * 3;
43
43
  } else if ( typecode == "BGR" ) {
44
- *format = PIX_FMT_BGR24;
44
+ *format = AV_PIX_FMT_BGR24;
45
45
  data[ 0 ] = (uint8_t *)memory;
46
46
  lineSize[ 0 ] = width * 3;
47
47
  } else if ( typecode == "BGRA" ) {
48
- *format = PIX_FMT_BGRA;
48
+ *format = AV_PIX_FMT_BGRA;
49
49
  data[ 0 ] = (uint8_t *)memory;
50
50
  lineSize[ 0 ] = width * 4;
51
51
  } else if ( typecode == "YV12" ) {
52
- *format = PIX_FMT_YUV420P;
52
+ *format = AV_PIX_FMT_YUV420P;
53
53
  int
54
54
  width2 = ( width + 1 ) / 2,
55
55
  height2 = ( height + 1 ) / 2,
@@ -62,7 +62,7 @@ static void setupFormat( const string &typecode, int width, int height, char *me
62
62
  lineSize[ 1 ] = width2a;
63
63
  lineSize[ 2 ] = width2a;
64
64
  } else if ( typecode == "I420" ) {
65
- *format = PIX_FMT_YUV420P;
65
+ *format = AV_PIX_FMT_YUV420P;
66
66
  int
67
67
  width2 = ( width + 1 ) / 2,
68
68
  height2 = ( height + 1 ) / 2;
@@ -73,13 +73,13 @@ static void setupFormat( const string &typecode, int width, int height, char *me
73
73
  lineSize[ 1 ] = width2;
74
74
  lineSize[ 2 ] = width2;
75
75
  } else if ( typecode == "YUY2" ) {
76
- *format = PIX_FMT_YUYV422;
76
+ *format = AV_PIX_FMT_YUYV422;
77
77
  int
78
78
  widtha = ( width + 3 ) & ~0x3;
79
79
  data[ 0 ] = (uint8_t *)memory;
80
80
  lineSize[ 0 ] = 2 * widtha;
81
81
  } else if ( typecode == "UYVY" ) {
82
- *format = PIX_FMT_UYVY422;
82
+ *format = AV_PIX_FMT_UYVY422;
83
83
  int widtha = ( width + 3 ) & ~0x3;
84
84
  data[ 0 ] = (uint8_t *)memory;
85
85
  lineSize[ 0 ] = 2 * widtha;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hornetseye-frame
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Wedekind
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-06 00:00:00.000000000 Z
11
+ date: 2017-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: malloc