Coverage Report

Created: 2026-06-15 06:25

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/work/svt-av1/Source/Lib/Codec/rc_tasks.c
Line
Count
Source
1
/*
2
* Copyright(c) 2019 Intel Corporation
3
*
4
* This source code is subject to the terms of the BSD 2 Clause License and
5
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6
* was not distributed with this source code in the LICENSE file, you can
7
* obtain it at https://www.aomedia.org/license/software-license. If the Alliance for Open
8
* Media Patent License 1.0 was not distributed with this source code in the
9
* PATENTS file, you can obtain it at https://www.aomedia.org/license/patent-license.
10
*/
11
12
#include <stdlib.h>
13
14
#include "rc_tasks.h"
15
16
862
static EbErrorType rate_control_tasks_ctor(RateControlTasks* context_ptr, EbPtr object_init_data_ptr) {
17
862
    (void)context_ptr;
18
862
    (void)object_init_data_ptr;
19
20
862
    return EB_ErrorNone;
21
862
}
22
23
862
EbErrorType svt_aom_rate_control_tasks_creator(EbPtr* object_dbl_ptr, EbPtr object_init_data_ptr) {
24
862
    RateControlTasks* obj;
25
26
862
    *object_dbl_ptr = NULL;
27
862
    EB_NEW(obj, rate_control_tasks_ctor, object_init_data_ptr);
28
862
    *object_dbl_ptr = obj;
29
30
862
    return EB_ErrorNone;
31
862
}