Coverage Report

Created: 2026-05-16 06:41

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
948
static EbErrorType rate_control_tasks_ctor(RateControlTasks* context_ptr, EbPtr object_init_data_ptr) {
17
948
    (void)context_ptr;
18
948
    (void)object_init_data_ptr;
19
20
948
    return EB_ErrorNone;
21
948
}
22
23
948
EbErrorType svt_aom_rate_control_tasks_creator(EbPtr* object_dbl_ptr, EbPtr object_init_data_ptr) {
24
948
    RateControlTasks* obj;
25
26
948
    *object_dbl_ptr = NULL;
27
948
    EB_NEW(obj, rate_control_tasks_ctor, object_init_data_ptr);
28
948
    *object_dbl_ptr = obj;
29
30
948
    return EB_ErrorNone;
31
948
}