The invention discloses an instruction compiling method of a graphics processor, electronic equipment and a storage medium, and the method comprises the steps: receiving a kernel function registered by an application program and a submitted instruction code file when the application program initializes an interface under a programmingmodel architecture for the first time; generating a first function handle in real time, and sending the first function handle to the application program to complete initialization of an interface under the programmingmodel architecture; compiling the instruction code file into an instruction code set offline; storing the instruction code set and compiling information generated during offline compiling of the instruction code file in a preset cache library; uploading the instruction code set to a graphics processor under a non-programmingmodel architecture to obtain a second function handle; and recording a mapping relationship between the first function handle and the second function handle in a preset interface management module. According to the method, the interface is quickly initialized, and the compiling instruction code file is fully compiled in an offline state to obtain better compiling information, so that the compiling efficiency and quality are improved.
The invention relates to a vehicle-mounted application compiling method and device, computer equipment and a computer readable storage medium. The method comprises the steps of obtaining vehicle type information of a vehicle used for carrying a target vehicle-mounted application, and obtaining special development information, corresponding to the vehicle type information, of the target vehicle-mounted application from a preset special development file directory associated with the vehicle type information according to the vehicle type information; acquiring public development information corresponding to the target vehicle-mounted application from a preset public development file directory; and compiling and packaging the special development information and the public development information to generate a compiling file, corresponding to the vehicle type information, of the target vehicle-mounted application. By adopting the method, the compiling efficiency of the vehicle-mounted application can be improved.
The application discloses a software development package compiling method and device, and relates to the technical field of computers. A specific implementation of the method comprises the following steps: performing encapsulation based on a second programming language on a first type of module of any core component in a software development package, extracting a header file of the first type of module and a header file of a second type of module after the encapsulation to generate a common umbrella header file of the core component; and after compiling core componentsource code and upper layer component source code in the software development package into an executable file, processing the common umbrella header file of any core component in the software development package, so that the common umbrella header file only contains declaration content configured in advance for the core component. The implementation can effectively reduce the risk of core code leakage.
The invention provides a code compiling method and device, equipment, a storage medium and a program product. The method comprises the following steps: in response to a compiling instruction for a source code file of a page of an application program component, analyzing the source code file to obtain a content file, a script file and a style file of the page; in the style file, determining a grammar sugar of an element variable of a page element in the script file, and linking the style file to the element variable of the script file through the grammar sugar; generating a style variable of the element variable, and replacing the syntaxsugar with the style variable to obtain a new style file; a definition object of the element variable is obtained, the definition object is inserted into the content file to obtain a new content file, and the definition object instructs to control the style variable based on the element variable; compiling to obtain an executable file based on the new content file, the script file and the new style file; by means of the method and device, the code development and maintenance efficiency can be improved while the dynamic style effect is achieved.
The invention relates to an image decoding method for residual data coding in an image coding system and an apparatus therefor. An image decoding method performed by a decoding device according to the present document comprises the steps of: acquiring a syntax element for first to nth transform coefficients of a current block, wherein the syntax element is a syntax element of a first residual data coding structure according to TSRC; and acquiring a syntax element for the (n + 1) th transform coefficient to the last transform coefficient of the current block, the syntax element being a syntax element of a second residual data compilation structure according to the TSRC, wherein the number of syntax elements for context coding of the first to n-th transform coefficients is equal to the maximum number of bins for context coding of the current block, and the syntax elements according to the second residual data coding structure include coefficient level information and symbol flags for the transform coefficients.
The present disclosure provides a compiling method and device, first, obtaining a to-be-compiled code, and generating a plurality of compiling tasks corresponding to the to-be-compiled code; then, for any compiling task, determining a target code segment corresponding to the compiling task before starting to execute the compiling task; then, searching for a cached compressed compiling product corresponding to the target code segment, if the compressed compiling product is successfully found, determining a target decompression algorithm matching the compressed compiling product from a plurality of to-be-selected decompression algorithms; secondly, decompressing the compressed compiling product by using the target decompression algorithm to obtain a decompressed compiling product corresponding to the compiling task; finally, generating an executable file corresponding to the to-be-compiled code based on the obtained decompressed compiling product. The present disclosure embodiment realizes diversified selection of compression algorithms, improves the flexibility of the selection of compression algorithms during compiling, and improves the compiling efficiency.
Disclosed are a method and an apparatus for processing a video signal based on intra prediction. The video signalprocessing method may comprise the steps of: deriving a chroma intra prediction mode applied to a current chroma block based on a luma intra prediction mode of a luma block corresponding to the current chroma block; generating a chroma prediction sample of the current chroma block based on the chroma intra prediction mode; and recovering the current chroma block based on the chroma prediction sample.
Disclosed are a method and an apparatus for processing a video signal based on intra prediction. The video signalprocessing method may comprise the steps of: deriving a chroma intra prediction mode applied to a current chroma block based on a luma intra prediction mode of a luma block corresponding to the current chroma block; generating a chroma prediction sample of the current chroma block based on the chroma intra prediction mode; and recovering the current chroma block based on the chroma prediction sample.
A video signalprocessing method and apparatus for encoding or decoding a video signal are disclosed. More specifically, the present invention provides a video signalprocessing method and a video signal processing apparatus using the same, the method comprising: receiving intra-frame prediction mode information for a current block, the intra-frame prediction mode information indicating one of a plurality of intra-frame prediction modes constituting an intra-frame prediction mode set; and decoding the current block based on the received intra-frame prediction mode information, wherein: the intra-frame prediction mode set includes a plurality of angle modes; the plurality of angle modes include a basic angle mode and an extended angle mode; and the extended angle mode is sent with a signal based on the basic angle mode.
The invention provides a compiling method and device of a compiler and related equipment, and relates to the technical field of communication algorithms, the method comprises the steps that a data directed acyclic graph of a to-be-compiled program is acquired, and the data directed acyclic graph comprises a plurality of source nodes of the to-be-compiled program and execution relation nodes among the source nodes; the execution relation nodes between the source nodes are expanded into instruction nodes, and an instruction directed acyclic graph corresponding to the data directed acyclic graph is generated; based on an instruction directed acyclic graph corresponding to the data directed acyclic graph, a target domain language instruction of the to-be-compiled program is generated through the scheduling operation, and the target domain language instruction comprises an execution mode of the to-be-compiled program; and executing the target domain language instruction in the running environment of the target domain language. The target domain language instruction of the to-be-compiled program is generated through the scheduling operation, the execution mode of the to-be-compiled program is optimized, and the compiling efficiency is improved.
The invention relates to a reconfigurable processor compiling method based on fusion register allocation and a DFG mapping technology. The method comprises the steps of generating an initial data flow diagram according to a to-be-compiled task, and determining a scheduling period corresponding to each subtask node according to each execution sequence, namely inserting routing nodes among the subtask nodes in the initial data flow diagram by utilizing each scheduling period to obtain a target data flow diagram, the initial data flow diagram comprises a plurality of sub-task nodes and an execution sequence corresponding to each sub-task node, each sub-task node corresponds to each sub-task split from the to-be-compiled task, the target data flow diagram is used for performing task compiling, and the routing node is used for mapping to the register node and / or the computing node in the task compiling process. By adopting the method, the compiling efficiency can be improved.
The present invention relates to a video signalprocessing method and apparatus. More particularly, a video signalprocessing method and a video signalprocessing apparatus for performing the same are disclosed, the method including obtaining reference line information indicating a reference line for intra prediction of a current block among a plurality of reference lines including neighboring samples of the current block, determining an intra prediction mode for the current block among a plurality of intra prediction modes constituting an intra prediction mode set based on the reference line information, and decoding the current block based on a plurality of reference samples on a reference line according to the reference line information and the determined intra prediction mode, wherein the plurality of reference lines include a first reference line including the neighboring samples on a line adjacent to a boundary of the current block and a second reference line including the neighboring samples on a line spaced apart from the boundary of the current block by a distance corresponding to a predetermined number of samples.
The embodiment of the present application provides a project dependency compilation method, system and medium, the method comprising: responding to a compilation request, obtaining development files of each module in a target project, and analyzing dependent modules corresponding to each module based on the development files; establishing a compilation set based on the dependency relationship between the dependent modules and the target project, the compilation set including a plurality of dependent projects; obtaining dependent projects in the compilation set based on the dependency relationship, and analyzing the correlation between the dependent projects and the target project; adding and compiling all dependent projects in order of correlation to obtain a compilation result; prompting and warning the compilation status of the target project based on the compilation result, obtaining prompt information, and transmitting the prompt information to a terminal in real time; by analyzing the dependency relationship of the target project, first compiling the dependent projects and then compiling the target project, thereby improving compilation efficiency and reducing error rate, and dynamically warning the compilation status and quickly querying the error location.
The present invention relates to an image decoding method using residual information in an image encoding system and an apparatus thereof. According to the present document, an image decoding method performed by a decoding apparatus includes the steps of receiving a bitstream including residual information of a current block; deriving a particular number of context-coded bins for a context syntax element of a current sub-block of the current block; decoding the context syntax element of the current sub-block included in the residual information based on the particular number; deriving transform coefficients of the current sub-block based on the decoded context syntax element; deriving residual samples of the current block based on the transform coefficients; and generating a reconstructed picture based on the residual samples.
The present invention relates to a method and device for performing image decoding based on intra-frame prediction in an image coding system. The method for performing image decoding by a decoding device according to the present invention comprises the following steps: deriving an intra-frame prediction mode of a current block; deriving neighboring samples including left neighboring samples and upper neighboring samples of the current block; deriving a reference sample for predicting a target sample among neighboring samples based on the position of a target sample of the current block and a prediction angle of an intra-frame prediction mode; determining an interpolation filter of the target sample; and deriving a prediction sample of the target sample based on the interpolation filter and the reference sample.
The invention discloses a component dependency injection method and device, a storage medium and electronic equipment, and relates to the technical field of component dependency injection.The method comprises the steps that when a service demand is received, service abstraction is conducted on components of software according to the service demand, and public components are obtained, the common component is composed of a business component for ensuring basic functions of software and a component for providing common service during software operation, calling the general interface through the common component to obtain each piece of dependency information required by dependency injection, performing component dependency item analysis on each piece of dependency information until a dependency item corresponding to each piece of dependency information is obtained, and performing component dependency item analysis on each piece of dependency information; and when monitoring that the system component calls the interface of the service component, injecting a dependency item corresponding to the dependency information into an instance of the service component through a dependency injection mechanism to complete a dependency injection process of the component.
The present disclosure provides an impeller machinery design software architecture and an impeller machinery design method, which relate to the field of computer-aided engineering. The architecture includes: an application layer for displaying the interactive interface of the impeller machinery design software and the design view generated in the impeller machinery design process; a business logic layer for realizing multiple functional modules of the impeller machinery design; a data layer for providing the impeller machinery design data for the application layer display; an algorithm layer for providing the impeller machinery design algorithm corresponding to each functional module; an interface layer for providing a corresponding interface for each functional module, so that the function dependency layer related to each functional module obtains the corresponding impeller machinery design data from the function implementation layer through the interface and / or executes the corresponding impeller machinery design algorithm in the function implementation layer. The present disclosure can reduce the coupling degree between the functional modules of the software and improve the efficiency of software development.