Graphics framework for GR-PEACH.
When you use this program, we judge you have agreed to the following contents.
https://developer.mbed.org/teams/Renesas/wiki/About-LICENSE
Dependents:
ImageZoomInout_Sample
ImageRotaion_Sample
ImageScroll_Sample
GR-PEACH_LCD_4_3inch_Save_to_USB
... more
« Back to documentation index
jcu_api.c File Reference
JCU (JPEG hardware) driver API.
More...
Go to the source code of this file.
Detailed Description
JCU (JPEG hardware) driver API.
Main Code.
Module: JCU
PublicVersion: 1.00
(=JCU_VERSION)
Rev: 38
Date: 2014-03-18 16:14:45 +0900#
Definition in file jcu_api.c .
Function Documentation
Restart the processing caused by count mode.
Synchronized.
Parameters:
type The target to continue
Returns: <jcu_errorcode_t> type.
Definition at line 532 of file jcu_api.c .
Restart the processing caused by count mode.
Asynchronized.
Parameters:
type The target to continue
Returns: <jcu_errorcode_t> type.
Definition at line 573 of file jcu_api.c .
bool_t R_JCU_DisableInterrupt
(
void
)
DisableInterrupt.
Parameters None
Returns: Was interrupt enabled
Definition at line 1128 of file jcu_api.c .
void R_JCU_EnableInterrupt
(
void
)
EnableInterrupt.
Parameters None
Returns: None
Definition at line 1112 of file jcu_api.c .
R_JCU_GetAsyncStatus.
Parameters None
Returns: None
Definition at line 680 of file jcu_api.c .
jcu_errorcode_t R_JCU_GetEncodedSize
(
size_t *const
out_Size )
GetEncodedSize.
Parameters:
Returns: <jcu_errorcode_t> type.
Definition at line 1051 of file jcu_api.c .
jcu_i_lock_t* R_JCU_GetILockObject
(
void
)
R_JCU_GetILockObject.
Parameters None
Returns: <jcu_i_lock_t> type.
Definition at line 1162 of file jcu_api.c .
GetImageInfo.
Parameters:
buffer Image information. <jcu_image_info_t>
Returns: <jcu_errorcode_t> type.
Definition at line 799 of file jcu_api.c .
R_JCU_GetInternalInformation.
Parameters None
Returns: <jcu_internal_information_t> type.
Definition at line 1149 of file jcu_api.c .
void R_JCU_I_LOCK_Finalize
(
void
)
Finalize the I-Lock object.
Parameters None
Returns: None
Definition at line 1204 of file jcu_api.c .
static int_fast32_t R_JCU_I_LOCK_GetRootChannelNum
(
const void *const
self_ )
[static]
Get root channel number of I-Lock object.
Parameters:
Returns: A channel number
Definition at line 1332 of file jcu_api.c .
static bool_t R_JCU_I_LOCK_Lock
(
void *const
self_ )
[static]
Lock the I-Lock object.
Parameters:
Returns: Was interrupt enabled
Definition at line 1246 of file jcu_api.c .
bool_t R_JCU_I_LOCK_Replace
(
void *const
I_Lock ,
const r_ospl_i_lock_vtable_t *const
I_LockVTable
)
Replace associated I-Lock object.
Parameters:
I_Lock I-Lock object
I_LockVTable V-Table
Returns: Whether success to replace
Definition at line 1175 of file jcu_api.c .
static void R_JCU_I_LOCK_RequestFinalize
(
void *const
self_ )
[static]
Request to finalize the I-Lock object.
Parameters:
Returns: None
Definition at line 1311 of file jcu_api.c .
static void R_JCU_I_LOCK_Reset
(
jcu_i_lock_t *const
self )
[static]
Reset the I-Lock object.
Parameters:
Returns: None
Definition at line 1224 of file jcu_api.c .
static void R_JCU_I_LOCK_Unlock
(
void *const
self_ )
[static]
Unlock the I-Lock object.
Parameters:
Returns: None
Definition at line 1282 of file jcu_api.c .
jcu_errorcode_t R_JCU_Initialize
(
void *const
NullConfig )
Initialize the driver.
Parameters:
Returns: <jcu_errorcode_t> type.
Definition at line 97 of file jcu_api.c .
jcu_errorcode_t R_JCU_SelectCodec
(
const jcu_codec_t
codec )
Select Codec Type.
Parameters:
Returns: <jcu_errorcode_t> type.
Definition at line 301 of file jcu_api.c .
Set AXI bus A*CACHE bits for 2nd cache to JCU.
Parameters:
read_cache_attribute <r_ospl_axi_cache_attribute_t>
write_cache_attribute <r_ospl_axi_cache_attribute_t>
Returns: <jcu_errorcode_t> type.
Definition at line 1067 of file jcu_api.c .
Set the count mode (separate operating) parameter.
Parameters:
buffer <jcu_count_mode_param_t>
Returns: <jcu_errorcode_t> type.
Definition at line 478 of file jcu_api.c .
Set parameter for decode.
Parameters:
decode Select the encode parameter for decoding. <jcu_decode_param_t>
buffer Buffer settings for decode. <jcu_buffer_param_t>
Returns: <jcu_errorcode_t> type.
Definition at line 703 of file jcu_api.c .
Set the parameter fo encoding.
Parameters:
encode Select the encode parameter for encoding. <jcu_encode_param_t>
buffer Select the buffer settings for encoding. <jcu_buffer_param_t>
Returns: <jcu_errorcode_t> type.
Definition at line 995 of file jcu_api.c .
SetErrorFilter.
Parameters:
filter enable bit of error. <jcu_int_detail_errors_t>
Returns: <jcu_errorcode_t> type.
Definition at line 849 of file jcu_api.c .
jcu_errorcode_t R_JCU_SetHuffmanTable
(
const jcu_table_no_t
tableNo ,
const jcu_huff_t
type ,
const uint8_t *const
table
)
Set the Huffman table.
Parameters:
tableNo The table number to set the value. <jcu_table_no_t>
type The type of Huffman table type (AC or DC). <jcu_huff_t>
table The body of the table to set
Returns: <jcu_errorcode_t> type.
Definition at line 940 of file jcu_api.c .
jcu_errorcode_t R_JCU_SetPauseForImageInfo
(
const bool_t
is_pause )
Whether stop or not stop for R_JCU_GetImageInfo()
Parameters:
is_pause Whether stop or not stop
Returns: <jcu_errorcode_t> type.
Definition at line 759 of file jcu_api.c .
jcu_errorcode_t R_JCU_SetQuantizationTable
(
const jcu_table_no_t
tableNo ,
const uint8_t *const
table
)
SetQuantizationTable.
Parameters:
tableNo The table number to set the value. <jcu_table_no_t>
table The body of the table to set.
Returns: <jcu_errorcode_t> type.
Definition at line 885 of file jcu_api.c .
jcu_errorcode_t R_JCU_Start
(
void
)
Start decoding or encoding.
Synchronized.
Parameters None
Returns: <jcu_errorcode_t> type.
Definition at line 365 of file jcu_api.c .
Start decoding or encoding.
Asynchronized.
Parameters None
Returns: <jcu_errorcode_t> type.
Definition at line 407 of file jcu_api.c .
jcu_errorcode_t R_JCU_Terminate
(
void
)
Terminate the driver function.
Parameters None
Returns: <jcu_errorcode_t> type.
Definition at line 173 of file jcu_api.c .
Terminate the driver function.
Parameters:
Returns: <jcu_errorcode_t> type.
Definition at line 213 of file jcu_api.c .
jcu_errorcode_t R_JCU_TerminateStep2
(
void
)
Terminate the driver function.
Parameters None
Returns: <jcu_errorcode_t> type.
Definition at line 269 of file jcu_api.c .
Variable Documentation
gs_jcu_internal_information
Definition at line 68 of file jcu_api.c .