| .. | .. |
|---|
| 35 | 35 | int cur_fps; |
|---|
| 36 | 36 | u64 old_time; |
|---|
| 37 | 37 | bool is_discard; |
|---|
| 38 | + struct mutex freebuf_lock; |
|---|
| 38 | 39 | }; |
|---|
| 39 | 40 | |
|---|
| 40 | 41 | struct ISP_VIDEO_FRAMES { |
|---|
| .. | .. |
|---|
| 132 | 133 | int rkisp_rockit_get_tb_stream_info(struct rockit_cfg *input_rockit_cfg, |
|---|
| 133 | 134 | struct rkisp_tb_stream_info *info); |
|---|
| 134 | 135 | int rkisp_rockit_free_tb_stream_buf(struct rockit_cfg *input_rockit_cfg); |
|---|
| 136 | +int rkisp_rockit_free_stream_buf(struct rockit_cfg *input_rockit_cfg); |
|---|
| 135 | 137 | |
|---|
| 136 | 138 | void *rkcif_rockit_function_register(void *function, int cmd); |
|---|
| 137 | 139 | int rkcif_rockit_get_cifdev(char **name); |
|---|
| .. | .. |
|---|
| 175 | 177 | return -EINVAL; |
|---|
| 176 | 178 | } |
|---|
| 177 | 179 | |
|---|
| 180 | +static inline int rkisp_rockit_free_stream_buf(struct rockit_cfg *input_rockit_cfg) |
|---|
| 181 | +{ |
|---|
| 182 | + return -EINVAL; |
|---|
| 183 | +} |
|---|
| 184 | + |
|---|
| 178 | 185 | #endif |
|---|
| 179 | 186 | |
|---|
| 180 | 187 | #endif |
|---|