Opened 8 years ago

Closed 7 years ago

#1245 closed defect (fixed)

HM-13.0+RExt-6.0 not allowing Main12 with an internalBitDepth==12

Reported by: bmandel Owned by:
Priority: minor Milestone:
Component: HM RExt Version:
Keywords: Cc: fbossen, ksuehring, davidf, karlsharman, jct-vc@…

Description

Receiving error:
Error: BitDepthConstraint must be 8 for MAIN profile and 10 for MAIN10 profile.

Please check in source/App/TAppEncoder/TAppEncCfg.cpp


if (m_bitDepthConstraint == 0)
{

if (m_profile == Profile::MAINREXT)
{

m_bitDepthConstraint = (m_chromaFormatIDC==CHROMA_400) ? m_internalBitDepth[CHANNEL_TYPE_LUMA] : std::max(m_internalBitDepth[CHANNEL_TYPE_LUMA], m_internalBitDepth[CHANNEL_TYPE_CHROMA]);

}
else
{

m_bitDepthConstraint = (m_profile == Profile::MAIN10?10:8);

}

}


Main12 should also be added to the strToProfile[] table in source/App/TAppEncoder/TAppEncCfg.cpp, like so:

strToProfile[] =
{

{"none", Profile::NONE },
{"main", Profile::MAIN },
{"main10", Profile::MAIN10 },

{"main12", Profile::MAIN12 },

{"main-still-picture", Profile::MAINSTILLPICTURE},
{"main-RExt", Profile::MAINREXT }

};

Change History (3)

comment:1 Changed 8 years ago by DefaultCC Plugin

  • Cc fbossen ksuehring davidf jct-vc@… added

comment:2 Changed 8 years ago by ksuehring

  • Cc karlsharman added
  • Component changed from HM to HM RExt
  • Milestone RExt D6 deleted
  • Version HM-13.0 deleted

comment:3 Changed 7 years ago by karlsharman

  • Resolution set to fixed
  • Status changed from new to closed

The command line mechanism has been updated in r3991 to allow main12 to be used as a profile string, or to allow selection of a valid RExt profile from the other supplied parameters.

Note: See TracTickets for help on using tickets.

This list contains all users that will be notified about changes made to this ticket.

These roles will be notified: Reporter, Owner, Subscriber, Participant

  • Bill Mandel(Reporter)
  • David Flynn(Subscriber)
  • Frank Bossen(Subscriber)
  • jct-vc@…(Subscriber)
  • Karl Sharman(Subscriber, Participant)
  • karl.sharman@…(Always)
  • Karsten Suehring(Subscriber, Participant, Always)