Home
last modified time | relevance | path

Searched refs:encoded_packet (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/av/media/codec2/components/vpx/
H A DC2SoftVpxEnc.cpp609 const vpx_codec_cx_pkt_t* encoded_packet; in process() local
610 while ((encoded_packet = vpx_codec_get_cx_data( in process()
612 if (encoded_packet->kind == VPX_CODEC_CX_FRAME_PKT) { in process()
615 c2_status_t err = pool->fetchLinearBlock(encoded_packet->data.frame.sz, usage, &block); in process()
628 memcpy(wView.data(), encoded_packet->data.frame.buf, encoded_packet->data.frame.sz); in process()
631 ALOGD("bytes generated %zu", encoded_packet->data.frame.sz); in process()
639 createLinearBuffer(block, 0, encoded_packet->data.frame.sz); in process()
640 if (encoded_packet->data.frame.flags & VPX_FRAME_IS_KEY) { in process()
646 work->worklets.front()->output.ordinal.timestamp = encoded_packet->data.frame.pts; in process()
/aosp12/frameworks/av/media/libstagefright/codecs/on2/enc/
H A DSoftVPXEncoder.cpp737 const vpx_codec_cx_pkt_t* encoded_packet; in onQueueFilled() local
739 while ((encoded_packet = vpx_codec_get_cx_data( in onQueueFilled()
741 if (encoded_packet->kind == VPX_CODEC_CX_FRAME_PKT) { in onQueueFilled()
742 outputBufferHeader->nTimeStamp = encoded_packet->data.frame.pts; in onQueueFilled()
744 if (encoded_packet->data.frame.flags & VPX_FRAME_IS_KEY) in onQueueFilled()
747 outputBufferHeader->nFilledLen = encoded_packet->data.frame.sz; in onQueueFilled()
754 encoded_packet->data.frame.buf, in onQueueFilled()
755 encoded_packet->data.frame.sz); in onQueueFilled()