├── documentation ├── images │ ├── logo.jpg │ ├── collapsed.gif │ ├── expanded.gif │ ├── AirIcon12x12.gif │ ├── inherit-arrow.gif │ ├── titleTableTop.jpg │ ├── detailHeaderRule.jpg │ ├── inheritedSummary.gif │ ├── titleTableBottom.jpg │ ├── titleTableMiddle.jpg │ ├── detailSectionHeader.jpg │ └── P_AlternativeMetadataIndicator_30x28_N.png ├── override.css ├── de │ └── flintfabrik │ │ └── starling │ │ ├── events │ │ ├── class-list.html │ │ ├── package-detail.html │ │ └── VideoEvent.html │ │ └── display │ │ ├── class-list.html │ │ └── package-detail.html ├── package-frame.html ├── package-list.html ├── all-classes.html ├── index.html ├── index-list.html ├── print.css ├── cookies.js ├── package-summary.html ├── class-summary.html ├── AC_OETags.js ├── title-bar.html ├── all-index-E.html ├── all-index-G.html ├── all-index-H.html ├── all-index-J.html ├── all-index-K.html ├── all-index-L.html ├── all-index-M.html ├── all-index-Q.html ├── all-index-X.html ├── all-index-Y.html ├── all-index-Z.html ├── all-index-A.html ├── all-index-T.html ├── all-index-P.html ├── all-index-N.html ├── all-index-O.html ├── all-index-I.html ├── all-index-C.html ├── all-index-W.html ├── all-index-R.html └── all-index-F.html ├── README.md └── src └── de └── flintfabrik └── starling └── events └── VideoEvent.as /documentation/images/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shin10/Starling-WebcamVideo/HEAD/documentation/images/logo.jpg -------------------------------------------------------------------------------- /documentation/images/collapsed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shin10/Starling-WebcamVideo/HEAD/documentation/images/collapsed.gif -------------------------------------------------------------------------------- /documentation/images/expanded.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shin10/Starling-WebcamVideo/HEAD/documentation/images/expanded.gif -------------------------------------------------------------------------------- /documentation/images/AirIcon12x12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shin10/Starling-WebcamVideo/HEAD/documentation/images/AirIcon12x12.gif -------------------------------------------------------------------------------- /documentation/images/inherit-arrow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shin10/Starling-WebcamVideo/HEAD/documentation/images/inherit-arrow.gif -------------------------------------------------------------------------------- /documentation/images/titleTableTop.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shin10/Starling-WebcamVideo/HEAD/documentation/images/titleTableTop.jpg -------------------------------------------------------------------------------- /documentation/images/detailHeaderRule.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shin10/Starling-WebcamVideo/HEAD/documentation/images/detailHeaderRule.jpg -------------------------------------------------------------------------------- /documentation/images/inheritedSummary.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shin10/Starling-WebcamVideo/HEAD/documentation/images/inheritedSummary.gif -------------------------------------------------------------------------------- /documentation/images/titleTableBottom.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shin10/Starling-WebcamVideo/HEAD/documentation/images/titleTableBottom.jpg -------------------------------------------------------------------------------- /documentation/images/titleTableMiddle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shin10/Starling-WebcamVideo/HEAD/documentation/images/titleTableMiddle.jpg -------------------------------------------------------------------------------- /documentation/images/detailSectionHeader.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shin10/Starling-WebcamVideo/HEAD/documentation/images/detailSectionHeader.jpg -------------------------------------------------------------------------------- /documentation/images/P_AlternativeMetadataIndicator_30x28_N.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shin10/Starling-WebcamVideo/HEAD/documentation/images/P_AlternativeMetadataIndicator_30x28_N.png -------------------------------------------------------------------------------- /documentation/override.css: -------------------------------------------------------------------------------- 1 | /* 2 | //////////////////////////////////////////////////////////////////////////////// 3 | // 4 | // ADOBE SYSTEMS INCORPORATED 5 | // Copyright 2008 Adobe Systems Incorporated 6 | // All Rights Reserved. 7 | // 8 | // NOTICE: Adobe permits you to use, modify, and distribute this file 9 | // in accordance with the terms of the license agreement accompanying it. 10 | // 11 | //////////////////////////////////////////////////////////////////////////////// 12 | */ -------------------------------------------------------------------------------- /documentation/de/flintfabrik/starling/events/class-list.html: -------------------------------------------------------------------------------- 1 | de.flintfabrik.starling.events - API Documentation

