Intel® Media SDK RAW Media Accelerator Sample Overview Features Software Requirements Hardware Requirements How to Build the Application Running the Software Known Limitations Legal Information

Overview The Intel® Media SDK RAW Media Accelerator Sample demonstrates how to use the Intel ® Media SDK RAW Media Accelerator to create a simple console application that performs processing of RAW data in Bayer formats from camera and outputs data in monitor compatible formats.

Features The Intel Media SDK RAW Media Accelerator Sample supports the following video formats: input (uncompressed)

16-bit BGGR, RGGB, GBRG, GRBG Bayer formats

output (uncompressed)

ARGB32, ARGB64

The sample supports the following image processing algorithms: demosaicing (always on), and forward gamma correction (switchable). The input image should be 8-pixel padded to be correctly processed by Intel® Media SDK RAW Media Accelerator pipeline. The sample application can either do the padding itself (-padding command line option), or pass the unpadded image to the Accelerator, in which case the padding is performed inside the Accelerator pipeline.

Software requirements See \Media SDK Sample Guide.pdf  Microsoft* Windows* 7, Microsoft Windows 8.1. 

For Microsoft DirectX* 11 functionality - Microsoft Windows 8.1.



Microsoft Visual C++* 2012.



Intel® Iris™ graphics and HD Graphics Driver for Windows 7/8/8.1 version 15.33.22.(64.)3621 or higher.

Hardware requirements See \Media_Samples_Guide.pdf  Preferable: 4th Generation Intel® CoreTM processors with Intel® Iris™ Pro graphics 5200 and Solid State Drive storage. 



Hardware acceleration is available on platforms with: o

4th Generation Intel® CoreTM processors,

o

Selected SKUs of Intel® CeleronTM and Intel® PentiumTM processors with Intel HD Graphics which support Intel ® Quick Sync Video.

On other supported platforms only software fallback available: o

3rd Generation Intel® CoreTM processors,

o

Selected SKUs of Intel® CeleronTM and Intel® PentiumTM processors with Intel HD Graphics which support Intel ® Quick Sync Video.

o

Selected SKUs of Intel® AtomTM processors with Intel® HD Graphics which support Intel Quick Sync Video.

How to Build the Application See \Media_Samples_Guide.pdf For building sample_camera an additional file named mfxcamera.h is required: You may find it in Intel® Media SDK RAW Media Accelerator package. You may set INTELMEDIASDKROOT variable to the location of Intel® Media SDK RAW Media Accelerator, no additional actions are required in this case. But if INTELMEDIASDKROOT should is set to another location, you may need to copy mfxcamera.h to sample_camera\include folder from Intel® Media SDK RAW Media Accelerator package.

Running the Software The executable is to be run from the folder where the Intel RAW Media Accelerator plugin is located. The executable file sample_camera.exe expects the following command-line arguments for proper function: -i

Input RAW video file path and name base: the sample will consecutively look for files named 00000000., 00000001., etc., where is bg16 (bggr), rg16 (rggb), gb16 (gbrg), or

gr16 (grbg), depending on the -format argument. -o

Output video file path and name base: the sample will consecutively dump output files named 0., 1., etc., where is either bmp of argb16 depending on the -outFormat argument. - number of files to dump, 20 by default

-plugin_verision

Define Intel® Media SDK RAW Media Accelerator Plug-in version

-asyncDepth -a

Set async depth for the pipeline, default 4

-w

Width of input Bayer and output images in samples

-h

Height of input Bayer and output images in lines

-format -f

Input Bayer format: bggr, rggb, gbrg, grbg

-outFormat -of

Output image format, argb16 or 16 meaning 16-bit ARGB (ARGB64), ARGB32 otherwise, NV12

-n -numFramesToProcess

Number of frames to process

-r

render output in a separate window

-render -imem

Input memory type (sys|video). Default is system.

-omem

Output memory type (sys|video). Default is system.

-accel

Type of acceleration device (d3d9|d3d11). Default is d3d9.

-bitDepth -b

Bit depth of the input images, default 10

-pd -padding

The source is padded by the sample application – no padding to be done by Accelerator pipeline

resetInterval

Reset every frames, default 7

-reset –i … -o … -f … -w… -h…

Parameters to be used after next reset. Only these 5 parameters are supported, if a parameter is not set here, the originally set value is used. There can be any number of resets, applied in order of appearance in the command line, after frames are processed with the current parameters.

-ng

No gamma correction to be done

-noGamma -gamma_points

Set specific gamma points (64 points expected)

-gamma_corrected

Set specific gamma corrected values (64 values expected)

-bbl B G0 G1 R

