Searched refs:cx_pkt (Results 1 – 3 of 3) sorted by relevance
/external/libvpx/libvpx/examples/ |
D | vp9_spatial_svc_encoder.c | 703 const vpx_codec_cx_pkt_t *cx_pkt; in main() local 746 while ((cx_pkt = vpx_codec_get_cx_data(&codec, &iter)) != NULL) { in main() 747 switch (cx_pkt->kind) { in main() 749 if (cx_pkt->data.frame.sz > 0) { in main() 755 cx_pkt->data.frame.buf, in main() 756 cx_pkt->data.frame.sz, in main() 757 cx_pkt->data.frame.pts); in main() 762 parse_superframe_index(cx_pkt->data.frame.buf, in main() 763 cx_pkt->data.frame.sz, sizes, &count); in main() 771 cx_pkt->data.frame.buf, in main() [all …]
|
/external/libvpx/libvpx/vpx/src/ |
D | svc_encodeframe.c | 517 const vpx_codec_cx_pkt_t *cx_pkt; in vpx_svc_encode() local 532 while ((cx_pkt = vpx_codec_get_cx_data(codec_ctx, &iter))) { in vpx_svc_encode() 533 switch (cx_pkt->kind) { in vpx_svc_encode() 544 cx_pkt->data.layer_psnr[i].psnr[0], in vpx_svc_encode() 545 cx_pkt->data.layer_psnr[i].psnr[1], in vpx_svc_encode() 546 cx_pkt->data.layer_psnr[i].psnr[2], in vpx_svc_encode() 547 cx_pkt->data.layer_psnr[i].psnr[3]); in vpx_svc_encode() 552 cx_pkt->data.layer_psnr[i].sse[0], in vpx_svc_encode() 553 cx_pkt->data.layer_psnr[i].sse[1], in vpx_svc_encode() 554 cx_pkt->data.layer_psnr[i].sse[2], in vpx_svc_encode() [all …]
|
/external/libvpx/libvpx/test/ |
D | svc_test.cc | 94 const vpx_codec_cx_pkt_t *cx_pkt; in GetStatsData() local 96 while ((cx_pkt = vpx_codec_get_cx_data(&codec_, &iter)) != NULL) { in GetStatsData() 97 if (cx_pkt->kind == VPX_CODEC_STATS_PKT) { in GetStatsData() 98 EXPECT_GT(cx_pkt->data.twopass_stats.sz, 0U); in GetStatsData() 99 ASSERT_TRUE(cx_pkt->data.twopass_stats.buf != NULL); in GetStatsData() 100 stats_buf->append(static_cast<char*>(cx_pkt->data.twopass_stats.buf), in GetStatsData() 101 cx_pkt->data.twopass_stats.sz); in GetStatsData() 143 const vpx_codec_cx_pkt_t *cx_pkt; in StoreFrames() local 145 while ((cx_pkt = vpx_codec_get_cx_data(&codec_, &iter)) != NULL) { in StoreFrames() 146 if (cx_pkt->kind == VPX_CODEC_CX_FRAME_PKT) { in StoreFrames() [all …]
|