Lines Matching defs:t_state
47 th_enc_ctx *t_state;
97 bytes = th_encode_ctl(h->t_state, TH_ENCCTL_2PASS_OUT, &buf, sizeof(buf));
147 bytes = th_encode_ctl(h->t_state, TH_ENCCTL_2PASS_IN,
230 h->t_state = th_encode_alloc(&t_info);
231 if (!h->t_state) {
240 if (th_encode_ctl(h->t_state, TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE,
267 while (th_encode_flushheader(h->t_state, &t_comment, &o_packet))
286 th_encode_packetout(h->t_state, 1, &o_packet);
306 result = th_encode_ycbcr_in(h->t_state, t_yuv_buffer);
329 result = th_encode_packetout(h->t_state, 0, &o_packet);
361 th_encode_free(h->t_state);