Package de.flintfabrik.starling.events

Classes
VideoEvent
-------------------------------------------------------------------------------- /documentation/de/flintfabrik/starling/display/class-list.html: -------------------------------------------------------------------------------- 1 | de.flintfabrik.starling.display - API Documentation

Package de.flintfabrik.starling.display

Classes
WebcamVideo
-------------------------------------------------------------------------------- /documentation/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | WebcamVideo 4 | 5 | 6 | 7 | 8 | 9 | <body> 10 | <h2>Frame Alert</h2> 11 | <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. 12 | <br> 13 | Link to<a href="package-summary.html">Non-frame version.</a> 14 | </p> 15 | </body> 16 | 17 | 18 | -------------------------------------------------------------------------------- /documentation/package-list.html: -------------------------------------------------------------------------------- 1 | Package List - API Documentation

Packages

de.flintfabrik.starling.display
de.flintfabrik.starling.events
-------------------------------------------------------------------------------- /documentation/all-classes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | All Classes - API Documentation 5 | 6 | 7 | 8 | 9 | 10 | 11 |

All Classes

12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
VideoEvent
WebcamVideo
20 | 21 | 22 | -------------------------------------------------------------------------------- /documentation/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | API Documentation 4 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | <body> 31 | <h2>Frame Alert</h2> 32 | <p> 33 | This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. 34 | <br> 35 | Link to <a href="package-summary.html">Non-frame version.</a> 36 | </p> 37 | </body> 38 | 39 | 40 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Starling-WebcamVideo 2 | ==================== 3 | 4 | An AS3 extension for the Starling framework - drawing/displaying webcam input. 5 | 6 | A WebcamVideo is a Quad with a texture mapped onto it. 7 | The WebcamVideo class is more or less a Starling equivalent of Flash's Video class with attached Camera. The texture is written automatically if not specified otherwise. Never the less you can use other DisplayObjects for rendering as well and or handle the drawing and uploading yourself if you want to. 8 | 9 | As "WebcamVideo" inherits from "Quad", you can give it a color. For each pixel, the resulting color will be the result of the multiplication of the color of the texture with the color of the quad. That way, you can easily tint textures with a certain color. Furthermore flipping is simply done by adjusting the vertexData. 10 | 11 | Uploading textures to the GPU is very expensive. This may be no problem on desktop computers but it is a big problem on most mobile devices. Therefore it is very important to chose the right resolution and texture size, as well as the method for drawing and uploading. If you use Flash 11.8 / AIR 3.8 (-swf-version=21) RectangleTextures are supported if necessary. Versions below will always fall back to Textue, so make sure to use the cropping rect parameter to avoid the upload of unused bytes. 12 | 13 | Note: Unfortunatelly you may have to use a strategy with DRAW_BITMAPDATA or UPLOAD_FROM_BYTEARRAY to keep the image centered, using the cropping rect if you use a regular POT Texture (FP 11.7/ AIR 3.7 and below), since camera.drawToBitmapData() does not support a rect parameter. See examples in the documentation and read more about performance of POT/NPOT Textures here: 14 | 15 | http://www.flintfabrik.de/blog/camera-performance-with-stage3d 16 | 17 | http://www.flintfabrik.de/blog/webcam-performance-with-stage3d-part-ii-rectangletextures-in-air-3-8-beta 18 | 19 | http://www.flintfabrik.de/blog/webcam-performance-with-stage3d-part-iii-rectangletextures-in-air-3-8-beta-mobile 20 | 21 | 22 | LIVE DEMO 23 | ========= 24 | Some info, example code and live demo on my blog: 25 | http://www.flintfabrik.de/blog/starling-webcamvideo-extension 26 | 27 | live chat (demo with filters for real time postprocessing): www.flintfabrik.de/pgs/starlingVideoChat/ 28 | -------------------------------------------------------------------------------- /documentation/index-list.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | WebcamVideo 4 | 5 | 6 | 7 | 8 | 9 |

