class H264POC

Defined at line 19 of file ../../src/media/third_party/chromium_media/media/video/h264_poc.h

Public Methods

void H264POC (const H264POC & )

Defined at line 23 of file ../../src/media/third_party/chromium_media/media/video/h264_poc.h

H264POC & operator= (const H264POC & )

Defined at line 24 of file ../../src/media/third_party/chromium_media/media/video/h264_poc.h

bool IsPendingMMCO5 ()

As specified, the POC of a frame with MMCO5 changes (to zero) after

decoding. We instead return 0 immediately, and flag that this has occurred

by returning true here until ComputePicOrderCnt() is called again.

Frames with MMCO5 do not reorder relative to frames earlier in decode

order, but may reorder relative to frames later in decode order (just like

IDRs).

Defined at line 39 of file ../../src/media/third_party/chromium_media/media/video/h264_poc.h

void H264POC ()

Defined at line 49 of file ../../src/media/third_party/chromium_media/media/video/h264_poc.cc

void ~H264POC ()

Defined at line 53 of file ../../src/media/third_party/chromium_media/media/video/h264_poc.cc

std::optional<int32_t> ComputePicOrderCnt (const H264SPS * sps, const H264SliceHeader & slice_hdr)

Returns the picture order count for a slice.

Defined at line 65 of file ../../src/media/third_party/chromium_media/media/video/h264_poc.cc

void Reset ()

Reset computation state. It's best (although not strictly required) to call

this after a seek.

Defined at line 55 of file ../../src/media/third_party/chromium_media/media/video/h264_poc.cc