Bayer black level correction coefficients

-bayerBlackLevel B G0 G1 R -bwb B G0 G1 R

Bayer white balance correction coefficients

-bayerWhiteBalance B G0 G1 R -tcc R G B C M Y

Total color control

-totalColorControl R G B C M Y -ccm n00 n01 ... n33

Color correction 3x3 matrix coefficients

-lens a b c d

Enable lens geometry distortion correction

-vignette maskfile

Enable vignette correction using mask from specified file

-chroma_aberration aR bR cR dR aG bG cG dG aB bB cB dB

Enable chroma aberration correction

-alpha alpha

Write value to alpha channel of output surface

-perf_opt

Buffered reading of input (support: Bayer sequence)

-r

Render output in a separate window

-render -wall w h n m f t tmo

Same as -r, and positioned rendering window in a particular cell on specific monitor w - number of columns of video windows on selected monitor h - number of rows of video windows on selected monitor n(0,.,w*h-1) - order of video window in table that will be rendered m(0,1..) - monitor id f - rendering framerate t(0/1) - enable/disable window's title tmo - timeout for -wall option

Below is an example of a command-line to execute the Intel® Media SDK RAW Media Accelerator Sample: sample_camera –i c:\content\Film01\film01_ -w 4096 -h 2160 -f rggb –of 16 –d3d11 -r –b 12 –a 3 -o out 50 –n 100

The structure of a Bayer image for bggr Bayer pattern is shown below. B

G0

B

G0

B

G0

B

G0

G1

R

G1

R

G1

R

G1

R

B

G0

B

G0

B

G0

B

G0

G1

R

G1

R

G1

R

G1

R

The four Bayer patterns differ in the position of the colors in the 2x2 unit element: bggr

rggb

gbrg

grbg

B

G0

R

G0

G0

B

G0

R

G1

R

G1

B

R

G1

B

G1

The mirror padding on the left image boundary is demonstrated below:

6

7

6

B

G0

B

G1

R

G1

••••••

2

1

0

1

B

G0

B

G0

G1

R

G1

R

2

3

4

5

6

7

B

G0

B

G0

B

G0

G1

R

G1

R

G1

R

The same procedure is applied to the right boundary, and after that the padding at the top and bottom boundaries is done in the same manner. Note: the outermost (leftmost in the case shown above) columns/rows are only used by Bayer denoise algorithm which is going to be part of furute versions of the RAW Media Accelerator pipeline; for the current implementation, the boundary pixels can be set to arbitrary values. Input bit depths of 8, 10, 12, and 14 are currently supported, the data should be shifted to the most significant bit (MSB) side. If the output is 16-bit ARGB (ARGB64), the output bit depth is equal to the input bit depth, the output data being MSB shifted as well. By defining CONVERT_TO_LSB identifier in the sample source code, the sample can be configured to shift the output data to the least significant bit (LSB) side.

When the output is set to 8-bit ARGB (ARGB32), the final stage of the Accelerator pipeline converts (right shifts) the data to 8 bits. Rendering in the sample is only available with 8-bit output. Sample performance measured on an Intel Core i7 4950HQ 2.4 GHz machine with Intel® Iris™ Pro graphics, running at 1300 MHz, Intel SSD drive, Windows 8.1: 4096x2160 unpadded Bayer input 27 fps pure pipeline 25 fps with rendering

Known Limitations  

On some configurations rendering is observed slow down the sample overall performance significantly – by up to 10 fps, which can probably be improved by decoupling the rendering from the main accelerator pipeline. -p option is not in use any more – camera plugin UID is specified inside the sample’s code

Legal Information INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS OTHERWISE AGREED IN WRITING BY INTEL, THE INTEL PRODUCTS ARE NOT DESIGNED NOR INTENDED FOR ANY APPLICATION IN WHICH THE FAILURE OF THE INTEL PRODUCT COULD CREATE A SITUATION WHERE PERSONAL INJURY OR DEATH MAY OCCUR. Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined." Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The information here is subject to change without notice. Do not finalize a design with this information. The products described in this document may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request. Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order. Copies of documents which have an order number and are referenced in this document, or other Intel literature, may be obtained by calling 1-800-548-4725, or by visiting Intel's Web Site. MPEG is an international standard for video compression/decompression promoted by ISO. Implementations of MPEG CODECs, or MPEG enabled platforms may require licenses from various entities, including Intel Corporation.

Intel and the Intel logo are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. Optimization Notice Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice. Notice revision #20110804

Intel® Media SDK RAW Media Accelerator Sample - GitHub

