iLLD_TC29x  1.0
IfxCif_Cam.c File Reference

CIF CAM details. More...

#include "IfxCif_Cam.h"
#include "Src/Std/IfxSrc.h"

Go to the source code of this file.

Macros

#define IFXCIF_CAM_ALIGN(size, align)   ((((size) / (align)) * (align)) + ((((size) % (align)) != 0) ? (align) : 0))
 
#define IFXCIF_CAM_MEM_ALIGN(size)   IFXCIF_CAM_ALIGN(size, IFXCIF_CAM_MEM_ALIGN_SIZE)
 

Functions

IFX_INLINE uint32 IfxCif_Cam_calcMem (uint32 bytes, float32 frames)
 
IFX_INLINE void IfxCif_Cam_initPictInfo (IfxCif_Cam_PictureInfo *m, const IfxCif_Cam_MemConfig *mcfg)
 
IFX_INLINE void IfxCif_Cam_initPortPins (IfxPort_InputMode inputMode, IfxPort_PadDriver padDriver)
 initializes GPIO Ports for image capturing More...
 
IFX_INLINE boolean IfxCif_Cam_isEmulationExtensionAvailable (void)
 
IFX_INLINE uint32 IfxCif_Cam_yuvMemSize (const IfxCif_Cam *cam)
 
void IfxCif_Cam_clearAllFlags (const IfxCif_Cam *cam)
 Clear all CIF module notification flags. More...
 
void IfxCif_Cam_disableJpegEncoder (const IfxCif_Cam *cam)
 Disable the JPEG encoder and route the acquisition path accordingly to the 'original' configuration, i.e. RAW or main path. More...
 
void IfxCif_Cam_enableJpegEncoder (const IfxCif_Cam *cam)
 Enable the JPEG encoder and route the acquisition path accordingly. More...
 
const IfxCif_Cam_PictureInfoIfxCif_Cam_getExtraPathPictureInfo (const IfxCif_Cam *cam, IfxCif_ExtraPath z)
 Returns pointer to the variable storing picture info of an extra-path. More...
 
boolean IfxCif_Cam_getLastJpegEncodingInfo (IfxCif_Cam *cam, Ifx_AddressValue *address, sint32 *size)
 Returns pointer to the memory structure storing last JPEG encoding process. More...
 
IfxCif_Cam_Status IfxCif_Cam_init (IfxCif_Cam *cam, const IfxCif_Cam_Config *config, boolean initCam)
 Initialise the CIF, EMEM, PORT, I2C and the camera itself. More...
 
void IfxCif_Cam_restartCapture (const IfxCif_Cam *cam, uint8 frames)
 Restart capture by enabling the ISP output. More...
 
void IfxCif_Cam_startCapture (const IfxCif_Cam *cam, uint8 frames)
 Start capture by enabling the ISP output and initialising the MI counter. More...
 
void IfxCif_Cam_stopCapture (const IfxCif_Cam *cam)
 Stop capture by disabling the ISP output. More...
 

Detailed Description

CIF CAM details.

Version
iLLD_1_0_0_11_0
                            IMPORTANT NOTICE

Infineon Technologies AG (Infineon) is supplying this file for use exclusively with Infineon's microcontroller products. This file can be freely distributed within development tools that are supporting such microcontroller products.

THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.

Definition in file IfxCif_Cam.c.

Macro Definition Documentation

#define IFXCIF_CAM_ALIGN (   size,
  align 
)    ((((size) / (align)) * (align)) + ((((size) % (align)) != 0) ? (align) : 0))

Definition at line 36 of file IfxCif_Cam.c.

#define IFXCIF_CAM_MEM_ALIGN (   size)    IFXCIF_CAM_ALIGN(size, IFXCIF_CAM_MEM_ALIGN_SIZE)

Definition at line 38 of file IfxCif_Cam.c.