mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00

1. Refactor test cpp files to c. 2. Update test license to Apache-2.0 OR MIT. Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: I02f3e23ddae8435ca851a5f0164f04ef5f51ccc2
29 lines
471 B
C
29 lines
471 B
C
/* SPDX-License-Identifier: Apache-2.0 OR MIT */
|
|
/*
|
|
* Copyright (c) 2017 Rockchip Electronics Co., Ltd.
|
|
*/
|
|
|
|
#ifndef __MPP_PARSE_CFG_H__
|
|
#define __MPP_PARSE_CFG_H__
|
|
|
|
struct rc_event {
|
|
union {
|
|
int msec;
|
|
int frm;
|
|
int idx;
|
|
};
|
|
float fps;
|
|
int bps;
|
|
};
|
|
|
|
struct rc_test_config {
|
|
int idx_type;
|
|
int loop;
|
|
struct rc_event event[128];
|
|
int event_cnt;
|
|
};
|
|
|
|
int mpp_parse_config(char *cfg_url, struct rc_test_config *ea);
|
|
|
|
#endif
|