Index

10 | 11 | 12 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 |
AN
BO
CP
DQ
ER
FS
GT
HU
IV
JW
KX
LY
MZ
70 | -------------------------------------------------------------------------------- /src/de/flintfabrik/starling/events/VideoEvent.as: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2013 Michael Trenkler 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy 5 | * of this software and associated documentation files (the "Software"), to deal 6 | * in the Software without restriction, including without limitation the rights 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | * copies of the Software, and to permit persons to whom the Software is 9 | * furnished to do so, subject to the following conditions: 10 | * 11 | * The above copyright notice and this permission notice shall be included in 12 | * all copies or substantial portions of the Software. 13 | * 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | * THE SOFTWARE. 21 | */ 22 | 23 | package de.flintfabrik.starling.events 24 | { 25 | 26 | import starling.events.Event; 27 | 28 | /** A VideoEvent is triggered once per video/camera frame and dispatched by Video/WebcamVideo. 29 | * 30 | * They may come in handy if you want to handle the draw/upload process yourself; if you 31 | * want to process a BitmapData/ByteArrays only if it gets updated (AR); or if you want to 32 | * use a custom renderer for the video. 33 | * 34 | * @see de.flintfabrik.starling.display.Video 35 | * @see de.flintfabrik.starling.display.WebcamVideo 36 | * 37 | */ 38 | public class VideoEvent extends starling.events.Event 39 | { 40 | /** Event type for a new frame available. */ 41 | public static const VIDEO_FRAME:String = "videoFrame"; 42 | /** Event type for a new frame drawn to BitmapData/ByteArray. */ 43 | public static const DRAW_COMPLETE:String = "drawComplete"; 44 | /** Event type for a new frame uploaded to the Texture. */ 45 | public static const UPLOAD_COMPLETE:String = "uploadComplete"; 46 | 47 | /* Creates an enter frame event with the passed time. */ 48 | public function VideoEvent(type:String, bubbles:Boolean=false, data:Object=null) 49 | { 50 | super(type, bubbles, data); 51 | } 52 | 53 | } 54 | } -------------------------------------------------------------------------------- /documentation/print.css: -------------------------------------------------------------------------------- 1 | /* 2 | //////////////////////////////////////////////////////////////////////////////// 3 | // 4 | // ADOBE SYSTEMS INCORPORATED 5 | // Copyright 2005-2008 Adobe Systems Incorporated 6 | // All Rights Reserved. 7 | // 8 | // NOTICE: Adobe permits you to use, modify, and distribute this file 9 | // in accordance with the terms of the license agreement accompanying it. 10 | // 11 | //////////////////////////////////////////////////////////////////////////////// 12 | */ 13 | 14 | body { 15 | color: #000000; 16 | background: #ffffff; 17 | font-family: "Times New Roman", Times, serif; 18 | font-size: 12pt; 19 | } 20 | a { 21 | text-decoration: none; 22 | color: #000000; 23 | } 24 | pre { 25 | white-space: -moz-pre-wrap; /* Mozilla */ 26 | white-space: -pre-wrap; /* Opera 4-6 */ 27 | white-space: -o-pre-wrap; /* Opera 7 */ 28 | word-wrap: break-word; /* IE */ 29 | } 30 | .titleTableTopNav, .titleTableSubNav, .logoImage { 31 | display: none; 32 | } 33 | .packageFrame { 34 | display: none; 35 | } 36 | .titleTableSubTitle { 37 | font-weight: bold; 38 | } 39 | .classHeaderTableLabel { 40 | padding-right: 10px; 41 | vertical-align: top; 42 | } 43 | .showHideLinks { 44 | display: none; 45 | } 46 | html>body code { 47 | font-size: 10pt; 48 | } 49 | .summaryTableTitle, .detailSectionHeader { 50 | font-size: 14pt; 51 | font-weight: bold; 52 | padding-top: 15px; 53 | padding-bottom: 5px; 54 | } 55 | .summaryTable { 56 | border: 1px solid #000000; 57 | border-collapse: collapse; 58 | width: 100%; 59 | } 60 | .summaryTableDescription { 61 | padding-bottom: 20px; 62 | } 63 | .summaryTableSignatureCol, .summaryTableOwnerCol, .summaryTableLastCol, .summaryTableCol { 64 | border: 1px solid #000000; 65 | } 66 | .summaryTablePaddingCol { 67 | border: 1px solid #000000; 68 | border-right: 0px; 69 | } 70 | .summaryTableInheritanceCol, .summaryTableOperatorCol, .summaryTableStatementCol, .summaryTableSecondCol { 71 | border: 1px solid #000000; 72 | border-left: 0px; 73 | } 74 | .summaryTableLastCol { 75 | vertical-align: top; 76 | } 77 | .detailHeader { 78 | font-size: 13pt; 79 | padding-top: 100px; 80 | } 81 | .detailHeaderName { 82 | font-weight: bold; 83 | } 84 | .detailHeaderType { 85 | padding-left: 5px; 86 | } 87 | .detailHeaderRule { 88 | background: #FF0000; 89 | } 90 | .seeAlso { 91 | padding-bottom: 20px; 92 | margin-top: -20px; 93 | } 94 | .innertable { 95 | border-collapse: collapse; 96 | } 97 | .innertable td,.innertable th { 98 | border: 1px solid #000000; 99 | padding-left: 5px; 100 | padding-right: 5px; 101 | } 102 | .listing { 103 | font-size: 10pt; 104 | } 105 | .feedbackLink { 106 | display: none; 107 | } 108 | .copyright { 109 | font-size: 10pt; 110 | } -------------------------------------------------------------------------------- /documentation/cookies.js: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // ADOBE SYSTEMS INCORPORATED 4 | // Copyright 2006-2008 Adobe Systems Incorporated 5 | // All Rights Reserved. 6 | // 7 | // NOTICE: Adobe permits you to use, modify, and distribute this file 8 | // in accordance with the terms of the license agreement accompanying it. 9 | // 10 | //////////////////////////////////////////////////////////////////////////////// 11 | 12 | /** 13 | * Read the JavaScript cookies tutorial at: 14 | * http://www.netspade.com/articles/javascript/cookies.xml 15 | */ 16 | 17 | /** 18 | * Sets a Cookie with the given name and value. 19 | * 20 | * name Name of the cookie 21 | * value Value of the cookie 22 | * [expires] Expiration date of the cookie (default: end of current session) 23 | * [path] Path where the cookie is valid (default: path of calling document) 24 | * [domain] Domain where the cookie is valid 25 | * (default: domain of calling document) 26 | * [secure] Boolean value indicating if the cookie transmission requires a 27 | * secure transmission 28 | */ 29 | function setCookie(name, value, expires, path, domain, secure) 30 | { 31 | document.cookie= name + "=" + escape(value) + 32 | ((expires) ? "; expires=" + expires.toGMTString() : "") + 33 | ((path) ? "; path=" + path : "") + 34 | ((domain) ? "; domain=" + domain : "") + 35 | ((secure) ? "; secure" : ""); 36 | } 37 | 38 | /** 39 | * Gets the value of the specified cookie. 40 | * 41 | * name Name of the desired cookie. 42 | * 43 | * Returns a string containing value of specified cookie, 44 | * or null if cookie does not exist. 45 | */ 46 | function getCookie(name) 47 | { 48 | var dc = document.cookie; 49 | var prefix = name + "="; 50 | var begin = dc.indexOf("; " + prefix); 51 | if (begin == -1) 52 | { 53 | begin = dc.indexOf(prefix); 54 | if (begin != 0) return null; 55 | } 56 | else 57 | { 58 | begin += 2; 59 | } 60 | var end = document.cookie.indexOf(";", begin); 61 | if (end == -1) 62 | { 63 | end = dc.length; 64 | } 65 | return unescape(dc.substring(begin + prefix.length, end)); 66 | } 67 | 68 | /** 69 | * Deletes the specified cookie. 70 | * 71 | * name name of the cookie 72 | * [path] path of the cookie (must be same as path used to create cookie) 73 | * [domain] domain of the cookie (must be same as domain used to create cookie) 74 | */ 75 | function deleteCookie(name, path, domain) 76 | { 77 | if (getCookie(name)) 78 | { 79 | document.cookie = name + "=" + 80 | ((path) ? "; path=" + path : "") + 81 | ((domain) ? "; domain=" + domain : "") + 82 | "; expires=Thu, 01-Jan-70 00:00:01 GMT"; 83 | } 84 | } 85 | -------------------------------------------------------------------------------- /documentation/package-summary.html: -------------------------------------------------------------------------------- 1 | All Packages 6 |


 packageDescription
 de.flintfabrik.starling.display
 de.flintfabrik.starling.events

-------------------------------------------------------------------------------- /documentation/de/flintfabrik/starling/display/package-detail.html: -------------------------------------------------------------------------------- 1 | de.flintfabrik.starling.display Summary 6 |



Classes
 ClassDescription
 WebcamVideo A WebcamVideo is a Quad with a texture mapped onto it.

-------------------------------------------------------------------------------- /documentation/de/flintfabrik/starling/events/package-detail.html: -------------------------------------------------------------------------------- 1 | de.flintfabrik.starling.events Summary 6 |



Classes
 ClassDescription
 VideoEvent A VideoEvent is triggered once per video/camera frame and dispatched by Video/WebcamVideo.

-------------------------------------------------------------------------------- /documentation/class-summary.html: -------------------------------------------------------------------------------- 1 | All Classes 6 |

Documentation for classes includes syntax, usage information, and code samples for methods, properties, and event handlers and listeners for those APIs that belong to a specific class in ActionScript. The classes are listed alphabetically. If you are not sure to which class a certain method or property belongs, you can look it up in the Index.


 ClassPackageDescription
 VideoEvent
de.flintfabrik.starling.events A VideoEvent is triggered once per video/camera frame and dispatched by Video/WebcamVideo.
 WebcamVideo
de.flintfabrik.starling.display A WebcamVideo is a Quad with a texture mapped onto it.

-------------------------------------------------------------------------------- /documentation/AC_OETags.js: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // ADOBE SYSTEMS INCORPORATED 4 | // Copyright 2008 Adobe Systems Incorporated 5 | // All Rights Reserved. 6 | // 7 | // NOTICE: Adobe permits you to use, modify, and distribute this file 8 | // in accordance with the terms of the license agreement accompanying it. 9 | // 10 | //////////////////////////////////////////////////////////////////////////////// 11 | 12 | 13 | //v1.0 14 | function AC_AddExtension(src, ext) 15 | { 16 | if (src.indexOf('?') != -1) 17 | return src.replace(/\?/, ext+'?'); 18 | else 19 | return src + ext; 20 | } 21 | 22 | function AC_Generateobj(objAttrs, params, embedAttrs) 23 | { 24 | var str = ' '; 30 | str += ' 2 | 3 | WebcamVideo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 22 | 23 | 24 | 25 | 38 | 39 |
13 | 14 | 15 | 16 | 19 | 20 |
WebcamVideo  17 | All Packages  |  All Classes  |  Index  |  No Frames 18 |
21 |
26 | 27 | 28 | 29 | 32 | 33 | 34 | 35 | 36 |
 
 
37 |
40 | 41 | -------------------------------------------------------------------------------- /documentation/all-index-E.html: -------------------------------------------------------------------------------- 1 | E 6 |

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

-------------------------------------------------------------------------------- /documentation/all-index-G.html: -------------------------------------------------------------------------------- 1 | G 6 |

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

-------------------------------------------------------------------------------- /documentation/all-index-H.html: -------------------------------------------------------------------------------- 1 | H 6 |

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

-------------------------------------------------------------------------------- /documentation/all-index-J.html: -------------------------------------------------------------------------------- 1 | J 6 |

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

-------------------------------------------------------------------------------- /documentation/all-index-K.html: -------------------------------------------------------------------------------- 1 | K 6 |

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

-------------------------------------------------------------------------------- /documentation/all-index-L.html: -------------------------------------------------------------------------------- 1 | L 6 |

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

-------------------------------------------------------------------------------- /documentation/all-index-M.html: -------------------------------------------------------------------------------- 1 | M 6 |

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

-------------------------------------------------------------------------------- /documentation/all-index-Q.html: -------------------------------------------------------------------------------- 1 | Q 6 |

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

-------------------------------------------------------------------------------- /documentation/all-index-X.html: -------------------------------------------------------------------------------- 1 | X 6 |

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

-------------------------------------------------------------------------------- /documentation/all-index-Y.html: -------------------------------------------------------------------------------- 1 | Y 6 |

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

-------------------------------------------------------------------------------- /documentation/all-index-Z.html: -------------------------------------------------------------------------------- 1 | Z 6 |

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

-------------------------------------------------------------------------------- /documentation/all-index-A.html: -------------------------------------------------------------------------------- 1 | A 6 |

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
ALPHA — Constant Static Property, class de.flintfabrik.starling.display.WebcamVideo
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

-------------------------------------------------------------------------------- /documentation/all-index-T.html: -------------------------------------------------------------------------------- 1 | T 6 |

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
texture — Property, class de.flintfabrik.starling.display.WebcamVideo
The texture with the camera image.
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

-------------------------------------------------------------------------------- /documentation/all-index-P.html: -------------------------------------------------------------------------------- 1 | P 6 |

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
pause() — method, class de.flintfabrik.starling.display.WebcamVideo
Pauses the Video EventListeners (drawing/uploading) but the camera will stay active.
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

-------------------------------------------------------------------------------- /documentation/all-index-N.html: -------------------------------------------------------------------------------- 1 | N 6 |

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
newFrameAvailable — Property, class de.flintfabrik.starling.display.WebcamVideo
14 | Returns whether a new webcam frame is available but hasn't been drawn, yet.
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

-------------------------------------------------------------------------------- /documentation/all-index-O.html: -------------------------------------------------------------------------------- 1 | O 6 |

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
onVertexDataChanged() — method, class de.flintfabrik.starling.display.WebcamVideo
OPAQUE — Constant Static Property, class de.flintfabrik.starling.display.WebcamVideo
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

-------------------------------------------------------------------------------- /documentation/all-index-I.html: -------------------------------------------------------------------------------- 1 | I 6 |

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
isActive — Property, class de.flintfabrik.starling.display.WebcamVideo
Returns whether the camera is active.
isRecording — Property, class de.flintfabrik.starling.display.WebcamVideo
Returns whether the camera is drawn and uploaded to texture or not.
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

-------------------------------------------------------------------------------- /documentation/all-index-C.html: -------------------------------------------------------------------------------- 1 | C 6 |

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
camera — Property, class de.flintfabrik.starling.display.WebcamVideo
14 | Returns the camera object.
copyVertexDataTo(targetData:starling.utils:VertexData, targetVertexID:int) — method, class de.flintfabrik.starling.display.WebcamVideo
Copies the raw vertex data to a VertexData instance.
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

-------------------------------------------------------------------------------- /documentation/all-index-W.html: -------------------------------------------------------------------------------- 1 | W 6 |

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
WebcamVideo — class, package de.flintfabrik.starling.display
A WebcamVideo is a Quad with a texture mapped onto it.
WebcamVideo(camera:flash.media:Camera, rect:flash.geom:Rectangle, autoStart:Boolean, strategy:uint) — Constructor, class de.flintfabrik.starling.display.WebcamVideo
Creates a WebcamVideo 14 |
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

-------------------------------------------------------------------------------- /documentation/all-index-R.html: -------------------------------------------------------------------------------- 1 | R 6 |

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
readjustSize(rectangle:flash.geom:Rectangle) — method, class de.flintfabrik.starling.display.WebcamVideo
Readjusts the dimensions of the video according to the current camera/croppingFrame.
render(support:starling.core:RenderSupport, parentAlpha:Number) — method, class de.flintfabrik.starling.display.WebcamVideo
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

-------------------------------------------------------------------------------- /documentation/de/flintfabrik/starling/events/VideoEvent.html: -------------------------------------------------------------------------------- 1 | de.flintfabrik.starling.events.VideoEvent 6 |
Packagede.flintfabrik.starling.events
Classpublic class VideoEvent
InheritanceVideoEvent Inheritance starling.events.Event

A VideoEvent is triggered once per video/camera frame and dispatched by Video/WebcamVideo. 14 | They may come in handy if you want to handle the draw/upload process yourself; if you 15 | want to process a BitmapData/ByteArrays only if it gets updated (AR); or if you want to 16 | use a custom renderer for the video. 17 | 18 |

See also

de.flintfabrik.starling.display.Video
de.flintfabrik.starling.display.WebcamVideo


Public Methods
 MethodDefined By
  
VideoEvent(type:String, bubbles:Boolean = false, data:Object = null)
VideoEvent
Public Constants
 ConstantDefined By
  DRAW_COMPLETE : String = drawComplete
[static] Event type for a new frame drawn to BitmapData/ByteArray.
VideoEvent
  UPLOAD_COMPLETE : String = uploadComplete
[static] Event type for a new frame uploaded to the Texture.
VideoEvent
  VIDEO_FRAME : String = videoFrame
[static] Event type for a new frame available.
VideoEvent
Constructor Detail
VideoEvent()Constructor
public function VideoEvent(type:String, bubbles:Boolean = false, data:Object = null)



Parameters
type:String
 
bubbles:Boolean (default = false)
 
data:Object (default = null)
Constant Detail
DRAW_COMPLETEConstant
public static const DRAW_COMPLETE:String = drawComplete

Event type for a new frame drawn to BitmapData/ByteArray.

UPLOAD_COMPLETEConstant 
public static const UPLOAD_COMPLETE:String = uploadComplete

Event type for a new frame uploaded to the Texture.

VIDEO_FRAMEConstant 
public static const VIDEO_FRAME:String = videoFrame

Event type for a new frame available.





-------------------------------------------------------------------------------- /documentation/all-index-F.html: -------------------------------------------------------------------------------- 1 | F 6 |

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
flipHorizontal — Property, class de.flintfabrik.starling.display.WebcamVideo
14 | Returns whether the vertexData of the WebcamVideo instance is flipped horizontally.
flipVertical — Property, class de.flintfabrik.starling.display.WebcamVideo
15 | Returns whether the vertexData of the WebcamVideo instance is flipped vertically.
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

--------------------------------------------------------------------------------