nn::jpeg::CTR::JpegMpEncoder::SetGpsAltitude Member Function

Syntax

#include <nn/jpeg.h>

static void SetGpsAltitude(
     GpsData * pGps,
     u8 ref,
     const Rational * pValue
);

Arguments

Name Description
out pGps Specifies the GPS IFD.
in ref Specifies reference altitude.
Ignored if the information is not registered.
in pValue Specifies a pointer to the altitude (numeric value). The information is not registered if NULL is specified.

Return Values

None.

Description

Stores altitude in the GPS IFD.

If using the structure specified by the pGps argument (to store or remove information) for the first time, be sure to initialize it first using InitializeGpsData before calling this function. If no further operations will be performed on the structure, confirm stored data by calling SetGpsData after calling this function.

If the argument pValue is specified as NULL, neither the reference altitude or altitude (numeric values) are stored.

Revision History

2010/10/22
Initial version.

CONFIDENTIAL