diff options
author | Jason Chen <b02280@freescale.com> | 2010-06-04 11:24:42 +0800 |
---|---|---|
committer | Jason Chen <b02280@freescale.com> | 2010-06-08 11:11:27 +0800 |
commit | 2992c41e60c652b97468098bb47d3875d874c83d (patch) | |
tree | 8ea52c12ce2d649e9462c232d55b5ee115e298ca /include | |
parent | e7ccdc0ecd8cf1365c2259bdf4da5f3e975694bf (diff) |
ENGR00124023 v4l2 output:modify the operation of ic-bypass mode
/unit_test//unit_tests/mxc_v4l2_output.out -iw 1920 -ih 1080 -ow 1920
-oh 1080 -d 3 -l 600 -fr 80 /dev/shm/1920_1080_E18_c2.yuv
Error information:
It report the following error:
video4linux video16: unable to update buffer 0 address rc=-13
Fix above issue by modify the operation of ic-bypass mode.
Signed-off-by: Jason Chen <b02280@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ipu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ipu.h b/include/linux/ipu.h index 3211ad02994a..135db82d3345 100644 --- a/include/linux/ipu.h +++ b/include/linux/ipu.h @@ -898,6 +898,8 @@ int32_t ipu_link_channels(ipu_channel_t src_ch, ipu_channel_t dest_ch); int32_t ipu_unlink_channels(ipu_channel_t src_ch, ipu_channel_t dest_ch); int32_t ipu_is_channel_busy(ipu_channel_t channel); +int32_t ipu_check_buffer_busy(ipu_channel_t channel, ipu_buffer_t type, + uint32_t bufNum); void ipu_clear_buffer_ready(ipu_channel_t channel, ipu_buffer_t type, uint32_t bufNum); uint32_t ipu_get_cur_buffer_idx(ipu_channel_t channel, ipu_buffer_t type); |