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.c207 size_t packet_sz = sizeof(FIRSTPASS_STATS); in validate_config() local
208 int n_packets = (int)(cfg->rc_twopass_stats_in.sz / packet_sz); in validate_config()
214 if (cfg->rc_twopass_stats_in.sz % packet_sz) in validate_config()
217 if (cfg->rc_twopass_stats_in.sz < 2 * packet_sz) in validate_config()
221 (n_packets - 1) * packet_sz); in validate_config()
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c273 const size_t packet_sz = sizeof(FIRSTPASS_STATS); in validate_config() local
274 const int n_packets = (int)(cfg->rc_twopass_stats_in.sz / packet_sz); in validate_config()
280 if (cfg->rc_twopass_stats_in.sz % packet_sz) in validate_config()
313 if (cfg->rc_twopass_stats_in.sz < 2 * packet_sz) in validate_config()
/external/libvpx/libvpx/vp8/encoder/
Donyx_if.c1949 size_t packet_sz = sizeof(FIRSTPASS_STATS); in vp8_create_compressor() local
1950 int packets = (int)(oxcf->two_pass_stats_in.sz / packet_sz); in vp8_create_compressor()
1955 (void *)((char *)cpi->twopass.stats_in + (packets - 1) * packet_sz); in vp8_create_compressor()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.c2181 const size_t packet_sz = sizeof(FIRSTPASS_STATS); in vp9_create_compressor() local
2182 const int packets = (int)(oxcf->two_pass_stats_in.sz / packet_sz); in vp9_create_compressor()
2200 lc->rc_twopass_stats_in.sz = packets_in_layer * packet_sz; in vp9_create_compressor()