Creating a compute kernel using x265 encode

For the developers that use FFmpeg in their software.
Post Reply
Exastiken
Posts: 1
Joined: Mon Apr 02, 2018 10:29 pm

Creating a compute kernel using x265 encode

Post by Exastiken » Mon Apr 02, 2018 11:20 pm

Hi, I'm using FFmpeg to experiment with accelerating encoding using x265. Since FFMPEG statically links to external x265 and calls the encoding function from there, how can I create a kernel of the external encoding function?

Relevant functions:
FFmpeg/libavcodec/libx265.c
  • [li]libx265_encode_init (initializes the x265 API as a data structure)[/li]
    [li]x265_api_get (gets the API)[/li]
    [li]libx265_encode_frame (where the API function is called)[/li]
x265/source/encoder/encoder.cpp -
  • [li]encode (function to use as kernel)[/li]

    Thanks.

Post Reply