Skip to content

Commit 1b6874a

Browse files
authored
fixed family name type (444-HQ to 444-UQ) (#139)
Signed-off-by: kp5.choi@samsung.com <kp5.choi@samsung.com>
1 parent 0fae27b commit 1b6874a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

app/oapv_app_enc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ static const args_opt_t enc_args_opts[] = {
117117
" - 422-LQ: YCbCr422 low quality\n"
118118
" - 422-SQ: YCbCr422 standard quality\n"
119119
" - 422-HQ: YCbCr422 high quality\n"
120-
" - 444-HQ: YCbCr444 high quality\n"
120+
" - 444-UQ: YCbCr444 ultra quality\n"
121121
" Note: 'family' and 'bitrate' value cannot be set together.\n"
122122
" The family and profile arguments should be set with the same\n"
123123
" color space, if they coexists."
@@ -360,7 +360,7 @@ static const oapv_dict_str_int_t opts_family[] = {
360360
{"422-LQ", OAPV_FAMILY_422_LQ},
361361
{"422-SQ", OAPV_FAMILY_422_SQ},
362362
{"422-HQ", OAPV_FAMILY_422_HQ},
363-
{"444-HQ", OAPV_FAMILY_444_HQ},
363+
{"444-UQ", OAPV_FAMILY_444_UQ},
364364
{"", 0} // termination
365365
};
366366

@@ -399,7 +399,7 @@ static int check_conf(oapve_cdesc_t *cdesc, args_var_t *vars)
399399
return -1;
400400
}
401401
break;
402-
case OAPV_FAMILY_444_HQ:
402+
case OAPV_FAMILY_444_UQ:
403403
if(p != OAPV_PROFILE_444_10) {
404404
logerr("ERR: 'family(%s)' and 'profile(%s)' value are unmatched.\n", vars->family, vars->profile);
405405
return -1;

inc/oapv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ extern "C" {
247247
#define OAPV_FAMILY_422_LQ (1)
248248
#define OAPV_FAMILY_422_SQ (2)
249249
#define OAPV_FAMILY_422_HQ (3)
250-
#define OAPV_FAMILY_444_HQ (4)
250+
#define OAPV_FAMILY_444_UQ (4)
251251

252252
/*****************************************************************************
253253
* optimization level control

src/oapv_param.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ int oapve_family_bitrate(int family, int w, int h, int fps_num, int fps_den, int
551551
case OAPV_FAMILY_422_HQ:
552552
ratio = 1.f;
553553
break;
554-
case OAPV_FAMILY_444_HQ:
554+
case OAPV_FAMILY_444_UQ:
555555
ratio = 1.5f;
556556
break;
557557
default: // invalid family

0 commit comments

Comments
 (0)