1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-F690DAC8-688B-5BD7-88DF-0CB3D4ACDCFF" xml:lang="en"><title> Capturing |
|
13 Video</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <p>This tutorial describes how to capture video using the Ecam API. </p> |
|
15 <section id="GUID-01CB3845-42E0-45C6-A784-6A3991A81C83"><title>Purpose</title> <p>The |
|
16 purpose of this tutorial is to show you how to capture video using the Ecam |
|
17 API. </p> <p><b>Required |
|
18 Background</b> </p> <p>For background information, see the <xref href="GUID-80EC80E2-E197-50F7-B1FD-720A00AC3B4D.dita">Onboard |
|
19 Camera Overview</xref>. </p> <p><b>Introduction</b> </p> <p>The video capture control allows the client to start, pause, |
|
20 resume and stop video capture. </p> </section> |
|
21 <section id="GUID-84B26023-5014-4689-B989-5F76A2CA9629"><title>Using Video |
|
22 Capture </title> <ul> |
|
23 <li id="GUID-55ABCB13-5C9B-5D2F-9D33-B8969B41BAE6"><p>Create a class pointer |
|
24 using the <xref href="GUID-D74635DE-C5D8-3A9A-ABDD-8324D8EFF460.dita#GUID-D74635DE-C5D8-3A9A-ABDD-8324D8EFF460/GUID-61883C60-E883-3D33-A5B2-484451310591"><apiname>CCamera::CCameraVideoCaptureControl::NewL()</apiname></xref> factory |
|
25 method. </p> <p> </p> </li> |
|
26 <li id="GUID-E92F4F3B-AC92-5B34-851D-B518E64AA620"><p>Use <xref href="GUID-D74635DE-C5D8-3A9A-ABDD-8324D8EFF460.dita#GUID-D74635DE-C5D8-3A9A-ABDD-8324D8EFF460/GUID-F717B6C4-913A-3F28-9AD1-E7FBFB85427F"><apiname>CCamera::CCameraVideoCaptureControl::PrepareVideoCapture()</apiname></xref> to |
|
27 initialize the settings for video capture. </p> </li> |
|
28 <li id="GUID-A57E28A4-2CCD-5621-B2D5-9D286196869F"><p>Start video capture |
|
29 using <xref href="GUID-D74635DE-C5D8-3A9A-ABDD-8324D8EFF460.dita#GUID-D74635DE-C5D8-3A9A-ABDD-8324D8EFF460/GUID-774897D4-271E-3D7D-AAA6-033D34A39D74"><apiname>CCamera::CCameraVideoCaptureControl::StartVideoCaptureL()</apiname></xref>. </p> </li> |
|
30 <li id="GUID-66610441-E054-5704-999A-097BCB23568D"><p>Use <xref href="GUID-D74635DE-C5D8-3A9A-ABDD-8324D8EFF460.dita#GUID-D74635DE-C5D8-3A9A-ABDD-8324D8EFF460/GUID-5EB82FE6-4025-3F78-9DAD-6851086A46C6"><apiname>CCamera::CCameraVideoCaptureControl::PauseVideoCapture()</apiname></xref> call |
|
31 to pause the video capture. </p> </li> |
|
32 <li id="GUID-C426DA42-D8ED-5702-A13D-6786B0B45849"><p>Use <xref href="GUID-D74635DE-C5D8-3A9A-ABDD-8324D8EFF460.dita#GUID-D74635DE-C5D8-3A9A-ABDD-8324D8EFF460/GUID-D9BECEAD-8695-3B8B-A537-9F7B96EF1A2A"><apiname>CCamera::CCameraVideoCaptureControl::ResumeVideoCaptureL()</apiname></xref> to |
|
33 resume the video capture. </p> </li> |
|
34 <li id="GUID-BDE3DD51-7778-5021-BC72-26644B5BE651"><p>Use <xref href="GUID-D74635DE-C5D8-3A9A-ABDD-8324D8EFF460.dita#GUID-D74635DE-C5D8-3A9A-ABDD-8324D8EFF460/GUID-017E7D68-9971-3966-B863-95471AC8636F"><apiname>CCamera::CCameraVideoCaptureControl::StopVideoCapture()</apiname></xref> to |
|
35 stop video capture. </p> </li> |
|
36 <li id="GUID-BFCA4131-01D8-539F-A0E6-5C363BFC2F62"><p>Release the resource |
|
37 that was allocated during <xref href="GUID-E8B6B8ED-B023-367A-B760-06D4000AAB8D.dita"><apiname>PrepareVideoCapture()</apiname></xref> using the <xref href="GUID-D74635DE-C5D8-3A9A-ABDD-8324D8EFF460.dita#GUID-D74635DE-C5D8-3A9A-ABDD-8324D8EFF460/GUID-6379550B-578F-3A91-8328-AD7429CF2AA4"><apiname>CCamera::CCameraVideoCaptureControl::ReleaseVideoResource()</apiname></xref> method. </p> </li> |
|
38 </ul> </section> |
|
39 </conbody><related-links> |
|
40 <link href="GUID-9DE1CE5D-F148-5A7E-908A-DDD57A32C629.dita"><linktext>Camera API</linktext> |
|
41 </link> |
|
42 <link href="GUID-9014ED9B-B0A0-5C95-9C5B-7D2F658C757F.dita"><linktext>Accessing |
|
43 and Power Control of Camera</linktext></link> |
|
44 <link href="GUID-FAB548CF-24EB-52D1-A7A1-9446BA67C7A5.dita"><linktext>Camera Preset |
|
45 Support</linktext></link> |
|
46 <link href="GUID-DA26D246-D74A-529F-9F81-11B45669103F.dita"><linktext>Capturing |
|
47 Image</linktext></link> |
|
48 </related-links></concept> |
|