Home
last modified time | relevance | path

Searched refs:picture (Results 1 - 25 of 160) sorted by relevance

1234567

/third_party/mesa3d/src/gallium/frontends/vdpau/
H A Ddecode.c221 vlVdpDecoderRenderMpeg12(struct pipe_mpeg12_picture_desc *picture, in vlVdpDecoderRenderMpeg12() argument
228 r = vlVdpGetReferenceFrame(picture_info->forward_reference, &picture->ref[0]); in vlVdpDecoderRenderMpeg12()
232 r = vlVdpGetReferenceFrame(picture_info->backward_reference, &picture->ref[1]); in vlVdpDecoderRenderMpeg12()
236 picture->picture_coding_type = picture_info->picture_coding_type; in vlVdpDecoderRenderMpeg12()
237 picture->picture_structure = picture_info->picture_structure; in vlVdpDecoderRenderMpeg12()
238 picture->frame_pred_frame_dct = picture_info->frame_pred_frame_dct; in vlVdpDecoderRenderMpeg12()
239 picture->q_scale_type = picture_info->q_scale_type; in vlVdpDecoderRenderMpeg12()
240 picture->alternate_scan = picture_info->alternate_scan; in vlVdpDecoderRenderMpeg12()
241 picture->intra_vlc_format = picture_info->intra_vlc_format; in vlVdpDecoderRenderMpeg12()
242 picture in vlVdpDecoderRenderMpeg12()
262 vlVdpDecoderRenderMpeg4(struct pipe_mpeg4_picture_desc *picture, VdpPictureInfoMPEG4Part2 *picture_info) vlVdpDecoderRenderMpeg4() argument
301 vlVdpDecoderRenderVC1(struct pipe_vc1_picture_desc *picture, VdpPictureInfoVC1 *picture_info) vlVdpDecoderRenderVC1() argument
350 vlVdpDecoderRenderH264(struct pipe_h264_picture_desc *picture, VdpPictureInfoH264 *picture_info, unsigned level_idc) vlVdpDecoderRenderH264() argument
415 vlVdpDecoderRenderH265(struct pipe_h265_picture_desc *picture, VdpPictureInfoHEVC *picture_info) vlVdpDecoderRenderH265() argument
[all...]
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dpicture_enc.c26 const WebPPicture* const picture) { in DummyWriter()
30 (void)picture; in DummyWriter()
34 int WebPPictureInitInternal(WebPPicture* picture, int version) { in WebPPictureInitInternal() argument
38 if (picture != NULL) { in WebPPictureInitInternal()
39 memset(picture, 0, sizeof(*picture)); in WebPPictureInitInternal()
40 picture->writer = DummyWriter; in WebPPictureInitInternal()
41 WebPEncodingSetError(picture, VP8_ENC_OK); in WebPPictureInitInternal()
48 static void WebPPictureResetBufferARGB(WebPPicture* const picture) { in WebPPictureResetBufferARGB() argument
49 picture in WebPPictureResetBufferARGB()
25 DummyWriter(const uint8_t* data, size_t data_size, const WebPPicture* const picture) DummyWriter() argument
54 WebPPictureResetBufferYUVA(WebPPicture* const picture) WebPPictureResetBufferYUVA() argument
61 WebPPictureResetBuffers(WebPPicture* const picture) WebPPictureResetBuffers() argument
66 WebPPictureAllocARGB(WebPPicture* const picture, int width, int height) WebPPictureAllocARGB() argument
89 WebPPictureAllocYUVA(WebPPicture* const picture, int width, int height) WebPPictureAllocYUVA() argument
153 WebPPictureAlloc(WebPPicture* picture) WebPPictureAlloc() argument
169 WebPPictureFree(WebPPicture* picture) WebPPictureFree() argument
186 WebPMemoryWrite(const uint8_t* data, size_t data_size, const WebPPicture* picture) WebPMemoryWrite() argument
[all...]
H A Dpicture_csp_enc.c62 int WebPPictureHasTransparency(const WebPPicture* picture) { in WebPPictureHasTransparency() argument
63 if (picture == NULL) return 0; in WebPPictureHasTransparency()
64 if (picture->use_argb) { in WebPPictureHasTransparency()
66 return CheckNonOpaque((const uint8_t*)picture->argb + alpha_offset, in WebPPictureHasTransparency()
67 picture->width, picture->height, in WebPPictureHasTransparency()
68 4, picture->argb_stride * sizeof(*picture->argb)); in WebPPictureHasTransparency()
70 return CheckNonOpaque(picture->a, picture in WebPPictureHasTransparency()
400 ConvertWRGBToYUV(const fixed_y_t* best_y, const fixed_t* best_uv, WebPPicture* const picture) ConvertWRGBToYUV() argument
445 PreprocessARGB(const uint8_t* r_ptr, const uint8_t* g_ptr, const uint8_t* b_ptr, int step, int rgb_stride, WebPPicture* const picture) PreprocessARGB() argument
842 ImportYUVAFromRGBA(const uint8_t* r_ptr, const uint8_t* g_ptr, const uint8_t* b_ptr, const uint8_t* a_ptr, int step, int rgb_stride, float dithering, int use_iterative_conversion, WebPPicture* const picture) ImportYUVAFromRGBA() argument
995 PictureARGBToYUVA(WebPPicture* picture, WebPEncCSP colorspace, float dithering, int use_iterative_conversion) PictureARGBToYUVA() argument
1015 WebPPictureARGBToYUVADithered(WebPPicture* picture, WebPEncCSP colorspace, float dithering) WebPPictureARGBToYUVADithered() argument
1020 WebPPictureARGBToYUVA(WebPPicture* picture, WebPEncCSP colorspace) WebPPictureARGBToYUVA() argument
1024 WebPPictureSharpARGBToYUVA(WebPPicture* picture) WebPPictureSharpARGBToYUVA() argument
1028 WebPPictureSmartARGBToYUVA(WebPPicture* picture) WebPPictureSmartARGBToYUVA() argument
1035 WebPPictureYUVAToARGB(WebPPicture* picture) WebPPictureYUVAToARGB() argument
1098 Import(WebPPicture* const picture, const uint8_t* rgb, int rgb_stride, int step, int swap_rb, int import_alpha) Import() argument
1165 WebPPictureImportBGR(WebPPicture* picture, const uint8_t* rgb, int rgb_stride) WebPPictureImportBGR() argument
1172 WebPPictureImportBGRA(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) WebPPictureImportBGRA() argument
1180 WebPPictureImportBGRX(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) WebPPictureImportBGRX() argument
1189 WebPPictureImportRGB(WebPPicture* picture, const uint8_t* rgb, int rgb_stride) WebPPictureImportRGB() argument
1196 WebPPictureImportRGBA(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) WebPPictureImportRGBA() argument
1203 WebPPictureImportRGBX(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) WebPPictureImportRGBX() argument
[all...]
H A Dnear_lossless_enc.c110 int VP8ApplyNearLossless(const WebPPicture* const picture, int quality, in VP8ApplyNearLossless() argument
113 const int xsize = picture->width; in VP8ApplyNearLossless()
114 const int ysize = picture->height; in VP8ApplyNearLossless()
115 const int stride = picture->argb_stride; in VP8ApplyNearLossless()
130 memcpy(argb_dst + i * xsize, picture->argb + i * picture->argb_stride, in VP8ApplyNearLossless()
137 NearLossless(xsize, ysize, picture->argb, stride, limit_bits, copy_buffer, in VP8ApplyNearLossless()
H A Dalpha_enc.c55 WebPPicture picture; in EncodeLossless() local
57 WebPPictureInit(&picture); in EncodeLossless()
58 picture.width = width; in EncodeLossless()
59 picture.height = height; in EncodeLossless()
60 picture.use_argb = 1; in EncodeLossless()
61 picture.stats = stats; in EncodeLossless()
62 if (!WebPPictureAlloc(&picture)) return 0; in EncodeLossless()
65 WebPDispatchAlphaToGreen(data, width, picture.width, picture.height, in EncodeLossless()
66 picture in EncodeLossless()
[all...]
/third_party/mesa3d/src/gallium/frontends/omx/bellagio/
H A Dvid_dec_mpeg12.c82 priv->picture.base.profile = PIPE_VIDEO_PROFILE_MPEG2_MAIN; in vid_dec_mpeg12_Init()
83 priv->picture.mpeg12.intra_matrix = default_intra_matrix; in vid_dec_mpeg12_Init()
84 priv->picture.mpeg12.non_intra_matrix = default_non_intra_matrix; in vid_dec_mpeg12_Init()
93 if (priv->picture.mpeg12.picture_coding_type != PIPE_MPEG12_PICTURE_CODING_TYPE_B) { in BeginFrame()
94 priv->picture.mpeg12.ref[0] = priv->picture.mpeg12.ref[1]; in BeginFrame()
95 priv->picture.mpeg12.ref[1] = NULL; in BeginFrame()
98 if (priv->target == priv->picture.mpeg12.ref[0]) { in BeginFrame()
106 priv->codec->begin_frame(priv->codec, priv->target, &priv->picture.base); in BeginFrame()
114 priv->codec->end_frame(priv->codec, priv->target, &priv->picture in vid_dec_mpeg12_EndFrame()
[all...]
H A Dvid_dec_av1.c351 priv->picture.av1.picture_parameter.profile = seq->seq_profile; in sequence_header_obu()
352 priv->picture.av1.picture_parameter.seq_info_fields.use_128x128_superblock = in sequence_header_obu()
354 priv->picture.av1.picture_parameter.seq_info_fields.enable_filter_intra = in sequence_header_obu()
356 priv->picture.av1.picture_parameter.seq_info_fields.enable_intra_edge_filter = in sequence_header_obu()
358 priv->picture.av1.picture_parameter.order_hint_bits_minus_1 = in sequence_header_obu()
360 priv->picture.av1.picture_parameter.max_width = seq->max_frame_width_minus_1 + 1; in sequence_header_obu()
361 priv->picture.av1.picture_parameter.max_height = seq->max_frame_height_minus_1 + 1; in sequence_header_obu()
362 priv->picture.av1.picture_parameter.seq_info_fields.enable_interintra_compound = in sequence_header_obu()
364 priv->picture.av1.picture_parameter.seq_info_fields.enable_masked_compound = in sequence_header_obu()
366 priv->picture in sequence_header_obu()
[all...]
H A Dvid_dec_h265.c104 /* broken link access picture */
112 /* random access point picture */
128 priv->picture.h265.CurrPicOrderCntVal = i; in set_poc()
140 return priv->picture.h265.CurrPicOrderCntVal; in get_poc()
646 priv->codec->begin_frame(priv->codec, priv->target, &priv->picture.base); in vid_dec_h265_BeginFrame()
691 priv->picture.h265.NumPocStCurrBefore = 0; in vid_dec_h265_EndFrame()
692 priv->picture.h265.NumPocStCurrAfter = 0; in vid_dec_h265_EndFrame()
693 memset(priv->picture.h265.RefPicSetStCurrBefore, 0, 8); in vid_dec_h265_EndFrame()
694 memset(priv->picture.h265.RefPicSetStCurrAfter, 0, 8); in vid_dec_h265_EndFrame()
696 priv->picture in vid_dec_h265_EndFrame()
[all...]
/third_party/skia/third_party/externals/libwebp/examples/
H A Dcwebp.c305 // Dumps a picture as a PGM file using the IMC4 layout.
306 static int DumpPicture(const WebPPicture* const picture, const char* PGM_name) { in DumpPicture() argument
308 const int uv_width = (picture->width + 1) / 2; in DumpPicture()
309 const int uv_height = (picture->height + 1) / 2; in DumpPicture()
310 const int stride = (picture->width + 1) & ~1; in DumpPicture()
311 const uint8_t* src_y = picture->y; in DumpPicture()
312 const uint8_t* src_u = picture->u; in DumpPicture()
313 const uint8_t* src_v = picture->v; in DumpPicture()
314 const uint8_t* src_a = picture->a; in DumpPicture()
316 WebPPictureHasTransparency(picture) in DumpPicture()
416 WriteWebPWithMetadata(FILE* const out, const WebPPicture* const picture, const WebPMemoryWriter* const memory_writer, const Metadata* const metadata, int keep_metadata, int* const metadata_written) WriteWebPWithMetadata() argument
509 ProgressReport(int percent, const WebPPicture* const picture) ProgressReport() argument
666 WebPPicture picture; main() local
[all...]
/third_party/skia/third_party/externals/libwebp/src/webp/
H A Dencode.h88 WEBP_HINT_PICTURE, // digital picture, like portrait, inner shot
125 int show_compressed; // if true, export the compressed picture back.
156 // of source picture. These presets are used when calling WebPConfigPreset().
159 WEBP_PRESET_PICTURE, // digital picture, like portrait, inner shot
235 // data/data_size is the segment of data to write, and 'picture' is for
236 // reference (and so one can make use of picture->custom_ptr).
238 const WebPPicture* picture);
259 const WebPPicture* picture);
264 typedef int (*WebPProgressHook)(int percent, const WebPPicture* picture);
282 VP8_ENC_ERROR_BAD_DIMENSION, // picture ha
373 WebPPictureInit(WebPPicture* picture) WebPPictureInit() argument
[all...]
/third_party/mesa3d/src/gallium/frontends/omx/
H A Dvid_dec_h264_common.c48 templat.max_references = priv->picture.h264.num_ref_frames; in vid_dec_h264_BeginFrame()
59 templat.level = priv->picture.h264.pps->sps->level_idc; in vid_dec_h264_BeginFrame()
70 priv->picture.h264.num_ref_frames = priv->picture.h264.pps->sps->max_num_ref_frames; in vid_dec_h264_BeginFrame()
72 priv->picture.h264.slice_count = 0; in vid_dec_h264_BeginFrame()
73 priv->codec->begin_frame(priv->codec, priv->target, &priv->picture.base); in vid_dec_h264_BeginFrame()
117 priv->codec->end_frame(priv->codec, priv->target, &priv->picture.base); in vid_dec_h264_EndFrame()
121 priv->picture.h264.frame_num_list[0] = priv->picture.h264.frame_num; in vid_dec_h264_EndFrame()
122 priv->picture in vid_dec_h264_EndFrame()
[all...]
H A Dvid_enc_common.c56 static void enc_GetPictureParamPreset(struct pipe_h264_enc_picture_desc *picture) in enc_GetPictureParamPreset() argument
58 picture->motion_est.enc_disable_sub_mode = 0x000000fe; in enc_GetPictureParamPreset()
59 picture->motion_est.enc_ime2_search_range_x = 0x00000001; in enc_GetPictureParamPreset()
60 picture->motion_est.enc_ime2_search_range_y = 0x00000001; in enc_GetPictureParamPreset()
61 picture->pic_ctrl.enc_constraint_set_flags = 0x00000040; in enc_GetPictureParamPreset()
248 void enc_ControlPicture_common(vid_enc_PrivateType * priv, struct pipe_h264_enc_picture_desc *picture) in enc_ControlPicture_common() argument
250 struct pipe_h264_enc_rate_control *rate_ctrl = &picture->rate_ctrl[0]; in enc_ControlPicture_common()
298 picture->quant_i_frames = priv->quant.nQpI; in enc_ControlPicture_common()
299 picture->quant_p_frames = priv->quant.nQpP; in enc_ControlPicture_common()
300 picture in enc_ControlPicture_common()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dlibopenjpegdec.c242 static inline void libopenjpeg_copy_to_packed8(AVFrame *picture, opj_image_t *image) { in libopenjpeg_copy_to_packed8() argument
245 for (y = 0; y < picture->height; y++) { in libopenjpeg_copy_to_packed8()
246 index = y * picture->width; in libopenjpeg_copy_to_packed8()
247 img_ptr = picture->data[0] + y * picture->linesize[0]; in libopenjpeg_copy_to_packed8()
248 for (x = 0; x < picture->width; x++, index++) in libopenjpeg_copy_to_packed8()
254 static inline void libopenjpeg_copy_to_packed16(AVFrame *picture, opj_image_t *image) { in libopenjpeg_copy_to_packed16() argument
256 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(picture->format); in libopenjpeg_copy_to_packed16()
262 for (y = 0; y < picture->height; y++) { in libopenjpeg_copy_to_packed16()
263 index = y * picture in libopenjpeg_copy_to_packed16()
272 libopenjpeg_copyto8(AVFrame *picture, opj_image_t *image) libopenjpeg_copyto8() argument
290 libopenjpeg_copyto16(AVFrame *picture, opj_image_t *image) libopenjpeg_copyto16() argument
321 libopenjpeg_decode_frame(AVCodecContext *avctx, AVFrame *picture, int *got_frame, AVPacket *avpkt) libopenjpeg_decode_frame() argument
[all...]
H A Davpicture.c37 int avpicture_fill(AVPicture *picture, const uint8_t *ptr, in avpicture_fill() argument
40 return av_image_fill_arrays(picture->data, picture->linesize, in avpicture_fill()
57 int avpicture_alloc(AVPicture *picture, in avpicture_alloc() argument
60 int ret = av_image_alloc(picture->data, picture->linesize, in avpicture_alloc()
63 memset(picture, 0, sizeof(AVPicture)); in avpicture_alloc()
70 void avpicture_free(AVPicture *picture) in avpicture_free() argument
72 av_freep(&picture->data[0]); in avpicture_free()
H A Dlibaomdec.c159 static int aom_decode(AVCodecContext *avctx, AVFrame *picture, in aom_decode() argument
199 if ((ret = ff_get_buffer(avctx, picture, 0)) < 0) in aom_decode()
207 picture->key_frame = !!(flags & AOM_FRAME_IS_KEY); in aom_decode()
209 picture->pict_type = AV_PICTURE_TYPE_I; in aom_decode()
211 picture->pict_type = AV_PICTURE_TYPE_SP; in aom_decode()
213 picture->pict_type = AV_PICTURE_TYPE_P; in aom_decode()
218 av_reduce(&picture->sample_aspect_ratio.num, in aom_decode()
219 &picture->sample_aspect_ratio.den, in aom_decode()
220 picture->height * img->r_w, in aom_decode()
221 picture in aom_decode()
[all...]
H A Dmpegvideo_dec.c105 av_assert0(!s->picture || s->picture != s1->picture); in ff_mpeg_update_thread_context()
106 if (s->picture) in ff_mpeg_update_thread_context()
108 ff_mpeg_unref_picture(s->avctx, &s->picture[i]); in ff_mpeg_update_thread_context()
109 if (s1->picture && s1->picture[i].f->buf[0] && in ff_mpeg_update_thread_context()
110 (ret = ff_mpeg_ref_picture(s->avctx, &s->picture[i], &s1->picture[i])) < 0) in ff_mpeg_update_thread_context()
130 ((pic && pic >= old_ctx->picture in ff_mpeg_update_thread_context()
[all...]
H A Dpsd.c46 AVFrame *picture; member
104 "'-strict %d' if you want to try to decode the picture.\n", in decode_header()
113 "'-strict %d' if you want to try to decode the picture.\n", in decode_header()
292 static int decode_frame(AVCodecContext *avctx, AVFrame *picture, in decode_frame() argument
420 if ((ret = ff_get_buffer(avctx, picture, 0)) < 0) in decode_frame()
423 /* decode picture if need */ in decode_frame()
447 ptr = picture->data[0]; in decode_frame()
451 index_out = y * picture->linesize[0] + x * s->channel_count * s->pixel_size + c * s->pixel_size; in decode_frame()
460 uint8_t *dst[4] = { picture->data[0], picture in decode_frame()
[all...]
H A Dlibxvid.c100 const AVFrame *picture, int *got_packet);
678 AVFrame *picture; in xvid_encode_init() local
686 picture = av_frame_alloc(); in xvid_encode_init()
687 if (!picture) { in xvid_encode_init()
695 av_frame_free(&picture); in xvid_encode_init()
701 picture->data[0] = av_malloc(size + size / 2); in xvid_encode_init()
702 if (!picture->data[0]) { in xvid_encode_init()
704 av_frame_free(&picture); in xvid_encode_init()
707 picture->data[1] = picture in xvid_encode_init()
730 xvid_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *picture, int *got_packet) xvid_encode_frame() argument
[all...]
H A Dmxpegdec.c35 AVFrame *picture[2]; /* pictures array */ member
36 int picture_index; /* index of current picture */
43 unsigned mb_width, mb_height; /* size of picture in MB's from MXM header */
56 av_frame_free(&s->picture[i]); in mxpeg_decode_end()
69 s->picture[0] = av_frame_alloc(); in mxpeg_decode_init()
70 s->picture[1] = av_frame_alloc(); in mxpeg_decode_init()
71 if (!s->picture[0] || !s->picture[1]) in mxpeg_decode_init()
74 s->jpg.picture_ptr = s->picture[0]; in mxpeg_decode_init()
174 "Dimensions of current and reference picture mismatc in mxpeg_check_dimensions()
[all...]
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_video_enc_h264.cpp34 pipe_h264_enc_picture_desc *picture) in d3d12_video_encoder_update_current_rate_control_h264()
40 picture->rate_ctrl[0].frame_rate_num; in d3d12_video_encoder_update_current_rate_control_h264()
42 picture->rate_ctrl[0].frame_rate_den; in d3d12_video_encoder_update_current_rate_control_h264()
45 switch (picture->rate_ctrl[0].rate_ctrl_method) { in d3d12_video_encoder_update_current_rate_control_h264()
51 picture->rate_ctrl[0].target_bitrate; in d3d12_video_encoder_update_current_rate_control_h264()
53 picture->rate_ctrl[0].peak_bitrate; in d3d12_video_encoder_update_current_rate_control_h264()
60 picture->rate_ctrl[0].target_bitrate; in d3d12_video_encoder_update_current_rate_control_h264()
80 .ConstantQP_FullIntracodedFrame = picture->quant_i_frames; in d3d12_video_encoder_update_current_rate_control_h264()
82 .ConstantQP_InterPredictedFrame_PrevRefOnly = picture->quant_p_frames; in d3d12_video_encoder_update_current_rate_control_h264()
84 .ConstantQP_InterPredictedFrame_BiDirectionalRef = picture in d3d12_video_encoder_update_current_rate_control_h264()
33 d3d12_video_encoder_update_current_rate_control_h264(struct d3d12_video_encoder *pD3D12Enc, pipe_h264_enc_picture_desc *picture) d3d12_video_encoder_update_current_rate_control_h264() argument
108 d3d12_video_encoder_update_current_frame_pic_params_info_h264(struct d3d12_video_encoder *pD3D12Enc, struct pipe_video_buffer *srcTexture, struct pipe_picture_desc *picture, D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA &picParams, bool &bUsedAsReference) d3d12_video_encoder_update_current_frame_pic_params_info_h264() argument
175 d3d12_video_encoder_negotiate_current_h264_slices_configuration(struct d3d12_video_encoder *pD3D12Enc, pipe_h264_enc_picture_desc *picture) d3d12_video_encoder_negotiate_current_h264_slices_configuration() argument
285 d3d12_video_encoder_convert_h264_motion_configuration(struct d3d12_video_encoder *pD3D12Enc, pipe_h264_enc_picture_desc *picture) d3d12_video_encoder_convert_h264_motion_configuration() argument
476 d3d12_video_encoder_update_h264_gop_configuration(struct d3d12_video_encoder *pD3D12Enc, pipe_h264_enc_picture_desc *picture) d3d12_video_encoder_update_h264_gop_configuration() argument
[all...]
H A Dd3d12_video_enc_h264.h32 struct pipe_picture_desc * picture);
35 pipe_h264_enc_picture_desc *picture);
38 pipe_h264_enc_picture_desc *picture);
41 pipe_h264_enc_picture_desc *picture);
44 pipe_h264_enc_picture_desc *picture);
49 pipe_h264_enc_picture_desc *picture);
53 struct pipe_picture_desc * picture,
/third_party/skia/tests/
H A DPictureShaderTest.cpp26 sk_sp<SkPicture> picture = makePicture(); in DEF_TEST() local
27 REPORTER_ASSERT(reporter, picture->unique()); in DEF_TEST()
33 paint.setShader(picture->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in DEF_TEST()
38 REPORTER_ASSERT(reporter, !picture->unique()); in DEF_TEST()
41 // Draw another picture shader to have a chance to purge. in DEF_TEST()
51 REPORTER_ASSERT(reporter, picture->unique()); in DEF_TEST()
55 * Check caching of picture-shaders
58 * - after deleting the picture, the cache entry is purged
61 auto picture = []() { in DEF_TEST() local
66 REPORTER_ASSERT(reporter, picture in DEF_TEST()
[all...]
/third_party/skia/tools/
H A DDDLTileHelper.cpp45 void DDLTileHelper::TileData::createDDL(const SkPicture* picture) { in createDDL() argument
46 SkASSERT(!fDisplayList && picture); in createDDL()
61 // Note: in this use case we only render a picture to the deferred canvas in createDDL()
63 recordingCanvas->drawPicture(picture); in createDDL()
133 const SkPicture* picture) { in drawSKPDirectly()
134 SkASSERT(!fDisplayList && !fTileSurface && picture); in drawSKPDirectly()
144 tileCanvas->drawPicture(picture); in drawSKPDirectly()
261 void DDLTileHelper::createDDLsInParallel(SkPicture* picture) { in createDDLsInParallel() argument
264 fTiles[i].createDDL(picture); in createDDLsInParallel()
271 fTiles[i].createDDL(picture); in createDDLsInParallel()
132 drawSKPDirectly(GrDirectContext* dContext, const SkPicture* picture) drawSKPDirectly() argument
292 kickOffThreadedWork(SkTaskGroup* recordingTaskGroup, SkTaskGroup* gpuTaskGroup, GrDirectContext* dContext, SkPicture* picture) kickOffThreadedWork() argument
322 interleaveDDLCreationAndDraw(GrDirectContext* dContext, SkPicture* picture) interleaveDDLCreationAndDraw() argument
330 drawAllTilesDirectly(GrDirectContext* dContext, SkPicture* picture) drawAllTilesDirectly() argument
[all...]
/third_party/skia/docs/examples/
H A DPicture_MakePlaceholder.cpp9 void onDrawPicture(const SkPicture* picture, const SkMatrix* , in REG_FIDDLE()
11 const SkRect rect = picture->cullRect(); in REG_FIDDLE()
24 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture(); in REG_FIDDLE() local
26 myCanvas.drawPicture(picture); in REG_FIDDLE()
/third_party/mesa3d/src/gallium/include/pipe/
H A Dp_video_codec.h69 struct pipe_picture_desc *picture);
76 struct pipe_picture_desc *picture,
85 struct pipe_picture_desc *picture,
110 struct pipe_picture_desc *picture);

Completed in 16 milliseconds

1234567