History

avcodec/vvc_ps: remove duplicated enum

James Almer committed 2 years ago

Commit eb4584f1 parent 763e31a1 file · +3 −9Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/vvc/vvc_ps.c+3−9
@@ -800,12 +800,6 @@ void ff_vvc_ps_uninit(VVCParamSets *ps) · 799 unmodified lines
800800 ff_refstruct_unref(&ps->pps_list[i]);
801801 }
802802
803−enum {
804− APS_ALF,
805− APS_LMCS,
806− APS_SCALING,
807−};
808−
809803 static void alf_coeff(int16_t *coeff,
810804 const uint8_t *abs, const uint8_t *sign, const int size)
811805 {
@@ -990,13 +984,13 @@ int ff_vvc_decode_aps(VVCParamSets *ps, const CodedBitstreamUnit *unit) · 178 unmodified lines
990984 return AVERROR_INVALIDDATA;
991985
992986 switch (aps->aps_params_type) {
993− case APS_ALF:
987+ case VVC_ASP_TYPE_ALF:
994988 ret = aps_decode_alf(&ps->alf_list[aps->aps_adaptation_parameter_set_id], aps);
995989 break;
996− case APS_LMCS:
990+ case VVC_ASP_TYPE_LMCS:
997991 ff_refstruct_replace(&ps->lmcs_list[aps->aps_adaptation_parameter_set_id], aps);
998992 break;
999− case APS_SCALING:
993+ case VVC_ASP_TYPE_SCALING:
1000994 ret = aps_decode_scaling(&ps->scaling_list[aps->aps_adaptation_parameter_set_id], aps);
1001995 break;
1002996 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t