Home
last modified time | relevance | path

Searched refs:pic (Results 1 – 25 of 515) sorted by relevance

12345678910>>...21

/third_party/ffmpeg/libavcodec/
Dmpegpicture.c33 static int make_tables_writable(Picture *pic) in make_tables_writable() argument
38 if (pic->table &&\ in make_tables_writable()
39 (ret = av_buffer_make_writable(&pic->table)) < 0)\ in make_tables_writable()
98 static int alloc_frame_buffer(AVCodecContext *avctx, Picture *pic, in alloc_frame_buffer() argument
106 pic->tf.f = pic->f; in alloc_frame_buffer()
111 pic->f->width = avctx->width + 2 * EDGE_WIDTH; in alloc_frame_buffer()
112 pic->f->height = avctx->height + 2 * EDGE_WIDTH; in alloc_frame_buffer()
115 r = ff_thread_get_buffer(avctx, &pic->tf, in alloc_frame_buffer()
116 pic->reference ? AV_GET_BUFFER_FLAG_REF : 0); in alloc_frame_buffer()
118 pic->f->width = avctx->width; in alloc_frame_buffer()
[all …]
Dvaapi_encode.c40 VAAPIEncodePicture *pic, in vaapi_encode_make_packed_header() argument
53 tmp = av_realloc_array(pic->param_buffers, sizeof(*tmp), pic->nb_param_buffers + 2); in vaapi_encode_make_packed_header()
56 pic->param_buffers = tmp; in vaapi_encode_make_packed_header()
67 pic->param_buffers[pic->nb_param_buffers++] = param_buffer; in vaapi_encode_make_packed_header()
78 pic->param_buffers[pic->nb_param_buffers++] = data_buffer; in vaapi_encode_make_packed_header()
86 VAAPIEncodePicture *pic, in vaapi_encode_make_param_buffer() argument
94 tmp = av_realloc_array(pic->param_buffers, sizeof(*tmp), pic->nb_param_buffers + 1); in vaapi_encode_make_param_buffer()
97 pic->param_buffers = tmp; in vaapi_encode_make_param_buffer()
106 pic->param_buffers[pic->nb_param_buffers++] = buffer; in vaapi_encode_make_param_buffer()
114 VAAPIEncodePicture *pic, in vaapi_encode_make_misc_param_buffer() argument
[all …]
Ddxtory.c55 static void do_vflip(AVCodecContext *avctx, AVFrame *pic, int vflip) in do_vflip() argument
60 switch (pic->format) { in do_vflip()
62 pic->data[1] += (avctx->height - 1) * pic->linesize[1]; in do_vflip()
63 pic->linesize[1] = -pic->linesize[1]; in do_vflip()
64 pic->data[2] += (avctx->height - 1) * pic->linesize[2]; in do_vflip()
65 pic->linesize[2] = -pic->linesize[2]; in do_vflip()
70 pic->data[0] += (avctx->height - 1) * pic->linesize[0]; in do_vflip()
71 pic->linesize[0] = -pic->linesize[0]; in do_vflip()
74 pic->data[0] += (avctx->height - 1) * pic->linesize[0]; in do_vflip()
75 pic->linesize[0] = -pic->linesize[0]; in do_vflip()
[all …]
Davuidec.c37 AVFrame *pic = data; in avui_decode_frame() local
71 if ((ret = ff_get_buffer(avctx, pic, 0)) < 0) in avui_decode_frame()
74 pic->key_frame = 1; in avui_decode_frame()
75 pic->pict_type = AV_PICTURE_TYPE_I; in avui_decode_frame()
86 y = pic->data[0] + (1 - i) * pic->linesize[0]; in avui_decode_frame()
87 u = pic->data[1] + (1 - i) * pic->linesize[1]; in avui_decode_frame()
88 v = pic->data[2] + (1 - i) * pic->linesize[2]; in avui_decode_frame()
89 a = pic->data[3] + (1 - i) * pic->linesize[3]; in avui_decode_frame()
91 y = pic->data[0] + i * pic->linesize[0]; in avui_decode_frame()
92 u = pic->data[1] + i * pic->linesize[1]; in avui_decode_frame()
[all …]
Dvaapi_hevc.c44 VAAPIDecodePicture pic; member
54 static void fill_vaapi_pic(VAPictureHEVC *va_pic, const HEVCFrame *pic, int rps_type) in fill_vaapi_pic() argument
56 va_pic->picture_id = ff_vaapi_get_surface_id(pic->frame); in fill_vaapi_pic()
57 va_pic->pic_order_cnt = pic->poc; in fill_vaapi_pic()
60 if (pic->flags & HEVC_FRAME_FLAG_LONG_REF) in fill_vaapi_pic()
63 if (pic->frame->interlaced_frame) { in fill_vaapi_pic()
66 if (!pic->frame->top_field_first) in fill_vaapi_pic()
71 static int find_frame_rps_type(const HEVCContext *h, const HEVCFrame *pic) in find_frame_rps_type() argument
73 VASurfaceID pic_surf = ff_vaapi_get_surface_id(pic->frame); in find_frame_rps_type()
122 VAAPIDecodePictureHEVC *pic = h->ref->hwaccel_picture_private; in vaapi_hevc_start_frame() local
[all …]
Dmsrledec.c33 static int msrle_decode_pal4(AVCodecContext *avctx, AVFrame *pic, in msrle_decode_pal4() argument
83 pic->data[0][line * pic->linesize[0] + pixel_ptr] = stream_byte >> 4; in msrle_decode_pal4()
89 pic->data[0][line * pic->linesize[0] + pixel_ptr] = stream_byte & 0x0F; in msrle_decode_pal4()
109 pic->data[0][line * pic->linesize[0] + pixel_ptr] = stream_byte >> 4; in msrle_decode_pal4()
111 pic->data[0][line * pic->linesize[0] + pixel_ptr] = stream_byte & 0x0F; in msrle_decode_pal4()
129 static int msrle_decode_8_16_24_32(AVCodecContext *avctx, AVFrame *pic, in msrle_decode_8_16_24_32() argument
136 unsigned int width= FFABS(pic->linesize[0]) / (depth >> 3); in msrle_decode_8_16_24_32()
138 output = pic->data[0] + (avctx->height - 1) * pic->linesize[0]; in msrle_decode_8_16_24_32()
139 output_end = output + FFABS(pic->linesize[0]); in msrle_decode_8_16_24_32()
156 output = pic->data[0] + line * pic->linesize[0]; in msrle_decode_8_16_24_32()
[all …]
/third_party/skia/third_party/externals/libwebp/extras/
Dextras.c32 int WebPImportGray(const uint8_t* gray_data, WebPPicture* pic) { in WebPImportGray() argument
34 if (pic == NULL || gray_data == NULL) return 0; in WebPImportGray()
35 pic->colorspace = WEBP_YUV420; in WebPImportGray()
36 if (!WebPPictureAlloc(pic)) return 0; in WebPImportGray()
37 width = pic->width; in WebPImportGray()
39 for (y = 0; y < pic->height; ++y) { in WebPImportGray()
40 memcpy(pic->y + y * pic->y_stride, gray_data, width); in WebPImportGray()
43 memset(pic->u + (y >> 1) * pic->uv_stride, 128, uv_width); in WebPImportGray()
44 memset(pic->v + (y >> 1) * pic->uv_stride, 128, uv_width); in WebPImportGray()
50 int WebPImportRGB565(const uint8_t* rgb565, WebPPicture* pic) { in WebPImportRGB565() argument
[all …]
/third_party/skia/third_party/externals/libwebp/src/enc/
Dpicture_rescale_enc.c39 static void SnapTopLeftPosition(const WebPPicture* const pic, in SnapTopLeftPosition() argument
41 if (!pic->use_argb) { in SnapTopLeftPosition()
48 static int AdjustAndCheckRectangle(const WebPPicture* const pic, in AdjustAndCheckRectangle() argument
51 SnapTopLeftPosition(pic, left, top); in AdjustAndCheckRectangle()
54 if ((*left) + width > pic->width) return 0; in AdjustAndCheckRectangle()
55 if ((*top) + height > pic->height) return 0; in AdjustAndCheckRectangle()
126 int WebPPictureCrop(WebPPicture* pic, in WebPPictureCrop() argument
130 if (pic == NULL) return 0; in WebPPictureCrop()
131 if (!AdjustAndCheckRectangle(pic, &left, &top, width, height)) return 0; in WebPPictureCrop()
133 PictureGrabSpecs(pic, &tmp); in WebPPictureCrop()
[all …]
Dpicture_tools_enc.c86 void WebPReplaceTransparentPixels(WebPPicture* const pic, uint32_t color) { in WebPReplaceTransparentPixels() argument
87 if (pic != NULL && pic->use_argb) { in WebPReplaceTransparentPixels()
88 int y = pic->height; in WebPReplaceTransparentPixels()
89 uint32_t* argb = pic->argb; in WebPReplaceTransparentPixels()
93 WebPAlphaReplace(argb, pic->width, color); in WebPReplaceTransparentPixels()
94 argb += pic->argb_stride; in WebPReplaceTransparentPixels()
99 void WebPCleanupTransparentArea(WebPPicture* pic) { in WebPCleanupTransparentArea() argument
101 if (pic == NULL) return; in WebPCleanupTransparentArea()
102 w = pic->width / SIZE; in WebPCleanupTransparentArea()
103 h = pic->height / SIZE; in WebPCleanupTransparentArea()
[all …]
Dsyntax_enc.c29 static int PutPaddingByte(const WebPPicture* const pic) { in PutPaddingByte() argument
31 return !!pic->writer(pad_byte, 1, pic); in PutPaddingByte()
39 const WebPPicture* const pic = enc->pic_; in PutRIFFHeader() local
45 if (!pic->writer(riff, sizeof(riff), pic)) { in PutRIFFHeader()
52 const WebPPicture* const pic = enc->pic_; in PutVP8XHeader() local
59 assert(pic->width >= 1 && pic->height >= 1); in PutVP8XHeader()
60 assert(pic->width <= MAX_CANVAS_SIZE && pic->height <= MAX_CANVAS_SIZE); in PutVP8XHeader()
68 PutLE24(vp8x + CHUNK_HEADER_SIZE + 4, pic->width - 1); in PutVP8XHeader()
69 PutLE24(vp8x + CHUNK_HEADER_SIZE + 7, pic->height - 1); in PutVP8XHeader()
70 if (!pic->writer(vp8x, sizeof(vp8x), pic)) { in PutVP8XHeader()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dpicture_rescale_enc.c39 static void SnapTopLeftPosition(const WebPPicture* const pic, in SnapTopLeftPosition() argument
41 if (!pic->use_argb) { in SnapTopLeftPosition()
48 static int AdjustAndCheckRectangle(const WebPPicture* const pic, in AdjustAndCheckRectangle() argument
51 SnapTopLeftPosition(pic, left, top); in AdjustAndCheckRectangle()
54 if ((*left) + width > pic->width) return 0; in AdjustAndCheckRectangle()
55 if ((*top) + height > pic->height) return 0; in AdjustAndCheckRectangle()
126 int WebPPictureCrop(WebPPicture* pic, in WebPPictureCrop() argument
130 if (pic == NULL) return 0; in WebPPictureCrop()
131 if (!AdjustAndCheckRectangle(pic, &left, &top, width, height)) return 0; in WebPPictureCrop()
133 PictureGrabSpecs(pic, &tmp); in WebPPictureCrop()
[all …]
Dpicture_tools_enc.c86 void WebPCleanupTransparentArea(WebPPicture* pic) { in WebPCleanupTransparentArea() argument
88 if (pic == NULL) return; in WebPCleanupTransparentArea()
89 w = pic->width / SIZE; in WebPCleanupTransparentArea()
90 h = pic->height / SIZE; in WebPCleanupTransparentArea()
93 if (pic->use_argb) { in WebPCleanupTransparentArea()
98 const int off = (y * pic->argb_stride + x) * SIZE; in WebPCleanupTransparentArea()
99 if (IsTransparentARGBArea(pic->argb + off, pic->argb_stride, SIZE)) { in WebPCleanupTransparentArea()
101 argb_value = pic->argb[off]; in WebPCleanupTransparentArea()
104 FlattenARGB(pic->argb + off, argb_value, pic->argb_stride, SIZE); in WebPCleanupTransparentArea()
111 const int width = pic->width; in WebPCleanupTransparentArea()
[all …]
Dsyntax_enc.c29 static int PutPaddingByte(const WebPPicture* const pic) { in PutPaddingByte() argument
31 return !!pic->writer(pad_byte, 1, pic); in PutPaddingByte()
39 const WebPPicture* const pic = enc->pic_; in PutRIFFHeader() local
45 if (!pic->writer(riff, sizeof(riff), pic)) { in PutRIFFHeader()
52 const WebPPicture* const pic = enc->pic_; in PutVP8XHeader() local
59 assert(pic->width >= 1 && pic->height >= 1); in PutVP8XHeader()
60 assert(pic->width <= MAX_CANVAS_SIZE && pic->height <= MAX_CANVAS_SIZE); in PutVP8XHeader()
68 PutLE24(vp8x + CHUNK_HEADER_SIZE + 4, pic->width - 1); in PutVP8XHeader()
69 PutLE24(vp8x + CHUNK_HEADER_SIZE + 7, pic->height - 1); in PutVP8XHeader()
70 if (!pic->writer(vp8x, sizeof(vp8x), pic)) { in PutVP8XHeader()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/extras/
Dextras.c31 int WebPImportGray(const uint8_t* gray_data, WebPPicture* pic) { in WebPImportGray() argument
33 if (pic == NULL || gray_data == NULL) return 0; in WebPImportGray()
34 pic->colorspace = WEBP_YUV420; in WebPImportGray()
35 if (!WebPPictureAlloc(pic)) return 0; in WebPImportGray()
36 width = pic->width; in WebPImportGray()
38 for (y = 0; y < pic->height; ++y) { in WebPImportGray()
39 memcpy(pic->y + y * pic->y_stride, gray_data, width); in WebPImportGray()
42 memset(pic->u + (y >> 1) * pic->uv_stride, 128, uv_width); in WebPImportGray()
43 memset(pic->v + (y >> 1) * pic->uv_stride, 128, uv_width); in WebPImportGray()
49 int WebPImportRGB565(const uint8_t* rgb565, WebPPicture* pic) { in WebPImportRGB565() argument
[all …]
/third_party/mesa3d/src/gallium/drivers/radeon/
Dradeon_vcn_dec.c76 struct pipe_h265_picture_desc *pic);
79 struct pipe_h264_picture_desc *pic) in get_h264_msg() argument
84 switch (pic->base.profile) { in get_h264_msg()
106 result.sps_info_flags |= pic->pps->sps->direct_8x8_inference_flag << 0; in get_h264_msg()
107 result.sps_info_flags |= pic->pps->sps->mb_adaptive_frame_field_flag << 1; in get_h264_msg()
108 result.sps_info_flags |= pic->pps->sps->frame_mbs_only_flag << 2; in get_h264_msg()
109 result.sps_info_flags |= pic->pps->sps->delta_pic_order_always_zero_flag << 3; in get_h264_msg()
112 result.bit_depth_luma_minus8 = pic->pps->sps->bit_depth_luma_minus8; in get_h264_msg()
113 result.bit_depth_chroma_minus8 = pic->pps->sps->bit_depth_chroma_minus8; in get_h264_msg()
114 result.log2_max_frame_num_minus4 = pic->pps->sps->log2_max_frame_num_minus4; in get_h264_msg()
[all …]
Dradeon_vcn_enc.c44 struct pipe_h264_enc_picture_desc *pic = (struct pipe_h264_enc_picture_desc *)picture; in radeon_vcn_enc_get_param() local
45 enc->enc_pic.picture_type = pic->picture_type; in radeon_vcn_enc_get_param()
46 enc->enc_pic.frame_num = pic->frame_num; in radeon_vcn_enc_get_param()
47 enc->enc_pic.pic_order_cnt = pic->pic_order_cnt; in radeon_vcn_enc_get_param()
48 enc->enc_pic.pic_order_cnt_type = pic->pic_order_cnt_type; in radeon_vcn_enc_get_param()
49 enc->enc_pic.ref_idx_l0 = pic->ref_idx_l0; in radeon_vcn_enc_get_param()
50 enc->enc_pic.ref_idx_l1 = pic->ref_idx_l1; in radeon_vcn_enc_get_param()
51 enc->enc_pic.not_referenced = pic->not_referenced; in radeon_vcn_enc_get_param()
52 enc->enc_pic.is_idr = (pic->picture_type == PIPE_H2645_ENC_PICTURE_TYPE_IDR); in radeon_vcn_enc_get_param()
53 if (pic->pic_ctrl.enc_frame_cropping_flag) { in radeon_vcn_enc_get_param()
[all …]
Dradeon_uvd.c291 struct pipe_h265_picture_desc *pic) in calc_ctx_size_h265_main10() argument
300 (pic->pps->sps->bit_depth_luma_minus8 || pic->pps->sps->bit_depth_chroma_minus8) ? 2 : 1; in calc_ctx_size_h265_main10()
309 log2_ctb_size = pic->pps->sps->log2_min_luma_coding_block_size_minus3 + 3 + in calc_ctx_size_h265_main10()
310 pic->pps->sps->log2_diff_max_min_luma_coding_block_size; in calc_ctx_size_h265_main10()
488 static struct ruvd_h264 get_h264_msg(struct ruvd_decoder *dec, struct pipe_h264_picture_desc *pic) in get_h264_msg() argument
493 switch (pic->base.profile) { in get_h264_msg()
515 result.sps_info_flags |= pic->pps->sps->direct_8x8_inference_flag << 0; in get_h264_msg()
516 result.sps_info_flags |= pic->pps->sps->mb_adaptive_frame_field_flag << 1; in get_h264_msg()
517 result.sps_info_flags |= pic->pps->sps->frame_mbs_only_flag << 2; in get_h264_msg()
518 result.sps_info_flags |= pic->pps->sps->delta_pic_order_always_zero_flag << 3; in get_h264_msg()
[all …]
Dradeon_vce_50.c41 RVCE_CS(enc->pic.rate_ctrl[0].rate_ctrl_method); // encRateControlMethod in rate_control()
42 RVCE_CS(enc->pic.rate_ctrl[0].target_bitrate); // encRateControlTargetBitRate in rate_control()
43 RVCE_CS(enc->pic.rate_ctrl[0].peak_bitrate); // encRateControlPeakBitRate in rate_control()
44 RVCE_CS(enc->pic.rate_ctrl[0].frame_rate_num); // encRateControlFrameRateNum in rate_control()
46 RVCE_CS(enc->pic.quant_i_frames); // encQP_I in rate_control()
47 RVCE_CS(enc->pic.quant_p_frames); // encQP_P in rate_control()
48 RVCE_CS(enc->pic.quant_b_frames); // encQP_B in rate_control()
49 RVCE_CS(enc->pic.rate_ctrl[0].vbv_buffer_size); // encVBVBufferSize in rate_control()
50 RVCE_CS(enc->pic.rate_ctrl[0].frame_rate_den); // encRateControlFrameRateDen in rate_control()
54 RVCE_CS(enc->pic.rate_ctrl[0].target_bits_picture); // encTargetBitsPerPicture in rate_control()
[all …]
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/
Dgstvc1parser.c378 GstVC1PicAdvanced * pic) in calculate_nb_pan_scan_win() argument
382 return pic->rff + 2; in calculate_nb_pan_scan_win()
388 return pic->rptfrm + 1; in calculate_nb_pan_scan_win()
907 GstVC1PicAdvanced *pic = &framehdr->pic.advanced; in parse_frame_header_advanced() local
923 pic->fcm = (guint8) fcm; in parse_frame_header_advanced()
925 pic->fcm = GST_VC1_FRAME_PROGRESSIVE; in parse_frame_header_advanced()
927 if (pic->fcm == GST_VC1_FIELD_INTERLACE) { in parse_frame_header_advanced()
928 READ_UINT8 (br, pic->fptype, 3); in parse_frame_header_advanced()
930 switch (pic->fptype) { in parse_frame_header_advanced()
949 switch (pic->fptype) { in parse_frame_header_advanced()
[all …]
/third_party/skia/third_party/externals/libwebp/tests/fuzzer/
Denc_dec_fuzzer.cc36 WebPPicture pic; in LLVMFuzzerTestOneInput() local
37 if (!WebPPictureInit(&pic)) { in LLVMFuzzerTestOneInput()
41 pic.use_argb = Extract(1, data, size, &bit_pos); in LLVMFuzzerTestOneInput()
44 if (!ExtractSourcePicture(&pic, data, size, &bit_pos)) { in LLVMFuzzerTestOneInput()
45 const WebPEncodingError error_code = pic.error_code; in LLVMFuzzerTestOneInput()
46 WebPPictureFree(&pic); in LLVMFuzzerTestOneInput()
53 if (!ExtractAndCropOrScale(&pic, data, size, &bit_pos)) { in LLVMFuzzerTestOneInput()
54 const WebPEncodingError error_code = pic.error_code; in LLVMFuzzerTestOneInput()
55 WebPPictureFree(&pic); in LLVMFuzzerTestOneInput()
69 if (pic.width * pic.height > 32 * 32) { in LLVMFuzzerTestOneInput()
[all …]
Danimencoder_fuzzer.cc39 WebPPicture pic; in AddFrame() local
40 if (!WebPPictureInit(&pic)) { in AddFrame()
45 pic.use_argb = Extract(1, data, size, bit_pos); in AddFrame()
48 if (!ExtractSourcePicture(&pic, data, size, bit_pos)) { in AddFrame()
49 const WebPEncodingError error_code = pic.error_code; in AddFrame()
50 WebPPictureFree(&pic); in AddFrame()
58 if (!ExtractAndCropOrScale(&pic, data, size, bit_pos)) { in AddFrame()
59 const WebPEncodingError error_code = pic.error_code; in AddFrame()
60 WebPPictureFree(&pic); in AddFrame()
67 if (!WebPPictureRescale(&pic, *width, *height)) { in AddFrame()
[all …]
/third_party/skia/third_party/externals/libwebp/imageio/
Dwebpdec.c145 WebPPicture* const pic, in ReadWebP() argument
153 if (data == NULL || data_size == 0 || pic == NULL) return 0; in ReadWebP()
169 pic->width = bitstream->width; in ReadWebP()
170 pic->height = bitstream->height; in ReadWebP()
171 if (pic->use_argb) { in ReadWebP()
175 pic->colorspace = has_alpha ? WEBP_YUV420A : WEBP_YUV420; in ReadWebP()
183 ok = WebPPictureAlloc(pic); in ReadWebP()
188 if (pic->use_argb) { in ReadWebP()
194 output_buffer->u.RGBA.rgba = (uint8_t*)pic->argb; in ReadWebP()
195 output_buffer->u.RGBA.stride = pic->argb_stride * sizeof(uint32_t); in ReadWebP()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/imageio/
Dwebpdec.c145 WebPPicture* const pic, in ReadWebP() argument
153 if (data == NULL || data_size == 0 || pic == NULL) return 0; in ReadWebP()
169 pic->width = bitstream->width; in ReadWebP()
170 pic->height = bitstream->height; in ReadWebP()
171 if (pic->use_argb) { in ReadWebP()
175 pic->colorspace = has_alpha ? WEBP_YUV420A : WEBP_YUV420; in ReadWebP()
183 ok = WebPPictureAlloc(pic); in ReadWebP()
188 if (pic->use_argb) { in ReadWebP()
194 output_buffer->u.RGBA.rgba = (uint8_t*)pic->argb; in ReadWebP()
195 output_buffer->u.RGBA.stride = pic->argb_stride * sizeof(uint32_t); in ReadWebP()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/
Dradeon_uvd.c372 static struct ruvd_h264 get_h264_msg(struct ruvd_decoder *dec, struct pipe_h264_picture_desc *pic) in get_h264_msg() argument
377 switch (pic->base.profile) { in get_h264_msg()
399 result.sps_info_flags |= pic->pps->sps->direct_8x8_inference_flag << 0; in get_h264_msg()
400 result.sps_info_flags |= pic->pps->sps->mb_adaptive_frame_field_flag << 1; in get_h264_msg()
401 result.sps_info_flags |= pic->pps->sps->frame_mbs_only_flag << 2; in get_h264_msg()
402 result.sps_info_flags |= pic->pps->sps->delta_pic_order_always_zero_flag << 3; in get_h264_msg()
404 result.bit_depth_luma_minus8 = pic->pps->sps->bit_depth_luma_minus8; in get_h264_msg()
405 result.bit_depth_chroma_minus8 = pic->pps->sps->bit_depth_chroma_minus8; in get_h264_msg()
406 result.log2_max_frame_num_minus4 = pic->pps->sps->log2_max_frame_num_minus4; in get_h264_msg()
407 result.pic_order_cnt_type = pic->pps->sps->pic_order_cnt_type; in get_h264_msg()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvadecoder.c69 static gboolean _destroy_buffers (GstVaDecodePicture * pic);
545 gst_va_decoder_add_param_buffer (GstVaDecoder * self, GstVaDecodePicture * pic, in gst_va_decoder_add_param_buffer() argument
554 g_return_val_if_fail (pic && data && size > 0, FALSE); in gst_va_decoder_add_param_buffer()
565 g_array_append_val (pic->buffers, buffer); in gst_va_decoder_add_param_buffer()
571 GstVaDecodePicture * pic, gpointer params_data, gsize params_size, in gst_va_decoder_add_slice_buffer_with_n_params() argument
580 g_return_val_if_fail (pic && slice_data && slice_size > 0 in gst_va_decoder_add_slice_buffer_with_n_params()
602 g_array_append_val (pic->slices, params_buffer); in gst_va_decoder_add_slice_buffer_with_n_params()
603 g_array_append_val (pic->slices, slice_buffer); in gst_va_decoder_add_slice_buffer_with_n_params()
609 gst_va_decoder_add_slice_buffer (GstVaDecoder * self, GstVaDecodePicture * pic, in gst_va_decoder_add_slice_buffer() argument
613 return gst_va_decoder_add_slice_buffer_with_n_params (self, pic, params_data, in gst_va_decoder_add_slice_buffer()
[all …]

12345678910>>...21