/dports/audio/baresip/baresip-0.5.8/modules/h265/ |
H A D | encode.c | 193 x265_picture *pic_in = NULL, pic_out; in h265_encode() local 238 pic_in = x265_picture_alloc(); in h265_encode() 239 if (!pic_in) { in h265_encode() 244 x265_picture_init(st->param, pic_in); in h265_encode() 246 pic_in->sliceType = update ? X265_TYPE_IDR : X265_TYPE_AUTO; in h265_encode() 247 pic_in->pts = ++st->pts; /* XXX: add PTS to API */ in h265_encode() 248 pic_in->colorSpace = colorspace; in h265_encode() 251 pic_in->planes[i] = frame->data[i]; in h265_encode() 252 pic_in->stride[i] = frame->linesize[i]; in h265_encode() 288 if (pic_in) in h265_encode() [all …]
|
/dports/multimedia/kvazaar/kvazaar-2.1.0/src/ |
H A D | kvazaar.c | 245 kvz_picture *pic_in, in kvazaar_encode() argument 263 if (pic_in != NULL) { in kvazaar_encode() 269 &enc->input_buffer, state, pic_in, in kvazaar_encode() 338 if (pic_in != NULL) { in kvazaar_field_encoding_adapter() 348 yuv_io_extract_field(pic_in, pic_in->interlacing, 0, first_field); in kvazaar_field_encoding_adapter() 349 yuv_io_extract_field(pic_in, pic_in->interlacing, 1, second_field); in kvazaar_field_encoding_adapter() 351 first_field->pts = pic_in->pts; in kvazaar_field_encoding_adapter() 352 first_field->dts = pic_in->dts; in kvazaar_field_encoding_adapter() 353 first_field->interlacing = pic_in->interlacing; in kvazaar_field_encoding_adapter() 356 second_field->pts = pic_in->pts; in kvazaar_field_encoding_adapter() [all …]
|
/dports/multimedia/handbrake/x265_3.5/source/ |
H A D | abrEncApp.cpp | 533 x265_picture *pic_in = &pic_orig; in threadMain() local 577 if (pic_in->rpu.payload) in threadMain() 591 while (pic_in && !b_ctrl_c) in threadMain() 606 pic_in = NULL; in threadMain() 607 else if (readPicture(pic_in)) in threadMain() 610 pic_in = NULL; in threadMain() 612 if (pic_in) in threadMain() 620 pic_in->pts = pic_in->poc; in threadMain() 669 if (pic_in->framesize) in threadMain() 674 char* srcP2 = (char*)pic_in->planes[i] + pic_in->stride[i]; in threadMain() [all …]
|
/dports/multimedia/x265/source/ |
H A D | abrEncApp.cpp | 531 x265_picture *pic_in = &pic_orig; in threadMain() local 575 if (pic_in->rpu.payload) in threadMain() 589 while (pic_in && !b_ctrl_c) in threadMain() 604 pic_in = NULL; in threadMain() 605 else if (readPicture(pic_in)) in threadMain() 608 pic_in = NULL; in threadMain() 610 if (pic_in) in threadMain() 618 pic_in->pts = pic_in->poc; in threadMain() 667 if (pic_in->framesize) in threadMain() 672 char* srcP2 = (char*)pic_in->planes[i] + pic_in->stride[i]; in threadMain() [all …]
|
/dports/multimedia/handbrake/HandBrake-1.4.2/libhb/ |
H A D | encx265.c | 586 x265_picture pic_in, pic_out; in x265_encode() local 592 pic_in.stride[0] = in->plane[0].stride; in x265_encode() 593 pic_in.stride[1] = in->plane[1].stride; in x265_encode() 595 pic_in.planes[0] = in->plane[0].data; in x265_encode() 596 pic_in.planes[1] = in->plane[1].data; in x265_encode() 597 pic_in.planes[2] = in->plane[2].data; in x265_encode() 598 pic_in.poc = pv->frames_in++; in x265_encode() 599 pic_in.pts = in->s.start; in x265_encode() 600 pic_in.bitDepth = pv->bit_depth; in x265_encode() 611 pic_in.sliceType = X265_TYPE_IDR; in x265_encode() [all …]
|
H A D | encx264.c | 35 x264_picture_t pic_in; member 574 pv->api->picture_init( &pv->pic_in ); in encx264Init() 576 pv->pic_in.img.i_csp = X264_CSP_I420; in encx264Init() 579 pv->pic_in.img.i_csp |= X264_CSP_HIGH_DEPTH; in encx264Init() 581 pv->pic_in.img.i_plane = 3; in encx264Init() 774 pv->pic_in.img.plane[0] = in->plane[0].data; in x264_encode() 775 pv->pic_in.img.plane[1] = in->plane[1].data; in x264_encode() 776 pv->pic_in.img.plane[2] = in->plane[2].data; in x264_encode() 786 pv->pic_in.i_type = X264_TYPE_IDR; in x264_encode() 791 pv->pic_in.i_type = X264_TYPE_AUTO; in x264_encode() [all …]
|
/dports/multimedia/gstreamer1-plugins-ugly/gst-plugins-ugly-1.16.2/ext/x264/ |
H A D | gstx264enc.c | 2383 pic_in->extra_sei.num_payloads += 1; in gst_x264_enc_add_cc() 2385 if (!pic_in->extra_sei.payloads) in gst_x264_enc_add_cc() 2388 pic_in->extra_sei.payloads = in gst_x264_enc_add_cc() 2431 x264_picture_t pic_in; in gst_x264_enc_handle_frame() local 2443 memset (&pic_in, 0, sizeof (pic_in)); in gst_x264_enc_handle_frame() 2450 pic_in.img.i_plane = nplanes; in gst_x264_enc_handle_frame() 2456 pic_in.i_type = X264_TYPE_AUTO; in gst_x264_enc_handle_frame() 2457 pic_in.i_pts = frame->pts; in gst_x264_enc_handle_frame() 2527 if (pic_in && input_frame) { in gst_x264_enc_encode_frame() 2533 pic_in->i_type = X264_TYPE_IDR; in gst_x264_enc_encode_frame() [all …]
|
/dports/multimedia/gstreamer1-plugins-dvdread/gst-plugins-ugly-1.16.2/ext/x264/ |
H A D | gstx264enc.c | 2383 pic_in->extra_sei.num_payloads += 1; in gst_x264_enc_add_cc() 2385 if (!pic_in->extra_sei.payloads) in gst_x264_enc_add_cc() 2388 pic_in->extra_sei.payloads = in gst_x264_enc_add_cc() 2431 x264_picture_t pic_in; in gst_x264_enc_handle_frame() local 2443 memset (&pic_in, 0, sizeof (pic_in)); in gst_x264_enc_handle_frame() 2450 pic_in.img.i_plane = nplanes; in gst_x264_enc_handle_frame() 2456 pic_in.i_type = X264_TYPE_AUTO; in gst_x264_enc_handle_frame() 2457 pic_in.i_pts = frame->pts; in gst_x264_enc_handle_frame() 2527 if (pic_in && input_frame) { in gst_x264_enc_encode_frame() 2533 pic_in->i_type = X264_TYPE_IDR; in gst_x264_enc_encode_frame() [all …]
|
/dports/multimedia/gstreamer1-plugins-mpeg2dec/gst-plugins-ugly-1.16.2/ext/x264/ |
H A D | gstx264enc.c | 2383 pic_in->extra_sei.num_payloads += 1; in gst_x264_enc_add_cc() 2385 if (!pic_in->extra_sei.payloads) in gst_x264_enc_add_cc() 2388 pic_in->extra_sei.payloads = in gst_x264_enc_add_cc() 2431 x264_picture_t pic_in; in gst_x264_enc_handle_frame() local 2443 memset (&pic_in, 0, sizeof (pic_in)); in gst_x264_enc_handle_frame() 2450 pic_in.img.i_plane = nplanes; in gst_x264_enc_handle_frame() 2456 pic_in.i_type = X264_TYPE_AUTO; in gst_x264_enc_handle_frame() 2457 pic_in.i_pts = frame->pts; in gst_x264_enc_handle_frame() 2527 if (pic_in && input_frame) { in gst_x264_enc_encode_frame() 2533 pic_in->i_type = X264_TYPE_IDR; in gst_x264_enc_encode_frame() [all …]
|
/dports/audio/gstreamer1-plugins-sidplay/gst-plugins-ugly-1.16.2/ext/x264/ |
H A D | gstx264enc.c | 2383 pic_in->extra_sei.num_payloads += 1; in gst_x264_enc_add_cc() 2385 if (!pic_in->extra_sei.payloads) in gst_x264_enc_add_cc() 2388 pic_in->extra_sei.payloads = in gst_x264_enc_add_cc() 2431 x264_picture_t pic_in; in gst_x264_enc_handle_frame() local 2443 memset (&pic_in, 0, sizeof (pic_in)); in gst_x264_enc_handle_frame() 2450 pic_in.img.i_plane = nplanes; in gst_x264_enc_handle_frame() 2456 pic_in.i_type = X264_TYPE_AUTO; in gst_x264_enc_handle_frame() 2457 pic_in.i_pts = frame->pts; in gst_x264_enc_handle_frame() 2527 if (pic_in && input_frame) { in gst_x264_enc_encode_frame() 2533 pic_in->i_type = X264_TYPE_IDR; in gst_x264_enc_encode_frame() [all …]
|
/dports/audio/gstreamer1-plugins-amrwbdec/gst-plugins-ugly-1.16.2/ext/x264/ |
H A D | gstx264enc.c | 2383 pic_in->extra_sei.num_payloads += 1; in gst_x264_enc_add_cc() 2385 if (!pic_in->extra_sei.payloads) in gst_x264_enc_add_cc() 2388 pic_in->extra_sei.payloads = in gst_x264_enc_add_cc() 2431 x264_picture_t pic_in; in gst_x264_enc_handle_frame() local 2443 memset (&pic_in, 0, sizeof (pic_in)); in gst_x264_enc_handle_frame() 2450 pic_in.img.i_plane = nplanes; in gst_x264_enc_handle_frame() 2456 pic_in.i_type = X264_TYPE_AUTO; in gst_x264_enc_handle_frame() 2457 pic_in.i_pts = frame->pts; in gst_x264_enc_handle_frame() 2527 if (pic_in && input_frame) { in gst_x264_enc_encode_frame() 2533 pic_in->i_type = X264_TYPE_IDR; in gst_x264_enc_encode_frame() [all …]
|
/dports/audio/gstreamer1-plugins-a52dec/gst-plugins-ugly-1.16.2/ext/x264/ |
H A D | gstx264enc.c | 2383 pic_in->extra_sei.num_payloads += 1; in gst_x264_enc_add_cc() 2385 if (!pic_in->extra_sei.payloads) in gst_x264_enc_add_cc() 2388 pic_in->extra_sei.payloads = in gst_x264_enc_add_cc() 2431 x264_picture_t pic_in; in gst_x264_enc_handle_frame() local 2443 memset (&pic_in, 0, sizeof (pic_in)); in gst_x264_enc_handle_frame() 2450 pic_in.img.i_plane = nplanes; in gst_x264_enc_handle_frame() 2456 pic_in.i_type = X264_TYPE_AUTO; in gst_x264_enc_handle_frame() 2457 pic_in.i_pts = frame->pts; in gst_x264_enc_handle_frame() 2527 if (pic_in && input_frame) { in gst_x264_enc_encode_frame() 2533 pic_in->i_type = X264_TYPE_IDR; in gst_x264_enc_encode_frame() [all …]
|
/dports/audio/gstreamer1-plugins-amrnb/gst-plugins-ugly-1.16.2/ext/x264/ |
H A D | gstx264enc.c | 2383 pic_in->extra_sei.num_payloads += 1; in gst_x264_enc_add_cc() 2385 if (!pic_in->extra_sei.payloads) in gst_x264_enc_add_cc() 2388 pic_in->extra_sei.payloads = in gst_x264_enc_add_cc() 2431 x264_picture_t pic_in; in gst_x264_enc_handle_frame() local 2443 memset (&pic_in, 0, sizeof (pic_in)); in gst_x264_enc_handle_frame() 2450 pic_in.img.i_plane = nplanes; in gst_x264_enc_handle_frame() 2456 pic_in.i_type = X264_TYPE_AUTO; in gst_x264_enc_handle_frame() 2457 pic_in.i_pts = frame->pts; in gst_x264_enc_handle_frame() 2527 if (pic_in && input_frame) { in gst_x264_enc_encode_frame() 2533 pic_in->i_type = X264_TYPE_IDR; in gst_x264_enc_encode_frame() [all …]
|
/dports/sysutils/gstreamer1-plugins-cdio/gst-plugins-ugly-1.16.2/ext/x264/ |
H A D | gstx264enc.c | 2383 pic_in->extra_sei.num_payloads += 1; in gst_x264_enc_add_cc() 2385 if (!pic_in->extra_sei.payloads) in gst_x264_enc_add_cc() 2388 pic_in->extra_sei.payloads = in gst_x264_enc_add_cc() 2431 x264_picture_t pic_in; in gst_x264_enc_handle_frame() local 2443 memset (&pic_in, 0, sizeof (pic_in)); in gst_x264_enc_handle_frame() 2450 pic_in.img.i_plane = nplanes; in gst_x264_enc_handle_frame() 2456 pic_in.i_type = X264_TYPE_AUTO; in gst_x264_enc_handle_frame() 2457 pic_in.i_pts = frame->pts; in gst_x264_enc_handle_frame() 2527 if (pic_in && input_frame) { in gst_x264_enc_encode_frame() 2533 pic_in->i_type = X264_TYPE_IDR; in gst_x264_enc_encode_frame() [all …]
|
/dports/multimedia/gstreamer1-plugins-x264/gst-plugins-ugly-1.16.2/ext/x264/ |
H A D | gstx264enc.c | 2383 pic_in->extra_sei.num_payloads += 1; in gst_x264_enc_add_cc() 2385 if (!pic_in->extra_sei.payloads) in gst_x264_enc_add_cc() 2388 pic_in->extra_sei.payloads = in gst_x264_enc_add_cc() 2431 x264_picture_t pic_in; in gst_x264_enc_handle_frame() local 2443 memset (&pic_in, 0, sizeof (pic_in)); in gst_x264_enc_handle_frame() 2450 pic_in.img.i_plane = nplanes; in gst_x264_enc_handle_frame() 2456 pic_in.i_type = X264_TYPE_AUTO; in gst_x264_enc_handle_frame() 2457 pic_in.i_pts = frame->pts; in gst_x264_enc_handle_frame() 2527 if (pic_in && input_frame) { in gst_x264_enc_encode_frame() 2533 pic_in->i_type = X264_TYPE_IDR; in gst_x264_enc_encode_frame() [all …]
|
/dports/graphics/libbpg/libbpg-0.9.8/x265/source/ |
H A D | x265.cpp | 575 x265_picture *pic_in = &pic_orig; in main() local 599 api->picture_init(param, pic_in); in main() 611 while (pic_in && !b_ctrl_c) in main() 618 x265_log(NULL, X265_LOG_ERROR, "can't parse qpfile for frame %d\n", pic_in->poc); in main() 625 pic_in = NULL; in main() 629 pic_in = NULL; in main() 631 if (pic_in) in main() 633 if (pic_in->bitDepth > param->internalBitDepth && cliopt.bDither) in main() 636 pic_in->bitDepth = param->internalBitDepth; in main() 639 pic_in->pts = pic_in->poc; in main() [all …]
|
/dports/multimedia/libquicktime/libquicktime-1.2.4/plugins/x264/ |
H A D | x264.c | 426 x264_picture_t * pic_in) in flush_frame() argument 584 x264_picture_t pic_in; in encode() local 723 memset(&pic_in, 0, sizeof(pic_in)); in encode() 725 pic_in.img.i_csp = X264_CSP_I420; in encode() 726 pic_in.img.i_plane = 3; in encode() 728 pic_in.img.plane[0] = row_pointers[0]; in encode() 729 pic_in.img.plane[1] = row_pointers[1]; in encode() 730 pic_in.img.plane[2] = row_pointers[2]; in encode() 736 pic_in.i_pts = vtrack->timestamp; in encode() 737 pic_in.i_type = X264_TYPE_AUTO; in encode() [all …]
|
/dports/multimedia/libquicktime-lame/libquicktime-1.2.4/plugins/x264/ |
H A D | x264.c | 426 x264_picture_t * pic_in) in flush_frame() argument 584 x264_picture_t pic_in; in encode() local 723 memset(&pic_in, 0, sizeof(pic_in)); in encode() 725 pic_in.img.i_csp = X264_CSP_I420; in encode() 726 pic_in.img.i_plane = 3; in encode() 728 pic_in.img.plane[0] = row_pointers[0]; in encode() 729 pic_in.img.plane[1] = row_pointers[1]; in encode() 730 pic_in.img.plane[2] = row_pointers[2]; in encode() 736 pic_in.i_pts = vtrack->timestamp; in encode() 737 pic_in.i_type = X264_TYPE_AUTO; in encode() [all …]
|
/dports/multimedia/x264/x264-5db6aa6cab1b146e07b60cc1736a01f21da01154/encoder/ |
H A D | api.c | 39 int x264_8_encoder_encode( x264_t *, x264_nal_t **pp_nal, int *pi_nal, x264_picture_t *pic_in, x26… 51 int x264_10_encoder_encode( x264_t *, x264_nal_t **pp_nal, int *pi_nal, x264_picture_t *pic_in, x2… 68 …int (*encoder_encode)( x264_t *, x264_nal_t **pp_nal, int *pi_nal, x264_picture_t *pic_in, x264_p… 161 …der_encode( x264_t *h, x264_nal_t **pp_nal, int *pi_nal, x264_picture_t *pic_in, x264_picture_t *p… in x264_encoder_encode() argument 165 return api->encoder_encode( api->x264, pp_nal, pi_nal, pic_in, pic_out ); in x264_encoder_encode()
|
/dports/multimedia/libx264/x264-5db6aa6cab1b146e07b60cc1736a01f21da01154/encoder/ |
H A D | api.c | 39 int x264_8_encoder_encode( x264_t *, x264_nal_t **pp_nal, int *pi_nal, x264_picture_t *pic_in, x26… 51 int x264_10_encoder_encode( x264_t *, x264_nal_t **pp_nal, int *pi_nal, x264_picture_t *pic_in, x2… 68 …int (*encoder_encode)( x264_t *, x264_nal_t **pp_nal, int *pi_nal, x264_picture_t *pic_in, x264_p… 161 …der_encode( x264_t *h, x264_nal_t **pp_nal, int *pi_nal, x264_picture_t *pic_in, x264_picture_t *p… in x264_encoder_encode() argument 165 return api->encoder_encode( api->x264, pp_nal, pi_nal, pic_in, pic_out ); in x264_encoder_encode()
|
/dports/net/gstreamer1-plugins-libmms/gst-plugins-bad-1.16.2/ext/x265/ |
H A D | gstx265enc.c | 1004 x265_picture pic_in; in gst_x265_enc_handle_frame() local 1013 x265_picture_init (&encoder->x265param, &pic_in); in gst_x265_enc_handle_frame() 1019 pic_in.colorSpace = in gst_x265_enc_handle_frame() 1026 pic_in.sliceType = X265_TYPE_AUTO; in gst_x265_enc_handle_frame() 1027 pic_in.pts = frame->pts; in gst_x265_enc_handle_frame() 1028 pic_in.dts = frame->dts; in gst_x265_enc_handle_frame() 1029 pic_in.bitDepth = info->finfo->depth[0]; in gst_x265_enc_handle_frame() 1030 pic_in.userData = GINT_TO_POINTER (frame->system_frame_number); in gst_x265_enc_handle_frame() 1076 if (pic_in && input_frame) { in gst_x265_enc_encode_frame() 1079 pic_in->sliceType = X265_TYPE_IDR; in gst_x265_enc_encode_frame() [all …]
|
/dports/net/gstreamer1-plugins-srtp/gst-plugins-bad-1.16.2/ext/x265/ |
H A D | gstx265enc.c | 1004 x265_picture pic_in; in gst_x265_enc_handle_frame() local 1013 x265_picture_init (&encoder->x265param, &pic_in); in gst_x265_enc_handle_frame() 1019 pic_in.colorSpace = in gst_x265_enc_handle_frame() 1026 pic_in.sliceType = X265_TYPE_AUTO; in gst_x265_enc_handle_frame() 1027 pic_in.pts = frame->pts; in gst_x265_enc_handle_frame() 1028 pic_in.dts = frame->dts; in gst_x265_enc_handle_frame() 1029 pic_in.bitDepth = info->finfo->depth[0]; in gst_x265_enc_handle_frame() 1030 pic_in.userData = GINT_TO_POINTER (frame->system_frame_number); in gst_x265_enc_handle_frame() 1076 if (pic_in && input_frame) { in gst_x265_enc_encode_frame() 1079 pic_in->sliceType = X265_TYPE_IDR; in gst_x265_enc_encode_frame() [all …]
|
/dports/multimedia/gstreamer1-plugins-rtmp/gst-plugins-bad-1.16.2/ext/x265/ |
H A D | gstx265enc.c | 1004 x265_picture pic_in; in gst_x265_enc_handle_frame() local 1013 x265_picture_init (&encoder->x265param, &pic_in); in gst_x265_enc_handle_frame() 1019 pic_in.colorSpace = in gst_x265_enc_handle_frame() 1026 pic_in.sliceType = X265_TYPE_AUTO; in gst_x265_enc_handle_frame() 1027 pic_in.pts = frame->pts; in gst_x265_enc_handle_frame() 1028 pic_in.dts = frame->dts; in gst_x265_enc_handle_frame() 1029 pic_in.bitDepth = info->finfo->depth[0]; in gst_x265_enc_handle_frame() 1030 pic_in.userData = GINT_TO_POINTER (frame->system_frame_number); in gst_x265_enc_handle_frame() 1076 if (pic_in && input_frame) { in gst_x265_enc_encode_frame() 1079 pic_in->sliceType = X265_TYPE_IDR; in gst_x265_enc_encode_frame() [all …]
|
/dports/multimedia/gstreamer1-plugins-resindvd/gst-plugins-bad-1.16.2/ext/x265/ |
H A D | gstx265enc.c | 1004 x265_picture pic_in; in gst_x265_enc_handle_frame() local 1013 x265_picture_init (&encoder->x265param, &pic_in); in gst_x265_enc_handle_frame() 1019 pic_in.colorSpace = in gst_x265_enc_handle_frame() 1026 pic_in.sliceType = X265_TYPE_AUTO; in gst_x265_enc_handle_frame() 1027 pic_in.pts = frame->pts; in gst_x265_enc_handle_frame() 1028 pic_in.dts = frame->dts; in gst_x265_enc_handle_frame() 1029 pic_in.bitDepth = info->finfo->depth[0]; in gst_x265_enc_handle_frame() 1030 pic_in.userData = GINT_TO_POINTER (frame->system_frame_number); in gst_x265_enc_handle_frame() 1076 if (pic_in && input_frame) { in gst_x265_enc_encode_frame() 1079 pic_in->sliceType = X265_TYPE_IDR; in gst_x265_enc_encode_frame() [all …]
|
/dports/multimedia/gstreamer1-plugins-mplex/gst-plugins-bad-1.16.2/ext/x265/ |
H A D | gstx265enc.c | 1004 x265_picture pic_in; in gst_x265_enc_handle_frame() local 1013 x265_picture_init (&encoder->x265param, &pic_in); in gst_x265_enc_handle_frame() 1019 pic_in.colorSpace = in gst_x265_enc_handle_frame() 1026 pic_in.sliceType = X265_TYPE_AUTO; in gst_x265_enc_handle_frame() 1027 pic_in.pts = frame->pts; in gst_x265_enc_handle_frame() 1028 pic_in.dts = frame->dts; in gst_x265_enc_handle_frame() 1029 pic_in.bitDepth = info->finfo->depth[0]; in gst_x265_enc_handle_frame() 1030 pic_in.userData = GINT_TO_POINTER (frame->system_frame_number); in gst_x265_enc_handle_frame() 1076 if (pic_in && input_frame) { in gst_x265_enc_encode_frame() 1079 pic_in->sliceType = X265_TYPE_IDR; in gst_x265_enc_encode_frame() [all …]
|