Home
last modified time | relevance | path

Searched refs:packet_sz (Results 1 – 4 of 4) sorted by relevance

/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c211 size_t packet_sz = sizeof(FIRSTPASS_STATS); in validate_config() local
213 packet_sz); in validate_config()
219 if (cfg->rc_twopass_stats_in.sz % packet_sz) in validate_config()
222 if (cfg->rc_twopass_stats_in.sz < 2 * packet_sz) in validate_config()
226 + (n_packets - 1) * packet_sz); in validate_config()
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c262 const size_t packet_sz = sizeof(FIRSTPASS_STATS); in validate_config() local
263 const int n_packets = (int)(cfg->rc_twopass_stats_in.sz / packet_sz); in validate_config()
269 if (cfg->rc_twopass_stats_in.sz % packet_sz) in validate_config()
301 if (cfg->rc_twopass_stats_in.sz < 2 * packet_sz) in validate_config()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.c1774 const size_t packet_sz = sizeof(FIRSTPASS_STATS); in vp9_create_compressor() local
1775 const int packets = (int)(oxcf->two_pass_stats_in.sz / packet_sz); in vp9_create_compressor()
1793 lc->rc_twopass_stats_in.sz = packets_in_layer * packet_sz; in vp9_create_compressor()
/external/libvpx/libvpx/vp8/encoder/
Donyx_if.c2052 size_t packet_sz = sizeof(FIRSTPASS_STATS); in vp8_create_compressor() local
2053 int packets = (int)(oxcf->two_pass_stats_in.sz / packet_sz); in vp8_create_compressor()
2058 + (packets - 1) * packet_sz); in vp8_create_compressor()