• Home
  • Raw
  • Download

Lines Matching refs:video_enc

1694     AVCodecContext *video_enc;  in new_video_stream()  local
1699 video_enc = ost->enc_ctx; in new_video_stream()
1746 … if (frame_size && av_parse_video_size(&video_enc->width, &video_enc->height, frame_size) < 0) { in new_video_stream()
1751 video_enc->bits_per_raw_sample = frame_bits_per_raw_sample; in new_video_stream()
1758 … if (frame_pix_fmt && (video_enc->pix_fmt = av_get_pix_fmt(frame_pix_fmt)) == AV_PIX_FMT_NONE) { in new_video_stream()
1762 st->sample_aspect_ratio = video_enc->sample_aspect_ratio; in new_video_stream()
1765 video_enc->gop_size = 0; in new_video_stream()
1768 if (!(video_enc->intra_matrix = av_mallocz(sizeof(*video_enc->intra_matrix) * 64))) { in new_video_stream()
1772 parse_matrix_coeffs(video_enc->intra_matrix, intra_matrix); in new_video_stream()
1776 uint16_t *p = av_mallocz(sizeof(*video_enc->chroma_intra_matrix) * 64); in new_video_stream()
1781 video_enc->chroma_intra_matrix = p; in new_video_stream()
1786 if (!(video_enc->inter_matrix = av_mallocz(sizeof(*video_enc->inter_matrix) * 64))) { in new_video_stream()
1790 parse_matrix_coeffs(video_enc->inter_matrix, inter_matrix); in new_video_stream()
1801 video_enc->rc_override = in new_video_stream()
1802 av_realloc_array(video_enc->rc_override, in new_video_stream()
1804 if (!video_enc->rc_override) { in new_video_stream()
1808 video_enc->rc_override[i].start_frame = start; in new_video_stream()
1809 video_enc->rc_override[i].end_frame = end; in new_video_stream()
1811 video_enc->rc_override[i].qscale = q; in new_video_stream()
1812 video_enc->rc_override[i].quality_factor = 1.0; in new_video_stream()
1815 video_enc->rc_override[i].qscale = 0; in new_video_stream()
1816 video_enc->rc_override[i].quality_factor = -q/100.0; in new_video_stream()
1821 video_enc->rc_override_count = i; in new_video_stream()
1824 video_enc->flags|= AV_CODEC_FLAG_PSNR; in new_video_stream()
1830 video_enc->flags |= AV_CODEC_FLAG_PASS1; in new_video_stream()
1834 video_enc->flags |= AV_CODEC_FLAG_PASS2; in new_video_stream()
1855 if (video_enc->flags & AV_CODEC_FLAG_PASS2) { in new_video_stream()
1863 video_enc->stats_in = logbuffer; in new_video_stream()
1865 if (video_enc->flags & AV_CODEC_FLAG_PASS1) { in new_video_stream()