-
1.
公开(公告)号:US20230342118A1
公开(公告)日:2023-10-26
申请号:US18178098
申请日:2023-03-03
Applicant: MediaTek Inc.
Inventor: Yu-Chieh Lin , Hungchun Liu , Po-Yuan Jeng , Yungchih Chiu , Cheng-Hsun Hsieh , Chia-Yu Chang , Li-Ming Chen
Abstract: A graph application programming interface (API) is used to control an image processing flow. A system receives graph API calls to add nodes to respective subgraphs. The system further receives a given graph API call to add a control flow node to a main graph. The given graph API call identifies the subgraphs as parameters. The main graph includes the control flow node connected to other nodes by edges that are directed and acyclic. A graph compiler compiles the main graph and the subgraphs into corresponding executable code. At runtime, a condition is evaluated before the subgraphs identified in the given graph API call are executed. One or more target devices execute the corresponding executable code to perform operations of an image processing pipeline while skipping execution of one or more of the subgraphs depending on the condition.
-
公开(公告)号:US20230342876A1
公开(公告)日:2023-10-26
申请号:US18178059
申请日:2023-03-03
Applicant: MediaTek Inc.
Inventor: Yu-Chieh Lin , Hungchun Liu , Po-Yuan Jeng , Yungchih Chiu , Chia-Yu Chang , Cheng-Hsun Hsieh , Lei Chen , Li-Ming Chen , Taichi Wang
CPC classification number: G06T1/20 , G06T11/206
Abstract: An image processing system includes one or more processors operative to receive a graph application programming interface (API) call to add a complex node to a graph. The graph includes at least the complex node connected to other nodes by edges that are directed and acyclic. The one or more processors are further operative to process, by a graph compiler at compile time, the complex node by iteratively expanding the complex node into multiple nodes with each node corresponding to one operation in an image processing pipeline. The system further includes one or more target devices to execute executable code compiled from each node to perform operations of the image processing pipeline. The system further includes memory to store the graph compiler and the executable code.
-