LCOV - code coverage report
Current view: top level - Codec - EbRateControlTasks.c (source / functions) Hit Total Coverage
Test: coverage.info Lines: 7 7 100.0 %
Date: 2019-11-25 17:38:06 Functions: 2 2 100.0 %

          Line data    Source code
       1             : /*
       2             : * Copyright(c) 2019 Intel Corporation
       3             : * SPDX - License - Identifier: BSD - 2 - Clause - Patent
       4             : */
       5             : 
       6             : #include <stdlib.h>
       7             : 
       8             : #include "EbDefinitions.h"
       9             : #include "EbRateControlTasks.h"
      10             : 
      11         600 : EbErrorType rate_control_tasks_ctor(
      12             :     RateControlTasks *context_ptr,
      13             :     EbPtr object_init_data_ptr)
      14             : {
      15             :     (void)context_ptr;
      16             :     (void)object_init_data_ptr;
      17             : 
      18         600 :     return EB_ErrorNone;
      19             : }
      20             : 
      21         600 : EbErrorType rate_control_tasks_creator(
      22             :     EbPtr *object_dbl_ptr,
      23             :     EbPtr object_init_data_ptr)
      24             : {
      25             :     RateControlTasks* obj;
      26             : 
      27         600 :     *object_dbl_ptr = NULL;
      28         600 :     EB_NEW(obj, rate_control_tasks_ctor, object_init_data_ptr);
      29         600 :     *object_dbl_ptr = obj;
      30             : 
      31         600 :     return EB_ErrorNone;
      32             : }

Generated by: LCOV version 1.14