application can either do the padding itself (-padding command line option), or pass the unpadded image to the Accelerator, in which case the padding is performed inside the. Accelerator pipeline. Software requirements. See folder>\Media SDK Sample Guide.pdf. • Microsoft* Windows* 7, Microsoft Windows 8.1.

371KB Sizes 6 Downloads 83 Views

Recommend Documents

Intel graphics media accelerator driver for dell inspiron 1440 ...
Integrated sis mirage 1 2d/3d graphics driver windows 7.Idt high ... Descargar gratis driver lexmark x1250 windows 7. ... readmeand installation guide pdf.

what-is-intel-r-graphics-media-accelerator-driver.pdf
what-is-intel-r-graphics-media-accelerator-driver.pdf. what-is-intel-r-graphics-media-accelerator-driver.pdf. Open. Extract. Open with. Sign In. Main menu.

POSTER: Rust SGX SDK: Towards Memory Safety in Intel ... - GitHub
What's more, the Rust en- claves are able to run as fast as the ones written in C/C++. CCS CONCEPTS ... Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee ..... 1.9/docs/Intel_SG

Accept SDK - GitHub
1.2.2 Activating Developer Mode . ..... Microphone access must be allowed by the user the first time the application is run in order to use the audio jack for ...

Accept SDK - GitHub
Accept SDK for iOS is a mPOS solution for Apple devices that enables electronic ... Accept SDK can only run on an armv7 compatible iOS device (iPhone 3GS or.

Media Framework RT SDK - One Developer
Browse Community - SAP. The iOS SDK (Software Development Kit) (formerly iPhone SDK) is a software development kit developed by Apple Inc. and released ...

Mobile SDK Development Guide - GitHub
Jul 20, 2017 - Page 1 ..... Chapter 11: Files and Networking . ..... services. Salesforce provides the Salesforce App Cloud to address this need. This cloud ...

Media Ownership.qxd - Media Education Foundation
business periodicals, etc. ... Place students into small groups. Assign each ... After each group has completed their list, handout the Media Ownership Chart.

Inside Intel Management Engine - GitHub
enable closed chassis debug through a USB3 port from Intel silicon. • Intel DCI provides access to CPU/PCH JTAG via USB3.0. • Software is available without NDA (Intel System Studio). • There are two types of DCI hosting interfaces in the platfo

Media Ownership.qxd - Media Education Foundation
To learn to use various media for research: the Internet, newspapers, business periodicals, etc. ... Place students into small groups. Assign each group a media ...

FY18 MgUE Social Media Sample Posts #NASAMgUE -
Visit the NASA MgUE booth at the following conferences: • National Science Teachers Association Regional Conference – Milwaukee, WI; November.

Shortcuts of the Eclipse SDK 4.5.0 - GitHub
Shortcuts of the Eclipse SDK 4.5.0. File. New. Ctrl+N. Windows. New Menu. Shift+Alt+N. Windows. Close. Ctrl+W. Windows. Close All. Shift+Ctrl+W. Windows.

Bullet 2.83 Physics SDK Manual - GitHub
Please see separate BulletQuickstart.pdf guide. ...... 10 Bullet Example Browser . ..... including PLAYSTATION 3, XBox 360, Wii, PC, Linux, Mac OSX, Android and iPhone ... You can find this quickstart guide in Bullet/docs/BulletQuickstart.pdf.

Nodel: A digital media control system for museums and ... - GitHub
Apr 2, 2014 - Development of MVMS ended in 2010 and the company ... makes them increasingly attractive venues for hosting commercial ... Museum Victoria staff to access it from any web-enabled device such as a computer, .... Museum Victoria was choos

Intel ME: Two Years Later - GitHub
In first versions it was included in the network card, later moved into the chipset ... HECI/MEI driver, management services, utilities. AMT SDK, code ... ME Gen 1. ME Gen 2. SEC/TXE. ME versions. 1.x-5.x. 6.x-10.x. 1.x (Bay Trail). Core. ARCTangent-

MEDIA RELATIONS
Information releases, which accurately communicate the Board's business to the ... The chief superintendent or designate may contact local media to request ...

MEDIA RELEASE
19 December 2017. Consumers reminded to take care when shopping online. The interim payments fraud data released today by the Australian Payments Network, the payments industry's self-regulatory body, serve as a timely reminder to consumers to take c

micro-services sample project - GitHub
Netflix Zuul acts as the API Gateway for accessing the micro services behind the gateway. It also acts as the load balancer and the reverse proxy server which routes the request to the respective service. Microservice's stay behind reverse proxy serv

Sample Statement of Work - GitHub
CONFIDENTIAL: The contents of this document are confidential and are intended exclusively for the designated recipients. The contents of this page is defined ...